Connect Gryz MCP in Gemini CLI
Add the Gryz MCP server to Google Gemini CLI with one command and OAuth sign-in, so Gemini can use your Gryz memory, documents and shared context.
Jacob Cansler · Maker of Gryz
Updated Reviewed by Jacob Cansler4 minBeginner
Before you start
Connect Gryz and Gemini CLI can save and recall what you decided, read and publish your Gryz documents, and work from the same context as your other AI tools, like Claude Code, Codex and Cursor.
You need:
- A free Gryz account (sign up)
- Gemini CLI installed
- A web browser on the same computer, for sign-in
- The Gryz MCP server URL (always use
www):
https://www.gryz.ai/api/mcpStep 1: Add the Gryz server
gemini mcp add --transport http -s user gryz https://www.gryz.ai/api/mcp--transport http is the streamable HTTP transport Gryz uses. -s user adds Gryz for every project. Leave it out to add Gryz to the current project only.
Prefer to edit the file? Add this to ~/.gemini/settings.json. Use httpUrl, not url: url is for the older SSE transport.
{
"mcpServers": {
"gryz": {
"httpUrl": "https://www.gryz.ai/api/mcp"
}
}
}Step 2: Sign in to Gryz
Start Gemini CLI, then run:
/mcp auth gryz- Your browser opens to Gryz
- Sign in with Google, GitHub, an email code or a password
- Select Allow
- Go back to Gemini CLI
No API key is needed. Gemini CLI keeps the sign-in in ~/.gemini/mcp-oauth-tokens.json and refreshes it on its own. If it ever stops working, run /mcp auth gryz again.
On the Allow screen, Gemini CLI shows as Not verified. That is expected: only apps Gryz has checked show Verified by Gryz.
Step 3: Confirm the connection
In Gemini CLI:
/mcp listOr in your terminal:
gemini mcp listgryz should show as connected, with its tools listed.
Step 4: Make it automatic
Ask Gemini: Set up Gryz. Gryz offers to add a short note to ~/.gemini/GEMINI.md that tells Gemini to check Gryz when you ask about your work and to save your decisions. Gemini shows you the change and waits for your approval before it writes anything. See Make it automatic for what the note says.
Step 5: Verify with a prompt
List my Gryz documentsRemember that this repo uses pnpm, not npmWhat did we decide about the database schema?
Example prompts
Save this plan to Gryz as a private documentRecall my open decisions for this project from Gryz before you startUpdate my Gryz project doc with what we changed today
Troubleshooting
| Issue | Fix |
|---|---|
gryz shows as disconnected | Run /mcp auth gryz and finish sign-in in the browser |
| No browser opens | Sign-in needs a local browser. Run Gemini CLI on your own computer, not over SSH |
| Connection failed | Check the URL uses www and has no trailing slash. The bare domain redirects and drops sign-in |
| Tools not showing | Check settings.json uses httpUrl, not url, then restart Gemini CLI |
Duplicate gryz entry | gemini mcp remove gryz, then add it again |
Gemini CLI's own reference is its MCP servers guide.
Reference
For Claude, ChatGPT, Cursor, Codex and other apps, plus the tools table and API key sign-in, see the MCP setup reference. Using Google Antigravity instead? See Connect in Antigravity.
Related reading
Next steps
- Connect Gryz MCP in CursorComplete written walkthrough for adding the Gryz MCP server to Cursor with OAuth, copyable config, troubleshooting, and an optional video demo.
- Connect Gryz MCP in CodexComplete written walkthrough for adding the Gryz MCP server to OpenAI Codex with OAuth, copyable CLI and TOML, troubleshooting, and an optional video demo.
Connect Gryz MCP in Perplexity
Add Gryz to Perplexity as a custom remote MCP connector with OAuth sign-in, so Perplexity can use your Gryz memory, documents and shared context.
Publish an SVG without an account
Paste or upload SVG with Quick Publish, preview it, and get a shareable public link as an anonymous visitor, with no sign-in required.