Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 2.3 KB

File metadata and controls

53 lines (38 loc) · 2.3 KB

Setting Up Captain's Navigator with Gemini CLI

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.


Gemini CLI

  1. Open (or create) the file ~/.gemini/settings.json in any text editor.
  2. Add the following to the mcpServers section (create the section if it doesn't exist):
    {
      "mcpServers": {
        "cnu": {
          "transport": "http",
          "url": "https://captainsnavigator.com/mcp"
        }
      }
    }
    If you already have other MCP servers configured, just add the "cnu" entry alongside them.
  3. 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.


Example Queries to Try

Once connected, try asking:

  1. "What CS electives are available next semester?" — Browse elective options for your major.
  2. "Walk me through the requirements for a double major in Math and Physics." — Get a detailed breakdown of what you need.
  3. "Who teaches organic chemistry and when are their office hours?" — Look up instructor details.
  4. "What campus events are happening this Friday?" — Check the events calendar for a specific day.
  5. "Help me plan a fall schedule as a sophomore Accounting major with no classes before 10 AM." — Get a personalized schedule recommendation.

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.
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.