Skip to content

v1.7.2

Choose a tag to compare

@github-actions github-actions released this 30 Jun 11:19
· 4 commits to main since this release

Fixed

  • HTTP transport no longer deadlocks behind a gateway/proxy (#22, by @rwlove; fixes #21). The previous implementation shared a single module-level Server and serialized every request through a queue, because one Server can only be connected to one transport at a time. The moment a streamable-HTTP client (e.g. an MCP gateway/proxy such as n8n) opened its long-lived GET SSE stream, that request never completed and blocked the queue permanently — every subsequent POST (initialize, tools/list, tools/call, …) hung with no response. The transport now builds a fresh Server + StreamableHTTPServerTransport per request (the SDK's documented stateless pattern) and tears them down on response close, so a long-lived stream can no longer block other requests. The stdio transport is unchanged. Verified: with a GET stream held open, a concurrent POST went from timing out at 8 s to returning in ~2 ms.