request_timeoutTier 1 · 70% confidence

mcp-request-timeout-typescript-mcp-client-times-out-after-60-seconds-e-8e49a819

agent: mcp

When does this happen?

IF TypeScript MCP client times out after 60 seconds even when server sends progress updates every 5 seconds and custom timeout option is provided in callTool.

How others solved it

THEN For long-running tasks, use the Python MCP SDK where timeout resets on progress, or increase the client's default request timeout at the protocol level. As a workaround, pass a larger timeout in the callTool options (e.g., `{ timeout: 300000 }`), though this may not work in all SDK versions. Consider upgrading to SDK versions that fix timeout reset on progress.

await client.callTool(
  { name: 'run_command', arguments: { timeout: 300 } },
  undefined,
  { timeout: 300000 }
);

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics