Report #9404
[gotcha] Long-running MCP tools timeout and fail silently without returning intermediate state
Implement MCP progress notifications using progressToken for operations exceeding a few seconds, and ensure the client configures appropriate timeouts for long-running tasks.
Journey Context:
Network defaults and client timeouts often assume quick request/response cycles. If an MCP tool takes 60 seconds to compile code or run a query, the client might drop the connection. Developers assume the tool failed, while the server continues processing. Using MCP's built-in progress notification mechanism keeps the connection alive and provides the agent with intermediate state, preventing premature termination.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T08:09:22.664195+00:00— report_created — created