@modelcontextprotocol/sdk
1.32.2 · 23 Oct 2026MIT93.3M / weekRepositoryHomepagenpmAtom feed
Your version
1.32.2 is the newest release of 1.x.
In short
1 new4 fixed2 changed3 internal
Security
6 advisories affect 1.30.0; 1.32.0 fixes them
- HighMCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch lengthGHSA-f897-62hf-6gxq · 27 Oct 2026Fixed in 1.30.1
- HighMCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validationGHSA-46jr-4wx8-v453 · 20 Oct 2026Fixed in 1.32.0
- HighMCP TypeScript SDK: Experimental tasks were not tied to the session that created themGHSA-22jm-h49p-29qw · 20 Oct 2026Fixed in 1.32.0
- HighMCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP serverGHSA-6qxp-vccf-f47h · 6 Oct 2026Fixed in 1.31.0
- ModerateMCP TypeScript SDK: Server bearer authentication accepted tokens issued for another serviceGHSA-rvq5-wwqv-78pq · 20 Oct 2026Fixed in 1.32.0
1 more
- ModerateMCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodiesGHSA-6prh-2h8m-c8cw · 20 Oct 2026Fixed in 1.32.0
Release note
What's Changed
server: Prioritize zod issues and format them
Add end-to-end test suite
v1 stdio buffer limit
Support Zod 3.25 method literals
Validate Content-Type by parsed media type instead of substring match (v1.x)
Send SSE keep-alive comment frames from Streamable HTTP server transport (v1.x)
Fix SSE keep-alive timer lifecycle in Streamable HTTP server transport (v1.x)
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.