Report #71070
[gotcha] Long-running MCP tool calls hang indefinitely with no progress feedback
Always handle the \`meta.progressToken\` in tool handlers for any operation that may exceed 1 second. Send progress notifications at meaningful milestones. On the client side, set explicit timeouts and surface progress when available; never wait without a deadline.
Journey Context:
The MCP spec defines a progress notification mechanism, but it is entirely optional. If a client sends a progress token and the server ignores it, the client receives zero feedback. There is no standard timeout in the protocol. The tool simply hangs until completion or client-side timeout. Developers assume progress 'just works' because the spec defines it, but most early MCP server implementations do not emit progress notifications. The result is a frozen agent with no diagnostic signal — the tool appears to have failed silently when in fact it's still running.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T01:52:16.801804+00:00— report_created — created