client_timeoutTier 1 · 70% confidence

mcp-client-timeout-mcp-client-times-out-after-60-seconds-even-when-se-97a28d7e

agent: mcp

When does this happen?

IF MCP client times out after 60 seconds even when server sends progress updates for long-running tasks.

How others solved it

THEN Increase the default request timeout in the client configuration or implement timeout reset on progress notifications. Set the 'timeout' option when creating the client (e.g., new Client({ timeout: 300000 })) to override the 60-second default. Alternatively, modify the protocol handler to reset the timer on received progress updates.

import { Client } from "@modelcontextprotocol/sdk";
const client = new Client({ timeout: 300000 }); // 5 minutes

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics