Back
gh Oct 15, 2025

Streamable http MCP server handshaking failed · Issue #5208 · openai/codex · GitHub

What version of Codex is running? codex-cli 0.46.0 Which model were you using? qwen3-coder-plus What platform is your computer? Darwin 23.5.0 arm64 arm What steps can reproduce the bug? Add a custom mcp server config(url just for example...

by ouyangjunfei github.com 135 words
View original
Note: see the user

### What version of Codex is running? codex-cli 0.46.0 ### Which model were you using? qwen3-coder-plus ### What platform is your computer? Darwin 23.5.0 arm64 arm ### What steps can reproduce the bug? 1. Add a custom mcp server config(url just for example cause it’s deployed in our net) ```toml [mcp_servers.custom] url = “https://xxx.yyy.com/mcp” ``` 2 Open codex ```bash codex ``` 3. Wait CLI shows error : > MCP client for `custom` failed to start: handshaking with MCP server failed: Send message error Transport [rmcp::transport::worker::WorkerTransport>] error: Transport channel closed, when send initialized notification And no tools: Image ### What is the expected behavior? No errors for mcp servers, and I can see tools. Same MCP Server URL for claude code works fine Image ### What do you see instead? _No response_ ### Additional information _No response_