SSE based MCP servers are non-configurable
What version of Codex is running?
0.19.0
Which model were you using?
-
What platform is your computer?
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?
<img width="769" height="295" alt="Image" src="https://github.com/user-attachments/assets/370a5614-1c1f-4df2-86cf-cec5356ddd72" />
Additional information
This same server works when added to gemini-cli, copilot, and cline.
7 Comments
I have a relative issue, when I use the http MCP, it doesnt work!
When I start
codex, it shows:same issue. Does anyone have workaround currently? I see some repo having local mcp, but not sure if they are trustworthy
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:<img width="667" height="974" alt="Image" src="https://github.com/user-attachments/assets/e0ff3add-8923-4a55-9561-cef7a724c444" />
<img width="681" height="605" alt="Image" src="https://github.com/user-attachments/assets/f2b9c0c8-3164-42f2-ad7c-ffbf9bfe378f" />
@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 out@Shaurya-Sethi, here is how Codex added Attlasian as mcp. Hope it helps
/.codex/config.toml:In commit:
https://github.com/openai/codex/commit/014562eef0ec1a496951c5a8d6b08e2de9fb59d7
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
Duplicate of #2129