Claude Code
Claude Code connects to Upstream over HTTP and signs in with OAuth. You don’t need a token.
-
Add Upstream for all your projects:
Terminal window claude mcp add --transport http --scope user upstream https://api.upstream.do/mcpLeave out
--scope userto add it only to the current project. -
In Claude Code, run
/mcp, select upstream, and choose Authenticate. -
Claude Code opens Upstream in your browser. Sign in, choose the account to connect, and select Allow.
Share with a project
Section titled “Share with a project”To share the server with everyone working in a repository, add it to .mcp.json in the project root. The "type": "http" field is required:
{ "mcpServers": { "upstream": { "type": "http", "url": "https://api.upstream.do/mcp" } }}Each person signs in with their own Upstream account through /mcp. The file holds no secrets, so it’s safe to commit.
Verify it works
Section titled “Verify it works”Run claude mcp list to check that upstream is connected, then ask Claude Code:
“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”
- “Snooze this thread until Monday at 9am”
- “Create a rule to auto-label emails from GitHub”