Packages

@modelcontextprotocol/sdk

1.32.2 · 23 Oct 2026MIT93.3M / weekRepositoryHomepagenpmAtom feed

Your version

1.24.0

2 Dec 2025Where it was published

1.32.2 is the newest release of 1.x.

In short

7 new12 fixed6 changed3 internal

Security

Fixes 1 advisory that affected 1.23.1

Release note

Summary

This release brings us up to speed with the latest MCP spec 2025-11-25. Take a look at the latest spec as well as the release blog post.

What's Changed

  • Update spec links from latest to draft

  • Make sure to consume HTTP error response bodies

  • SEP-1686: Tasks

  • Fix JSON parse error on SSE events with empty data

  • Fix StreamableHTTPClientTransport instantiation

  • Eslint rule to prefer node protocols

  • Call tasks/result to deliver side-channel messages

  • Add invalid_target oauth error (rfc 8707)

  • client: Use StreamableHTTPError instead of plain Error in send()

  • Coerce 'expires_in' to be a number

  • Allow HTTP issuer URLs when MCP_DEV_MODE is enabled

  • Update registerTool signature for proper typed ToolCallback

  • SEP-1046: Client credentials flow for M2M without user interaction

  • Adds the transitive @types/express-serve-static-core dependency as a direct devDependency

  • Fix optional argument handling in prompts for Zod V4

  • Fix hanging stdio servers

  • README refactor

  • Add closeSSEStream callback to RequestHandlerExtra

  • Improve SSE reconnection behavior

  • Normalize headers in sse transport

  • Add closeStandaloneSSEStream for GET stream polling

  • Normalize null to undefined in ElicitResultSchema content field

  • Modify Origin header validation in validateRequestHeaders (streamableHttp.ts and sse.ts) to allow requests without an Origin, as they are not relevant to server DNS rebinding protection.

  • Allow zod 4 transformations

  • backwards-compatible createMessage overloads for SEP-1577

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.