You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
On trying to add a new MCP server to config.toml inside the .codex folder as instructed in the documentation, codex is unable to recognize the MCP server and shows the following log when starting up: MCP client for zep-docs failed to start: No such file or directory (os error 2)
This only happens for servers like zep that make use of sse as their transport and have url but no commands or args like stdio or http servers that run via npm/npx/docker, etc.
What is the expected behavior?
Codex, like any other coding agent (Claude, copilot, etc) should be able to recognize SSE based mcp servers when configured in config.toml
What do you see instead?
Additional information
This same server works when added to gemini-cli, copilot, and cline.
Reacted by rodalpho, David Torbeck and deathraceDj
Defines the list of MCP servers that Codex can consult for tool use. Currently, only servers that are launched by executing a program that communicate over stdio are supported. For servers that use the SSE transport, consider an adapter like mcp-proxy.
@aysuio Hopefully, they will support HTTP and SSE soon, till then, you can try mcp-proxy and mcm-remote might be a good workaround.
UPDATE:
During my research, I stumbled upon Docker MCP Toolkit. It allows you to run lots of remote MCP as through their local docker cli -> docker (docker mcp gateway run) -> mcp servers.
@wiiiimm I have been using Docker MCP with Claude Code for a hot minute now but have never been able to get it to work with Codex. I have tried every method different AI have suggested and just tried the method you showed as well but still nothing. What version of Codex are you running? I am on 23 and am starting to think it might be a bug.
MCP client for MCP_DOCKER failed to start: request timed out
In commit: 014562e
it is added:
"feat: enable Streamable HTTP MCP servers & lazy loading of tools"
by an OpenAI dev
so it seems like it will be soon supported naturally
Edit 9/11/2025 the pull request was closed without being merged
Activity
nerdneilsfield commentedon Aug 15, 2025
I have a relative issue, when I use the http MCP, it doesnt work!
When I start
codex, it shows:aysuio commentedon Aug 16, 2025
same issue. Does anyone have workaround currently? I see some repo having local mcp, but not sure if they are trustworthy
wiiiimm commentedon Aug 19, 2025
According to https://github.com/openai/codex/blob/main/codex-rs/config.md#mcp_servers, only local servers
@aysuio Hopefully, they will support HTTP and SSE soon, till then, you can try
mcp-proxyandmcm-remotemight be a good workaround.UPDATE:
During my research, I stumbled upon Docker MCP Toolkit. It allows you to run lots of remote MCP as through their local docker cli -> docker (
docker mcp gateway run) -> mcp servers.With Docker's MCP Toolkit and
mcp-remote, I am able to call the GitHub and Linear via MCP:cpjet64 commentedon Aug 26, 2025
@wiiiimm I have been using Docker MCP with Claude Code for a hot minute now but have never been able to get it to work with Codex. I have tried every method different AI have suggested and just tried the method you showed as well but still nothing. What version of Codex are you running? I am on 23 and am starting to think it might be a bug.
MCP client for
MCP_DOCKERfailed to start: request timed outArtein commentedon Aug 27, 2025
@Shaurya-Sethi, here is how Codex added Attlasian as mcp. Hope it helps
/.codex/config.toml:25May2025 commentedon Sep 3, 2025
In commit:
014562e
it is added:
"feat: enable Streamable HTTP MCP servers & lazy loading of tools"
by an OpenAI dev
so it seems like it will be soon supported naturally
Edit 9/11/2025 the pull request was closed without being merged
gpeal commentedon Sep 3, 2025
Duplicate of #2129