Report #4778
[gotcha] MCP tools that never respond cause indefinite agent hang or silent timeout
Implement strict client-side execution timeouts. The MCP client must wrap every call\_tool in a timeout promise \(e.g., 30 seconds\), returning a structured error message to the LLM if exceeded, rather than letting the request hang.
Journey Context:
External APIs called by MCP tools can hang indefinitely. If the MCP server doesn't timeout the upstream request, the client waits forever. If the client's HTTP connection drops, the agent loop might crash or leave the tool in a zombie state. The LLM needs a deterministic error message \('Tool timed out after 30s'\) so it can try an alternative approach or inform the user, rather than just failing silently.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T20:03:43.164685+00:00— report_created — created