Connect Gemini to your brain
Gemini connects to your brain through Gemini CLI — Google's terminal
agent. This is the official path for Gemini + MCP today.
Verified against official Gemini CLI docs · October 2026 ·
What you need
- Gemini CLI installed (
npm install -g @google/gemini-cli) and signed in. - Your brain's MCP endpoint and MCP key — both on the Connect your AI page in your panel.
Connect it
One command (the header flag carries your key):
gemini mcp add --transport http --scope user --header "Authorization: Bearer your brain's API key (shown in your panel)" everwheel your brain's MCP endpoint (shown in your panel)
--scope user saves it to ~/.gemini/settings.json so every project hasit. Without it, the config lands in the current project's
.gemini/settings.json instead.Prefer editing the file yourself? Add this under
mcpServers in~/.gemini/settings.json:{
"mcpServers": {
"everwheel": {
"httpUrl": "your brain's MCP endpoint (shown in your panel)",
"headers": { "Authorization": "Bearer your brain's API key (shown in your panel)" }
}
}
}Verify it works
- Inside a Gemini CLI session run
/mcp— everwheel should list as CONNECTED with its tools. - From your shell:
gemini mcp listshows✓ everwheel: … (http) - Connected.
If it fails
- 401 or "authentication refused" — the header is malformed. It must be exactly
Authorization: Bearer <key>with a space after Bearer. - DISCONNECTED in /mcp — check the endpoint includes
/mcpat the end, then restart Gemini CLI. - Config not picked up — confirm which scope you used:
gemini mcp listreads from both scopes, but a project-scope config only applies inside that project folder.
What to ask first
- "List the MCP tools you have from everwheel, then search my brain for X."
- "What do my notes say about the upcoming launch?"
- "Pull everything my brain knows about customer Y into a summary."