Report #40793
[tooling] Using stdio transport for high-concurrency MCP servers causes process spawn rate limits and memory exhaustion
Use HTTP\+SSE transport for persistent connections in production; reserve stdio only for local CLI wrappers or single-user desktop apps where process spawning is intentional isolation
Journey Context:
stdio seems simpler \(no HTTP server needed\) but each MCP client connection spawns a new process. At 100\+ concurrent connections, you hit OS process limits and memory pressure. HTTP with SSE \(Server-Sent Events\) maintains persistent connections without process-per-client overhead. The stdio transport is actually designed for 'local integration' \(like a CLI tool\), while HTTP is for 'remote/production' deployments.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T22:56:32.589762+00:00— report_created — created