Report #12473
[gotcha] Slow MCP tools silently fail due to transport layer timeouts
Ensure long-running tools return intermediate progress via logging notifications, or break the task into smaller polling chunks. For HTTP\+SSE, ensure reverse proxy idle timeouts are extended beyond the default 30-60 seconds.
Journey Context:
An MCP tool executing a 2-minute database migration works fine over stdio, but when run over HTTP\+SSE, reverse proxies \(like Nginx/Cloudflare\) or HTTP clients drop the connection after 30-60 seconds of inactivity. The server finishes successfully, but the client is gone, resulting in a silent failure or a ghost process. The developer thinks the tool is broken, but it's actually a transport timeout.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T16:09:36.611814+00:00— report_created — created