This guide walks you through connecting Captain's Navigator to the Gemini 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).
Note: The Gemini web app and mobile app do not currently support custom MCP servers. This guide covers Gemini CLI only.
- Open (or create) the file
~/.gemini/settings.jsonin any text editor. - Add the following to the
mcpServerssection (create the section if it doesn't exist):If you already have other MCP servers configured, just add the{ "mcpServers": { "cnu": { "transport": "http", "url": "https://captainsnavigator.com/mcp" } } }"cnu"entry alongside them. - Save the file.
The next time Gemini CLI needs a Captain's Navigator tool, it will open a browser window for you to sign in with your @cnu.edu Google account.
Once connected, try asking:
- "What CS electives are available next semester?" — Browse elective options for your major.
- "Walk me through the requirements for a double major in Math and Physics." — Get a detailed breakdown of what you need.
- "Who teaches organic chemistry and when are their office hours?" — Look up instructor details.
- "What campus events are happening this Friday?" — Check the events calendar for a specific day.
- "Help me plan a fall schedule as a sophomore Accounting major with no classes before 10 AM." — Get a personalized schedule recommendation.
| 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. |
| Google sign-in doesn't appear | Allow pop-ups in your browser and try again. |
| "Access denied" after signing in | You must use your @cnu.edu email. Personal Gmail accounts will not work. |
| Gemini CLI shows "unauthorized" | Remove the "cnu" entry from ~/.gemini/settings.json, save, re-add it, and sign in again when prompted. |
If you're still stuck, visit captainsnavigator.com for additional help or to report an issue.