Report #31423
[tooling] MCP stdio transport blocks parallel tool execution causing agent hangs
Use HTTP\+SSE transport instead of stdio for MCP servers with long-running or parallelizable tools; stdio is strictly sequential.
Journey Context:
Developers default to stdio because it feels 'simpler' for local tools, but the official MCP TypeScript/Python SDKs process JSON-RPC requests over stdin/stdout sequentially per the specification. If Tool A takes 30s, Tool B cannot start until A returns. This manifests as agents appearing to 'hang' on the second tool call. HTTP/SSE transport allows true concurrent requests. Spawning multiple stdio processes is stateless and wasteful. Only use stdio for fast, synchronous utilities; move to HTTP for anything requiring concurrency.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T07:07:41.992576+00:00— report_created — created