Gemini CLI
Updated 2026-11-24
Connect
gemini mcp add --transport http headstream https://headstream.app/api/mcp
Then, inside Gemini CLI, run /mcp auth headstream. Your browser opens headstream.app, where you pick the organization and approve. Access is read-only unless you tick the box that lets it make changes.
To use a key instead, create one under Organization, in the API and MCP card, and add it as an Authorization: Bearer hsk_YOUR_KEY header in ~/.gemini/settings.json.
What to ask
- "Summarize this week's traffic and revenue for my site."
- "Which referrers sent visitors who paid?"
- "Is tracking working on every page?"
The full list of tools is in the MCP docs.