Connect Mochi to Gemini
You can connect Mochi to the Gemini app in your browser or to Gemini CLI in your terminal. New to Mochi MCP? Start with the overview.
Server URL: https://mcp.themochi.app/mcp
Gemini app (gemini.google.com)
What you need: Google currently limits custom apps to:
- a personal Google Account (work and school accounts are excluded);
- people 18 or over in the US, using Gemini in English;
- Gemini Apps activity (Keep Activity) switched on.
You add the app on the web. Once added, it also works in the Gemini mobile app.
- On a computer, go to gemini.google.com and open Settings → Connected Apps.
- Under Custom apps, click Add a custom app.
- Enter
https://mcp.themochi.app/mcpand click Next. - Follow the on-screen steps. When the Mochi sign-in page opens, sign in, pick your workspace and approve.
To use it, type @ in a chat, pick Mochi and ask your question.
Google's help page doesn't describe the sign-in screens in detail, and some regions show this feature under a different name. If you don't see Custom apps, your account isn't eligible yet. Use Gemini CLI below instead.
Gemini CLI
What you need: Gemini CLI on a computer with a browser. Sign-in needs a browser on the same machine, so it won't work over SSH or in a container.
Add Mochi. Either run:
bashgemini mcp add --transport http mochi https://mcp.themochi.app/mcpor add this to
~/.gemini/settings.jsonyourself:json{ "mcpServers": { "mochi": { "httpUrl": "https://mcp.themochi.app/mcp" } } }Use
httpUrl, noturl:urlis for the older SSE transport.Start
geminiand sign in:/mcp auth mochiA browser opens. Sign in to Mochi, pick your workspace and approve.
Check it worked:
/mcpshows Mochi as CONNECTED.
Gemini CLI keeps your sign-in in ~/.gemini/mcp-oauth-tokens.json and refreshes it automatically.
Google has replaced Gemini CLI with Antigravity CLI for unpaid and Google One users. We haven't confirmed whether Antigravity CLI uses the same settings file.
Troubleshooting
| Problem | Fix |
|---|---|
| No "Custom apps" in Gemini settings | Your account isn't eligible (personal US account, 18+, English, Keep Activity on). |
/mcp auth doesn't open a browser | You're on a remote or headless machine. Run Gemini CLI locally. |
| Mochi shows as disconnected | Run /mcp auth mochi again. |
Checked against Google's documentation on 26 November 2026: custom apps in Gemini and Gemini CLI MCP servers.
Feature reference