Skip to content

Claude Code

Claude Code connects to Upstream over HTTP and signs in with OAuth. You don’t need a token.

  1. Add Upstream for all your projects:

    Terminal window
    claude mcp add --transport http --scope user upstream https://api.upstream.do/mcp

    Leave out --scope user to add it only to the current project.

  2. In Claude Code, run /mcp, select upstream, and choose Authenticate.

  3. Claude Code opens Upstream in your browser. Sign in, choose the account to connect, and select Allow.

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.

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.

  • “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”