Skip to content

Connect Gemini CLI

Use the URL shown in AI Connections if it differs from the hosted example.

Merge this entry into ~/.gemini/settings.json:

{
"mcpServers": {
"goodbrief": {
"httpUrl": "https://api-app.goodbrief.co/mcp"
}
}
}

Restart the CLI and use /mcp auth goodbrief when prompted. The httpUrl key selects the HTTP transport. The API accepts the CLI’s loopback /oauth/callback and compares the literal registered host and suffix when matching a changed loopback port.

Compatibility. This should work per the server code and client documentation. Live-tested status is pending for this setup.

With article reads granted, ask for one item from list_tags. If discovery fails, check the connection. Server implementation api/src/lib/mcpAuth.ts and api/src/routes/mcp.ts. Gemini CLI configuration and OAuth