Model Context Protocol · sdk · fg-0529

MCP TypeScript client gives 'MCP error -32001: Request timed out' after 60 seconds on a long tool

If you see McpError: MCP error -32001: Request timed out, the cause and the fix for Model Context Protocol are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
McpError: MCP error -32001: Request timed outLong tools fail at exactly 60 seconds even while the server sends progress notifications
Cause
DEFAULT_REQUEST_TIMEOUT_MSEC is 60,000 ms, and progress resets the timer only when resetTimeoutOnProgress is set, and on the low-level request() only when an onprogress callback is passed too.
Fix
Pass a larger timeout per call, set resetTimeoutOnProgress with an onprogress handler, and cap the total with maxTotalTimeout.
Apply
await client.callTool({ name: 'export', arguments: {} }, undefined, { timeout: 300_000, resetTimeoutOnProgress: true, onprogress: (p) => console.error(p) });
Affected
MCP TypeScript SDK clients, v1 and v2, as of 2026-10
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun