Race condition in StreamableHTTP: zero-buffer memory streams cause deadlock with concurrent SSE responses

此问题出现在使用 MCP Python SDK 的 StreamableHTTPServerTransport 时,常见场景包括: 使用 FastMCP 构建的 MCP 服务器(stateless_http=True)返回包含数组(3+ 元素)的工具响应 Claude Code 等客户端通过互联网连



![[Question]: using latest image(v0.23.1) can not enable docling](https://www.chat-gpts.plus/wp-content/uploads/2026/06/12440-35fa5ab2-768x403.jpg)
![[Bug]:](https://www.chat-gpts.plus/wp-content/uploads/2026/06/12631-be7e80ae-768x403.jpg)



