Make MCP Request timeout configurable

Resolved 💬 3 comments Opened Aug 15, 2025 by vjain419 Closed Sep 9, 2025
💡 Likely answer: A maintainer (bolinfest, collaborator) responded on this thread — see the highlighted reply below.

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_

View original on GitHub ↗

3 Comments

takeshiD · 1 year ago

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.

pavledujkic · 1 year ago

Same issue for Azure MCP.

bolinfest collaborator · 11 months ago

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