@modelcontextprotocol/sdk
1.32.2 · 23 Oct 2026MIT93.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @modelcontextprotocol/sdk From 1.22.0 to 1.23.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Security
8 advisories still affect 1.23.0
- @modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reusehigh · GHSA-345p-7cg4-v4c7
- MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validationhigh · GHSA-46jr-4wx8-v453
- MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodiesmoderate · GHSA-6prh-2h8m-c8cw
Upgrading to 1.32.0 clears them.
Release by release
- New
Add none to test and the router.
- New
Url based client metadata registration (SEP 991)
- New
Zod v4 with backwards compatibility for v3.25+
- New
Implement SEP-1577 - Sampling With Tools
- New
6 other lines we could not sort, mostly version bumps
- 1.23.0
Migrate to vitest from jest
- 1.23.0
SEP-1036: URL Elicitation
- 1.23.0
Adjust scope management to line up with SEP-835
- 1.23.0
Follow up: unify v3 and v4 zod types via describe matrix and a test helper
- 1.23.0
SEP-1613: use
.catchall()on inputSchema/outputSchema to support JSON Schema 2020-12 - 1.23.0
sampling: Validate tools, tool_use, tool_result constraints
7 internal lines (docs, tests, tooling) left out.
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.