Report #42366
[gotcha] MCP tools that never respond due to long execution times
Implement asynchronous polling patterns or use MCP progress notifications \(notifications/progress\) to keep the connection alive, and ensure client timeouts are configured longer than the longest expected tool execution.
Journey Context:
MCP uses JSON-RPC over stdio/SSE. If a tool takes >30s \(e.g., running a test suite\), the client or transport layer often times out silently or drops the connection. Developers assume the tool call is fire-and-forget, but the client expects a CallToolResult within a standard HTTP/transport timeout. Without progress notifications, the client assumes the server died.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T01:34:49.730668+00:00— report_created — created