@modelcontextprotocol/sdk
1.32.2 · 23 Oct 2026MIT88.4M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgrade- 1.x1.32.2Safe from 1.32.0Latest line
- 0.7.x and older0.7.08 open advisories, worst high · last release Nov 2024, no longer updatedTo 1.32.2
Latest releases
All 83 releases1.32.2
23 Oct 2026Add explicit | undefined to Transport optional properties (v1.x backport of #1766)
Allow registering after connect() when the capability was declared
What's Changed
Add explicit | undefined to Transport optional properties (v1.x backport of #1766)
Allow registering after connect() when the capability was declared
1.32.1
5 Oct 2026Only updates a dependency:version 1.32.1
1.32.0
2 Oct 2026Redirects: the HTTP client transports now follow a redirect only when it stays on the same origin (same scheme, host and port; http to https on the same host is allowed). A deployment whose endpoint redirects to another host or port either configures the final URL or sets
redirectPolicy: 'follow'onStreamableHTTPClientTransportorSSEClientTransport. In browsers, a redirected request fails unless that option is set.New options, both off unless you set them:
maxToolInputElementsonMcpServerlimits the number of array elements and object members in a tool call's arguments.expectedResourceonrequireBearerAuthaccepts only tokens issued for this server (the token's audience).client: Follow redirects only within the endpoint's origin
Upgrade notes
Redirects: the HTTP client transports now follow a redirect only when it stays on the same origin (same scheme, host and port; http to https on the same host is allowed). A deployment whose endpoint redirects to another host or port either configures the final URL or sets
redirectPolicy: 'follow'onStreamableHTTPClientTransportorSSEClientTransport. In browsers, a redirected request fails unless that option is set.New options, both off unless you set them:
maxToolInputElementsonMcpServerlimits the number of array elements and object members in a tool call's arguments.expectedResourceonrequireBearerAuthaccepts only tokens issued for this server (the token's audience).
What's Changed
client: Follow redirects only within the endpoint's origin
tasks: Keep tasks of the in-memory task store within the session that created them
server: Add maxToolInputElements option to limit the number of elements in tool-call arguments
server: Accept tools/call and prompts/get requests that omit arguments
auth: Add expectedResource to requireBearerAuth
Dependency tracking · free for 3 projects
Know when your own dependencies move
@modelcontextprotocol/sdk had 9 security advisories in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Reading releases, release notes and advisories…
Registry facts last checked 9 Nov 2026. Releases and advisories last read 9 Nov 2026.