Agent InfrastructureAutomated release watch

@modelcontextprotocol/server@2.2.0

MCP TypeScript SDK release @modelcontextprotocol/server@2.2.0 fixes unhandled promise rejections on closed connections, stack overflows in createMcpHandler, and idle empty subscription streams.

Human read

Why this signal matters

The @modelcontextprotocol/server package has been updated to version 2.2.0 with several patch fixes: 1) Notifications sent over closed connections no longer trigger a briefly unhandled promise rejection (which previously appeared as unhandledrejection in runtimes like Cloudflare Workers). 2) Fixed a stack overflow in createMcpHandler when the factory returns the same server instance across multiple requests (note: returning a fresh instance per request is still explicitly required). 3) In createMcpHandler, subscriptions/listen streams that honor none of the requested notification types will now close immediately following the acknowledgement with a resultType of 'complete', rather than remaining open idle. 4) Dependency @modelcontextprotocol/core was updated to version 2.2.0.

Agent parse

Actionable summary

@modelcontextprotocol/server@2.2.0 addresses Cloudflare Worker unhandled rejections on closed connection notifications, prevents stack overflows when reusing server instances in createMcpHandler, terminates zero-match subscriptions/listen streams immediately after ack, and updates @modelcontextprotocol/core to 2.2.0.

Agent usefulness
72/100
Confidence
96%
Canonical data
JSON + Markdown
Next actions

What builders should check

  • Upgrade @modelcontextprotocol/server to version 2.2.0.
  • Verify that custom server factories used with createMcpHandler return a fresh server instance per request.
  • Ensure client implementations of subscriptions/listen handle immediate stream completion when no requested notification types are supported.
Classification

Tags and routing

mcpsdktypescript
Related signals

Continue the thread