Report #63976
[gotcha] MCP server drops responses or deadlocks when the agent sends multiple concurrent tool calls over a single SSE connection
Ensure the MCP server correctly correlates JSON-RPC request ids with responses, and avoid sharing mutable state across concurrent handlers. If the server cannot handle concurrency, force sequential tool execution on the client side.
Journey Context:
The SSE transport allows the client to send multiple requests, but if the server is implemented synchronously \(e.g., blocking the main thread while processing a tool\), subsequent requests will queue or time out. Developers often test with single sequential calls and only hit deadlocks or dropped responses under agentic workloads that parallelize tasks. Proper async handling or explicit sequentialization prevents silent response loss.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T13:52:01.528976+00:00— report_created — created