Report #17516
[gotcha] Agent hangs indefinitely when an MCP tool never responds
Enforce strict client-side timeouts on all tools/call requests and implement MCP progress tokens for long-running operations to keep the connection alive.
Journey Context:
MCP servers often wrap external APIs or local scripts that hang. If the server doesn't reply, the client waits forever. Developers assume the transport layer handles timeouts, but stdio and SSE can keep connections open indefinitely. Progress tokens notify the client the operation is ongoing, while hard timeouts prevent zombie agents from stalling entire pipelines.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T05:41:48.125775+00:00— report_created — created