NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #1196 most downloaded on npm
Model Context Protocol implementation for TypeScript
Last release 2 days ago
02 Oct 2026
Ships unpredictably
gaps range from 8 days to 4 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
2 years old
82 releases · first in 2024
One column per month.
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 sa
redirectPolicy: 'follow' on StreamableHTTPClientTransport or SSEClientTransport. In browsers, a redirected request fails unless that option is set.maxToolInputElements on McpServer limits the number of array elements and object members in a tool call's arguments. expectedResource on requireBearerAuth accepts only tokens issued for this server (the token's audience).Full Changelog: 1.31.0...1.32.0
Constructing them without it is deprecated.
issuer field. Storage that rejects unknown fields needs to allow it.expectedIssuer when constructing ClientCredentialsProvider, PrivateKeyJwtProvider or StaticPrivateKeyJwtProvider. Constructing them without it is deprecated.Full Changelog: 1.30.1...1.31.0
[v1.x] fix(server): read HTTP request bodies with a size limit and bound JSON-RPC batch length by @maxisbey in #2717
Full Changelog: 1.30.0...1.30.1
fix(server): prioritize zod issues and format them by @mozmo15 in #1503
Full Changelog: v1.29.0...1.30.0
fix: treat v1.x as primary branch for npm latest tag (backport #1577) by @felixweinberger in https://github.com/modelcontextprotocol/typescript-sdk/pu
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/v1.28.0...v1.29.0
feat: use scopes_supported from resource metadata by default (fixes #580) by @antogyn in https://github.com/modelcontextprotocol/typescript-sdk/pull/7
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/v1.27.1...v1.28.0
feat: implement auth/pre-registration conformance scenario by @felixweinberger in https://github.com/modelcontextprotocol/typescript-sdk/pull/1545
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/v1.27.0...v1.27.1
feat: add conformance test infrastructure for v1.x by @felixweinberger in https://github.com/modelcontextprotocol/typescript-sdk/pull/1518
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/v1.26.0...v1.27.0
fix(deps): resolve npm audit vulnerabilities and bump dependencies (v1.x backport) by @samuv in https://github.com/modelcontextprotocol/typescript-sdk…
Addresses "Sharing server/transport instances can leak cross-client response data" in this GHSA https://github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-345p-7cg4-v4c7
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/v1.25.3...v1.26.0
[v1.x backport] Use correct schema for client sampling validation when tools are present by @olaservo in https://github.com/modelcontextprotocol/types
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/v1.25.2...v1.25.3
ci: trigger workflow on v1.x branch by @felixweinberger in https://github.com/modelcontextprotocol/typescript-sdk/pull/1319
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.25.1...v1.25.2
spec types - backwards compatibility changes by @KKonstantinov in https://github.com/modelcontextprotocol/typescript-sdk/pull/1306
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.25.0...1.25.1
list changed handlers on client constructor by @mattzcarey in https://github.com/modelcontextprotocol/typescript-sdk/pull/1206
/test by @KKonstantinov in https://github.com/modelcontextprotocol/typescript-sdk/pull/1220Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.24.3...1.25.0
chore: fix dev dependency security vulnerabilities by @felixweinberger in https://github.com/modelcontextprotocol/typescript-sdk/pull/1227
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.24.2...1.24.3
feat: add optional resource annotations by @vhorvath2010 in https://github.com/modelcontextprotocol/typescript-sdk/pull/954
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.24.1...1.24.2
fix(streamableHttp): fix infinite retries when maxRetries is set to 0 by @mrorigo in https://github.com/modelcontextprotocol/typescript-sdk/pull/1216
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.24.0...1.24.1
This release brings us up to speed with the latest MCP spec 2025-11-25. Take a look at the latest spec as well as the release blog post.
This release brings us up to speed with the latest MCP spec 2025-11-25. Take a look at the latest spec as well as the release blog post.
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.23.0...1.24.0
Disabled SSE priming events to fix backwards compatibility - 1.23.x clients crash on empty SSE data (JSON.parse(""))
This is a patch for servers still on 1.23.x that were breaking clients not handling the the 2025-11-25 priming event behavior with empty SSE data fields. See https://github.com/modelcontextprotocol/typescript-sdk/pull/1233 for more details.
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.23.0...1.23.1
chore: Add deprecated marker to old elicitInput overload by @nbarbettini in https://github.com/modelcontextprotocol/typescript-sdk/pull/1142
.catchall() on inputSchema/outputSchema to support JSON Schema 2020-12 by @felixweinberger in https://github.com/modelcontextprotocol/typescript-sdk/pull/1135Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.22.0...1.23.0
chore: Add deprecated marker to old elicitInput overload by @nbarbettini in https://github.com/modelcontextprotocol/typescript-sdk/pull/1142
This beta release adds support for zod v4, a highly requested addition.
Special thanks to @dclark27 @colinhacks for all the work on https://github.com/modelcontextprotocol/typescript-sdk/pull/1040 which adds this support while staying backwards compatible with zod v3!
NOTE: if you run into any issues with zod v4 in this SDK please raise an issue! We'll be monitoring actively for any issues while trying to use zod v4 as it's a highly anticipated update. In order to make this upgrade possible we needed to also require v3.25+ for zod v3. You may need to update your version of zod v3 if you've been using an older one. We're also making this a beta release while we get initial feedback on the update here.
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.22.0...1.23.0-beta.0
registerTool: accept ZodType for input and output schema by @ksinder in https://github.com/modelcontextprotocol/typescript-sdk/pull/816
registerTool: accept ZodType<object> for input and output schema by @ksinder in https://github.com/modelcontextprotocol/typescript-sdk/pull/816Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.21.1...1.22.0
This is a patch release for a regression highlighted by #1103
Add @deprecated annotations to legacy APIs by @domdomegg in https://github.com/modelcontextprotocol/typescript-sdk/pull/1018
WWW-Authenticate scope param for SEP-835 by @chipgpt in https://github.com/modelcontextprotocol/typescript-sdk/pull/983Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.21.0...1.21.1
feat: pluggable JSON schema validator providers by @mattzcarey in https://github.com/modelcontextprotocol/typescript-sdk/pull/1012
token_endpoint_auth_method response from DCR registration by @chipgpt in https://github.com/modelcontextprotocol/typescript-sdk/pull/1022Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.20.2...1.21.0
fix: Zod to JSONSchema pipe strategies by @pierreliefauche in https://github.com/modelcontextprotocol/typescript-sdk/pull/962
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.20.1...1.20.2
fix: Add Accept header to auth metadata request by @SVLaursen in https://github.com/modelcontextprotocol/typescript-sdk/pull/901
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.20.0...1.20.1
docs: improve main README with better quick start, include examples of stateless HTTP, explain tools v resources v prompts by @domdomegg in https://gi
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.19.0...1.20.0
Nothing published for this version
Updates the sampling code example in the README by @viniciuscsouza in https://github.com/modelcontextprotocol/typescript-sdk/pull/958
demoInMemoryOAuthProvider by @TylerLeonhardt in https://github.com/modelcontextprotocol/typescript-sdk/pull/931Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.18.1...1.18.2
fix: prevent streamable http wite after end from crashing the node process by @MQ37 in https://github.com/modelcontextprotocol/typescript-sdk/pull/933
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.18.0...1.18.1
mcp: update SDK for SEP 973 + add to example server by @jesselumarie in https://github.com/modelcontextprotocol/typescript-sdk/pull/904
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.17.5...1.18.0
Automatic handling of logging level by @cliffhall in https://github.com/modelcontextprotocol/typescript-sdk/pull/882
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.17.4...1.17.5
feature(middleware): Composable fetch middleware for auth and cross‑cutting concerns by @m-paternostro in https://github.com/modelcontextprotocol/type
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.17.3...1.17.4
Fix quit command in Example client with OAuth by @DaleSeo in https://github.com/modelcontextprotocol/typescript-sdk/pull/864
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.17.2...1.17.3
fix: retry next endpoint on CORS error during auth server discovery by @xiaoyijun in https://github.com/modelcontextprotocol/typescript-sdk/pull/827
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.17.1...1.17.2
(fix): Update fallbackRequestHandler type to match _requestHandlers leaves type by @fredericbarthelet in https://github.com/modelcontextprotocol/types
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.17.0...1.17.1
Add CODEOWNERS file for sdk by @ihrpr in https://github.com/modelcontextprotocol/typescript-sdk/pull/781
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.16.0...1.17.0
Add type compatibility test between SDK and spec types by @ochafik in https://github.com/modelcontextprotocol/typescript-sdk/pull/729
invalidateCredentials() to OAuthClientProvider by @geelen in https://github.com/modelcontextprotocol/typescript-sdk/pull/570Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.15.1...1.16.0
fix(client): Some mcp server need default env(#393, #196) by @sunrabbit123 in https://github.com/modelcontextprotocol/typescript-sdk/pull/394
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.15.0...1.15.1
> This release reverts a breaking change introduced in version 1.13.3.
[!NOTE] This release reverts a breaking change introduced in version 1.13.3.
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.14.0...1.15.0
> This introduces breaking changes, which are required to comply with the spec - more details
[!WARNING] This introduces breaking changes, which are required to comply with the spec - more details
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.13.3...1.14.0
Implement DNS Rebinding Protections per spec by @ddworken in https://github.com/modelcontextprotocol/typescript-sdk/pull/565
discoverOAuthMetadata for CORS errors by @geelen in https://github.com/modelcontextprotocol/typescript-sdk/pull/717Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.13.2...1.13.3
Fix /.well-known/oauth-authorization-server dropping path by @calclavia in https://github.com/modelcontextprotocol/typescript-sdk/pull/687
/.well-known/oauth-authorization-server dropping path by @calclavia in https://github.com/modelcontextprotocol/typescript-sdk/pull/687 /.well-known/oauth-authorization-server dropping path by @ihrpr in https://github.com/modelcontextprotocol/typescript-sdk/pull/692mcp-session-id in CORS when using StreamableHTTP by @Achintha444 in https://github.com/modelcontextprotocol/typescript-sdk/pull/633SSEServerTransport class by @christian-bromann in https://github.com/modelcontextprotocol/typescript-sdk/pull/391Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.13.1...1.13.2
simpleStreamableHttp: fix example code by @ochafik in https://github.com/modelcontextprotocol/typescript-sdk/pull/660
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.13.0...1.13.1
https://github.com/modelcontextprotocol/modelcontextprotocol/releases/tag/2025-06-18
https://github.com/modelcontextprotocol/modelcontextprotocol/releases/tag/2025-06-18
types.ts by @bhosmer-ant in https://github.com/modelcontextprotocol/typescript-sdk/pull/639Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.12.3...1.13.0
1.12.3 by @ihrpr in https://github.com/modelcontextprotocol/typescript-sdk/pull/623
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.12.2...1.12.3
fix: Ensure completions capability is registered on setCompletionRequestHandler call by @fredericbarthelet in https://github.com/modelcontextprotocol/
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.12.1...1.12.2
chore: fix typo by @Skn0tt in https://github.com/modelcontextprotocol/typescript-sdk/pull/315
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.12.0...1.12.1
feat: Add support for separate Authorization Server / Resource server in server flow (spec: DRAFT-2025-v2) by @pcarleton in https://github.com/modelco
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.11.4...1.12.0
Make content in Tool Result required by @bhosmer-ant in https://github.com/modelcontextprotocol/typescript-sdk/pull/524
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.11.4...1.11.5
Prototype support for outputSchema/structuredContent by @bhosmer-ant in https://github.com/modelcontextprotocol/typescript-sdk/pull/454
outputSchema/structuredContent by @bhosmer-ant in https://github.com/modelcontextprotocol/typescript-sdk/pull/454Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.11.3...1.11.4
fix: preserve custom paths in SSE endpoint URLs by @bhosmer-ant in https://github.com/modelcontextprotocol/typescript-sdk/pull/466
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.11.2...1.11.3
feat: Add scope parameter to startAuthorization function by @pcarleton in https://github.com/modelcontextprotocol/typescript-sdk/pull/464
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.11.1...1.11.2
Fix isZodRawShape return false on empty object and add test by @yuna0x0 in https://github.com/modelcontextprotocol/typescript-sdk/pull/448
isZodRawShape return false on empty object and add test by @yuna0x0 in https://github.com/modelcontextprotocol/typescript-sdk/pull/448Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.11.0...1.11.1
Adding support for Tools Annotations for better describing tool behavior, like whether it is read-only or destructive, as per protocol version 2025-03
Adding support for Tools Annotations for better describing tool behavior, like whether it is read-only or destructive, as per protocol version 2025-03-26
Since we implemented most of the features in the recent spec we are updating the latest protocol version
requestId to handlers via metadata by @lforst in https://github.com/modelcontextprotocol/typescript-sdk/pull/358Please report any issues at https://github.com/modelcontextprotocol/typescript-sdk/issues.
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.10.2...1.11.0
Update README.md to use correct location of InMemoryEventStore by @RamAnanth in https://github.com/modelcontextprotocol/typescript-sdk/pull/366
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.10.1...1.10.2
Streamable Http - fix examples for stateless server by @ihrpr in https://github.com/modelcontextprotocol/typescript-sdk/pull/363
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.10.0...1.10.1
This is the first release supporting the new Streamable HTTP transport from protocol version 2025-03-26, which supersedes the SSE transport from proto
This is the first release supporting the new Streamable HTTP transport from protocol version 2025-03-26, which supersedes the SSE transport from protocol version 2024-11-05. 🎉
Please report any issues at https://github.com/modelcontextprotocol/typescript-sdk/issues.
McpServer by @geelen in https://github.com/modelcontextprotocol/typescript-sdk/pull/247Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.9.0...1.10.0
Correctly pass redirect_uri to tokens call by @praboud-ant in https://github.com/modelcontextprotocol/typescript-sdk/pull/222
completion/complete by @morinokami in https://github.com/modelcontextprotocol/typescript-sdk/pull/268Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.8.0...1.9.0
Improve transport in SSE server example by @samuelcolvin in https://github.com/modelcontextprotocol/typescript-sdk/pull/197
Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.7.0...1.8.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →