Agent examples

Connect Gemini CLI

Set up Gemini CLI with Jot MCP and OAuth.

Before you start

A Jot account and access to Gemini CLI. Browser access is required for OAuth.

Use the Gemini CLI MCP guide to connect through HTTP and OAuth.

Gemini CLI and Gemini Apps are separate clients. The Gemini Apps account restrictions do not describe Gemini CLI access.

Add Jot

  1. Open ~/.gemini/settings.json.
  2. Merge this entry into mcpServers:
{
  "mcpServers": {
    "jot": {
      "httpUrl": "https://jot.winnersight.ai/mcp/",
      "oauth": {
        "enabled": true,
        "scopes": ["jot", "offline_access"]
      }
    }
  }
}

Keep your existing settings and server entries.

  1. Save the file.
  2. Start Gemini CLI.
  3. Run this command inside Gemini CLI:
/mcp auth jot
  1. Complete Jot authorization in the browser.
  2. Run /mcp list to check the connection.

Troubleshooting

Use httpUrl for Jot's Streamable HTTP endpoint. The url setting selects SSE.

Complete browser authorization on the machine that runs Gemini CLI. Remote terminals need a working browser callback.

Check the connection

Use the read-only check prompt. This client example still needs a Jot connection test.

To stop access, revoke the connection.