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.
-
Add Upstream:
Terminal window codex mcp add upstream --url https://api.upstream.do/mcp -
Sign in:
Terminal window codex mcp login upstream -
Codex opens Upstream in your browser. Sign in, choose the account to connect, and select Allow.
Manual setup
Section titled “Manual setup”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.
Verify it works
Section titled “Verify it works”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.
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”