01 · Why connect
Gemini CLI supports stdio, SSE, and Streamable HTTP via gemini mcp add.
Use HTTP/streamable-http transport. Settings live in ~/.gemini/settings.json. The Make0 MCP URL is https://make0.ai/mcp. Gemini CLI can sign in with OAuth on any plan, or use an API key on Pro and Max. Either way, you pick which brains it can use.
02 · How to connect Gemini CLI
Install Make0 Brain in 4 steps
- 01
Install Gemini CLI
Install Gemini CLI and authenticate.
- 02
Add Make0
Run gemini mcp add --transport http make0-brain https://make0.ai/mcp.
- 03
OAuth
Complete Make0 sign-in when prompted.
- 04
Verify
List MCP servers and ask Gemini to search your Brain.
03 · Gemini CLI
Copy this into Gemini CLI
Use HTTP or Streamable HTTP. Do not wrap Make0 as a local stdio command. This config signs in with OAuth.
gemini mcp add --transport http make0-brain https://make0.ai/mcp04 · API key
Or connect with an API key
On Pro and Max you can skip the sign-in and use an API key. In Make0, open Connect Brain via MCP, choose API key MCP, and create a key with the brains and access it needs. Pass the key as a header when you add the server.
Gemini CLI
gemini mcp add --transport http make0-brain https://make0.ai/mcp \
--header "Authorization: Bearer YOUR_MAKE0_API_KEY"Replace YOUR_MAKE0_API_KEY with your key. Make0 shows a key once, so keep it somewhere safe. You can revoke it any time in Settings.
05 · System instruction
Tell the agent to prefer Make0 Brain
Paste this into Gemini CLI’s system instructions or custom instructions so it reads and writes memory through Make0 instead of its own store.
Make0 Brain is my source of truth for durable memory. Always search it before answering about me, my work, people, preferences, or past decisions. Save lasting facts and decisions to Brain. Never guess or invent memories. Use Brain exclusively for durable memory.
Questions
Connecting Gemini CLI
How do I connect Make0 Brain to Gemini CLI?+
Add Make0 as a remote HTTP MCP server using https://make0.ai/mcp. In the Make0 connect dialog, choose OAuth and Gemini CLI will open a sign-in so you can pick which brains it can use. On Pro or Max, if Gemini CLI accepts custom headers, you can choose API key MCP instead and send the key to this URL as Authorization: Bearer.
What is the Make0 MCP URL?+
The production Make0 Brain MCP endpoint is https://make0.ai/mcp. Use HTTP or Streamable HTTP if the client asks for a transport. Server name: make0-brain.
Does Make0 Brain MCP use OAuth?+
Yes. Compatible clients discover OAuth from the MCP server, you sign in to Make0, and you grant read or write access to specific brains. Two-factor authentication may be required.
Can I use an API key instead of OAuth?+
On Pro or Max, yes, for apps that let you set an HTTP header. Open Connect Brain via MCP, choose API key MCP, and create a key for specific brains or all brains. Send it to https://make0.ai/mcp as Authorization: Bearer. OAuth works on every plan; Free and Lite use OAuth.
Official Gemini CLI MCP docs: geminicli.com/docs/tools/mcp-server/
