⌨️MCP_TOOL_TIMEOUT
Also known as MCP_TOOL_TIMEOUT environment variable
It sets how long one MCP tool call may run.
Think of it like
It is like you wait for a helper to finish a job. You only wait so long.
Example
Jack's HTTP server runs reports that take 2 minutes, and they kept failing at 60 seconds. He sets 5 minutes, and the reports come back.
Why it matters
Slow tools on a web server hit the 60 second wall unless you raise it.
Definition
Example code
bash
export MCP_TOOL_TIMEOUT=300000
claudeCommon mistake
Key takeaways
- 1Per tool call. Milliseconds.
- 260 seconds on HTTP. Raise above 60,000.
- 3Per server wins. In .mcp.json.