Patch Changes
-
#2885
9dd722fThanks @claude! - Sending a notification on a closed connection no longer produces a briefly unhandled promise rejection (seen asunhandledrejectionon Cloudflare Workers) in addition to the returned rejection. -
#2778
e3fb9edThanks @vjymisal0! - Fix a stack overflow increateMcpHandlerwhen the factory returns the same server instance for more than one request. Returning a fresh instance per request is still required. -
#2651
c55efa6Thanks @sushantkumar23! -createMcpHandlernow ends asubscriptions/listenstream right after the acknowledgement when it honored none of the requested notification types, instead of holding the stream open with nothing to deliver. The client receives the acknowledgement and then theresultType: "complete"result. Streams that honor at least one type are unchanged. -
Updated dependencies [
edd12e2]:- @modelcontextprotocol/core@2.2.0