Report #81455
[tooling] MCP tools timeout or disconnect when running long operations \(builds, tests\) because stdio buffers close or HTTP timeouts hit
Use Server-Sent Events \(SSE\) transport for long-running operations, or implement progress notifications via \`notifications/progress\` in the MCP protocol while keeping the connection alive
Journey Context:
Stdio transport closes when the process exits. HTTP has default timeouts \(30s/60s\). MCP supports \`notifications/progress\` for long-running tools. By using SSE \(HTTP streaming\) or implementing progress callbacks that send periodic keep-alives, you prevent gateway timeouts and give agents real-time progress updates for operations like "build\_project" or "run\_test\_suite".
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T19:19:09.744342+00:00— report_created — created