codex icon indicating copy to clipboard operation
codex copied to clipboard

Make MCP Request timeout configurable

Open vjain419 opened this issue 1 year ago • 3 comments

What feature would you like to see?

Some MCP take more than 10s(which is hardcoded in code) to load and gets this error (Ideally they shouldn't but depends on system it may change)

let user define some max time out which is acceptable.

🖐 MCP client for task-master-ai failed to start: request timed out

Are you interested in implementing this feature?

Yes

Additional information

No response

vjain419 avatar Aug 15 '25 09:08 vjain419

I have same problem. I use codex-cli in an environment where I connect to the external internet via a proxy. In this environment, depending on the state of my PC, MCP(especially serena) often take more than 10 seconds to start up, resulting in a timeout.

takeshiD avatar Aug 19 '25 13:08 takeshiD

Same issue for Azure MCP.

pavledujkic avatar Aug 26 '25 17:08 pavledujkic

https://github.com/openai/codex/releases/tag/rust-v0.31.0 now supports startup_timeout_ms, so please use that!

bolinfest avatar Sep 09 '25 17:09 bolinfest