Add it from the command line
Start gemini and run /mcp to see the server status and its tools. Gemini CLI
discovers the OAuth endpoints, opens your browser to sign in, and stores the
tokens in ~/.gemini/mcp-oauth-tokens.json.
With an API key instead of OAuth:
Or edit settings.json
Add the server to ~/.gemini/settings.json (global) or .gemini/settings.json
(this project):
Use httpUrl for the Rings server. The url key means SSE transport, and
Rings serves Streamable HTTP.
To pass an API key here instead:
Notes
/mcp inside a session lists connection state and every discovered tool —
the quickest way to confirm the connector works.
- Gemini CLI asks before each tool call. Setting
"trust": true on the server
skips those prompts; leave it off if the agent can perform writes.