@modelcontextprotocol/sdk
1.32.2 · 23 Oct 2026MIT93.3M / weekRepositoryHomepagenpmAtom feed
1.32.2 is the newest release of 1.x.
In short
1 deprecated2 changed1 internal
- Deprecated
Pass
expectedIssuerwhen constructingClientCredentialsProvider,PrivateKeyJwtProviderorStaticPrivateKeyJwtProvider. Constructing them without it is deprecated.
Security
Fixes 1 advisory that affected 1.30.1
- 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
4 advisories affect 1.31.0; 1.32.0 fixes them
- 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
- ModerateMCP TypeScript SDK: Server bearer authentication accepted tokens issued for another serviceGHSA-rvq5-wwqv-78pq · 20 Oct 2026Fixed in 1.32.0
- 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
Upgrade notes
Stored OAuth tokens and client information now include an
issuerfield. Storage that rejects unknown fields needs to allow it.- Deprecated
Pass
expectedIssuerwhen constructingClientCredentialsProvider,PrivateKeyJwtProviderorStaticPrivateKeyJwtProvider. Constructing them without it is deprecated.
What's Changed
Bind stored OAuth credentials to the authorization server that issued them
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.