typescript-sdk/.changeset/client-http-stream-close-cancel.md
Felix Weinberger 1823aae891
Implement MCP 2026-07-28 (#2286)
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-26 14:01:10 +01:00

575 B

@modelcontextprotocol/core-internal @modelcontextprotocol/client
minor minor

Client request cancellation on a 2026-07-28 Streamable HTTP connection now closes that request's SSE response stream — the spec cancellation signal — instead of POSTing notifications/cancelled. Cancellation on a 2025-era connection, and on stdio at any era, still sends notifications/cancelled as before. Adds the optional Transport.hasPerRequestStream capability flag (set on StreamableHTTPClientTransport) for the protocol layer to route the per-transport cancel path.