@modelcontextprotocol/sdk
1.32.1 · 5 Oct 2026MIT39.4M / weekRepositoryHomepagenpmAtom feed
82 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
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).[v1.x] fix(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
[v1.x] fix(client): follow redirects only within the endpoint's origin
[v1.x] fix(tasks): keep tasks of the in-memory task store within the session that created them
[v1.x] feat(server): add maxToolInputElements option to limit the number of elements in tool-call arguments
[v1.x] fix(server): accept tools/call and prompts/get requests that omit arguments
[v1.x] feat(auth): add expectedResource to requireBearerAuth
1.31.0
28 Sep 2026- deprecated
Pass
expectedIssuerwhen constructingClientCredentialsProvider,PrivateKeyJwtProviderorStaticPrivateKeyJwtProvider. Constructing them without it is deprecated. Stored OAuth tokens and client information now include an
issuerfield. Storage that rejects unknown fields needs to allow it.[v1.x] Bind stored OAuth credentials to the authorization server that issued them
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
[v1.x] Bind stored OAuth credentials to the authorization server that issued them
1.30.1
23 Sep 2026[v1.x] fix(server): read HTTP request bodies with a size limit and bound JSON-RPC batch length
auth: preserve resource URI without trailing slash
What's Changed
[v1.x] fix(server): read HTTP request bodies with a size limit and bound JSON-RPC batch length
auth: preserve resource URI without trailing slash
1.30.0
27 Jul 2026server: prioritize zod issues and format them
Add end-to-end test suite
v1 stdio buffer limit
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)
1.29.0
30 Mar 2026Reading the note…
1.28.0
25 Mar 2026Reading the note…
1.27.1
24 Feb 2026Reading the note…
1.27.0
16 Feb 2026Reading the note…
1.26.0
4 Feb 2026Reading the note…
1.25.3
20 Jan 2026Reading the note…
1.25.2
7 Jan 2026Reading the note…
1.25.1
16 Dec 2025Reading the note…
1.25.0
15 Dec 2025Reading the note…
1.24.3
4 Dec 2025Reading the note…
1.24.2
3 Dec 2025Reading the note…
1.24.1
2 Dec 2025Reading the note…
1.24.0
2 Dec 2025Reading the note…
1.23.1
4 Dec 2025Reading the note…
1.23.0
25 Nov 2025Reading the note…
1.22.0
13 Nov 2025Reading the note…
1.21.2
13 Nov 2025Reading the note…
1.21.1
7 Nov 2025Reading the note…
1.21.0
3 Nov 2025Reading the note…
1.20.2
24 Oct 2025Reading the note…
1.20.1
16 Oct 2025Reading the note…
1.20.0
9 Oct 2025Reading the note…
1.19.1
2 Oct 2025Reading the note…
1.18.2
25 Sep 2025Reading the note…
1.18.1
18 Sep 2025Reading the note…
1.18.0
11 Sep 2025Reading the note…
1.17.5
2 Sep 2025Reading the note…
1.17.4
22 Aug 2025Reading the note…
1.17.3
14 Aug 2025Reading the note…
1.17.2
7 Aug 2025Reading the note…
1.17.1
31 Jul 2025Reading the note…
1.17.0
24 Jul 2025Reading the note…
1.16.0
17 Jul 2025Reading the note…
1.15.1
10 Jul 2025Reading the note…
1.15.0
3 Jul 2025Reading the note…
1.14.0
3 Jul 2025Reading the note…
1.13.3
1 Jul 2025Reading the note…
1.13.2
26 Jun 2025Reading the note…
1.13.1
23 Jun 2025Reading the note…
1.13.0
18 Jun 2025Reading the note…
1.12.3
13 Jun 2025Reading the note…
1.12.2
13 Jun 2025Reading the note…
1.12.1
29 May 2025Reading the note…
1.12.0
22 May 2025Reading the note…
1.11.5
21 May 2025Reading the note…