Report #37041
[gotcha] Long-running MCP tools timeout because client doesn't support progress tokens
For long-running tasks, implement the MCP notifications/progress mechanism to keep the connection alive, and ensure the client handles the async JSON-RPC responses correctly rather than expecting immediate tools/call resolution.
Journey Context:
Standard HTTP or stdio connections timeout if no data is sent. If an MCP tool takes 2 minutes to run, the transport layer might drop the connection. MCP defines progress tokens to stream updates, but if the server doesn't send them or the client ignores them, the connection dies. Streaming progress keeps the transport alive and gives the agent intermediate data.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T16:38:43.475846+00:00— report_created — created