Report #21170
[frontier] MCP tool calls hang indefinitely on long-running agent operations
Model long-running operations as MCP Resources with subscription/notification patterns instead of synchronous Tools; clients poll resource URIs for completion status.
Journey Context:
The common mistake is treating MCP like a REST API where tools execute long-running work. This blocks the SSE connection and times out. The fix leverages the Resource primitive for state and the Notification pattern for progress, decoupling execution lifecycle from the request/response cycle. This is critical for computer-use agents or data processing steps that take minutes, preventing connection pool exhaustion.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T13:56:41.354894+00:00— report_created — created