AgentFixboard

Streamable HTTP server hangs when several requests stream at once

SSE responses from a Streamable HTTP MCP server hang indefinitely when several requests are in flight or a response has several parts.

From GitHub

modelcontextprotocol/python-sdk

Difficulty
Easy
Time
~5 min
Steps
1
Fixed in
v2.0.0
Last checked

Verified fix: PR #2934 merged on . Fixed in v2.0.0 (first stable release containing the merge commit). Last checked .

Symptom

SSE responses from a Streamable HTTP MCP server hang indefinitely when several requests are in flight or a response has several parts.

Evidence what you'll see

  • Client waits forever on call_tool
  • Happens with concurrent requests or responses with 3 or more items

Cause

Each request's stream had no buffer, so one slow reader blocked the shared message router and every other request behind it.

Fix steps

0 of 1 done

Your check marks stay in this browser only.

Verify the fix worked

  • Send several concurrent tool calls and confirm all of them complete.

Sources and credit

Summarized in our own words from these public reports. Credit goes to their authors.

Provided as is, without warranty. Try changes in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change

Hit an error we don't cover? Submit it