Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.91 KB

File metadata and controls

45 lines (31 loc) · 1.91 KB

Setting Up Captain's Navigator with Codex CLI

This guide walks you through connecting Captain's Navigator to OpenAI's Codex CLI so you can ask AI questions about CNU courses, majors, faculty, events, and more.

You will need: A CNU Google account (your @cnu.edu email).


Codex CLI

  1. Open (or create) the file ~/.codex/config.toml in any text editor.
  2. Add the following section:
    [mcp_servers.cnu]
    transport = "http"
    url = "https://captainsnavigator.com/mcp"
  3. Save the file.

The next time you run Codex, it will prompt you to sign in with your @cnu.edu Google account when a Captain's Navigator tool is used.


Example Queries to Try

Once connected, try asking:

  1. "What ENGL courses satisfy the liberal learning core?" — Find classes that fulfill general education requirements.
  2. "Show me all sections of PHYS 201 for the spring semester." — Get section times, instructors, and seat counts.
  3. "What are the requirements for a History major?" — See every course you need to graduate with that major.
  4. "Are there any club events coming up this month?" — Check the campus events calendar.
  5. "Who are the professors in the Philosophy department?" — Browse faculty by department.

Troubleshooting

Problem Fix
"Server not found" or connection error Make sure the URL is exactly https://captainsnavigator.com/mcp with no trailing slash or extra spaces.
"unauthorized" error Delete the [mcp_servers.cnu] section from ~/.codex/config.toml, save, re-add it, and sign in again.
Google sign-in doesn't appear Allow pop-ups in your browser settings and try again.
"Access denied" after signing in You must use your @cnu.edu email. Personal Gmail accounts will not work.

If you're still stuck, visit captainsnavigator.com for additional help or to report an issue.