Skip to content

Codex

Codex connects to Upstream over Streamable HTTP and signs in with OAuth. The CLI and the IDE extension share the same configuration. You don’t need a token.

  1. Add Upstream:

    Terminal window
    codex mcp add upstream --url https://api.upstream.do/mcp
  2. Sign in:

    Terminal window
    codex mcp login upstream
  3. Codex opens Upstream in your browser. Sign in, choose the account to connect, and select Allow.

The command above adds this entry to ~/.codex/config.toml. You can also add it by hand:

[mcp_servers.upstream]
url = "https://api.upstream.do/mcp"

Then run codex mcp login upstream to sign in.

Run codex mcp list to check that upstream is listed, then ask Codex:

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