Support remote MCP servers
Resolved 💬 16 comments Opened Sep 16, 2025 by nick-youngblut Closed Jun 12, 2026
What feature would you like to see?
Trying to use a remote MCP server, such as the GitHub MCP results in the following error:
Error loading configuration: missing field `command`
command is not needed for remote MCP servers, so this shows that remote MCP servers are not supported, which is a big gap in capabilities for codex cli.
It would also be helpful to include an example in the MCP docs on how to configure a remote MCP server in the toml (why toml instead of json???).
Are you interested in implementing this feature?
Remote MCP servers are becoming more commonplace, as they should be
Additional information
_No response_
16 Comments
The following works for me
@samarth-gupta can you provide a working example for an actual remote MCP, such as the official github MCP?
@nick-youngblut DeepWiki is a very popular remote MCP. It supports sse and http transport.
https://docs.devin.ai/work-with-devin/deepwiki-mcp#deepwiki-mcp-server
From the mcp-remote github.
I'm unwilling to use experimental NPM packages in light of the recent supply chain attacks.
+1, not having out-of-the-box support for remote mcp servers e.g. streamable-http is a huge gap.
Codex should support remote mcp servers natively without relying on external libraries or scripts.
Most of the servers we're working on are now remote HTTP servers. Hopefully this is added soon!
Also seeking native support for remote mcp servers. Thank you!
yes please i'm going crazy trying to find/build workarounds. also https://github.com/openai/codex/issues/3666 would be nice.
https://github.com/openai/codex/commit/3a1be084f911badd12a1fd1c1c6ca1b6c14eaa03
looks like something is brewing
Wild that this isn't supported yet—throwing in my +1
Support for remote MCP is available at some level now: https://github.com/openai/codex/blob/main/docs/config.md#streamable-http
in ~/.codex/settings.toml I can now do this and it works
Is this still not supported yet? I tried adding a streamable HTTP MCP with OAuth as an authentication method. It's odd that it connects properly, but doesn't display any supported tools. Anyone facing the same issue?
Some MCP servers (e.g., Asana MCP v2) require specifying a client ID and client secret and do not support dynamic client registration (DCR). I don’t think Codex currently provides a way to configure this (please correct me if I’m wrong).
As a workaround, I’m proxying the MCP connection via mcp-remote.
client-info.json:It would be great to have an official method in Codex to support this use case.
As of 2026-03-11, Codex supports remote MCP servers: https://developers.openai.com/codex/mcp#supported-mcp-features
However, Codex does _not_ support the Client ID Metadata Documents client registration mechanism. This is the issue that @rayjasson98 brought up above, and is also a blocker for the Slack MCP:
at https://apilabs.ai we are publishing remote MCP server and would like to integrate with Codex like claude desktop.
Closing as resolved: remote MCP servers are supported. The remaining OAuth registration limitation is tracked in #13200.