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).
- Open (or create) the file
~/.codex/config.tomlin any text editor. - Add the following section:
[mcp_servers.cnu] transport = "http" url = "https://captainsnavigator.com/mcp"
- 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.
Once connected, try asking:
- "What ENGL courses satisfy the liberal learning core?" — Find classes that fulfill general education requirements.
- "Show me all sections of PHYS 201 for the spring semester." — Get section times, instructors, and seat counts.
- "What are the requirements for a History major?" — See every course you need to graduate with that major.
- "Are there any club events coming up this month?" — Check the campus events calendar.
- "Who are the professors in the Philosophy department?" — Browse faculty by department.
| 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.