Gemini CLI
Gemini CLI connects to Upstream over Streamable HTTP and signs in with OAuth. You don’t need a token.
-
Add Upstream for your user:
Terminal window gemini mcp add --transport http --scope user upstream https://api.upstream.do/mcpLeave out
--scope userto add it only to the current project. -
In Gemini CLI, run:
/mcp auth upstream -
Gemini CLI opens Upstream in your browser. Sign in, choose the account to connect, and select Allow.
Manual setup
Section titled “Manual setup”Add Upstream to ~/.gemini/settings.json. Gemini CLI uses httpUrl, not url, for Streamable HTTP servers:
{ "mcpServers": { "upstream": { "httpUrl": "https://api.upstream.do/mcp" } }}Then run /mcp auth upstream to sign in.
Verify it works
Section titled “Verify it works”Run /mcp to check that upstream is connected, then ask:
“Use the Upstream MCP to show me my inbox”
You should see tool calls to list-inbox-tabs and get-inbox-tab-threads.
Try these prompts
Section titled “Try these prompts”- “Show me what needs my reply”
- “Search my inbox for the Q3 proposal”
- “Summarize that long thread from Jane”
- “Draft a reply to the investor update”