mcp-handler breaking changes
mcp-handler 2.4.0 (November 12, 2026) is its newest release with breaking changes, 3 of them. The first: Default changed telemetry. Every breaking API change we have recorded in mcp-handler on npm: 27 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.5.0, released December 1, 2026. Source repository
Its 2.0.0 release requires Node.js 20 or later. Node.js end of life dates.
mcp-handler 2.4.0 breaking changes
- Default changed
telemetry
The package now writes an OpenTelemetry SERVER span per MCP request whenever the app registers a tracer provider. If your app already writes its own MCP spans, set telemetry: false or remove your spans, or each step is recorded twice. github.com - Configuration changed
@vercel/otel is now an optional peer dependency at ^2.0.0. With npm, upgrade @vercel/otel to 2.x before upgrading mcp-handler, or the install fails with ERESOLVE. github.com - Signature changed
McpHandlerOptions
Was type McpHandlerOptions = ServerOptions & {maxSubscriptions?: CreateMcpHandlerOptions["maxSubscriptions"]; serverInfo?: {name: string; version: string;}; verboseLogs?: boolean; onEvent?: (event: McpEvent) => void; experimental_webMcp?... npmjs.com
mcp-handler 2.3.1 breaking changes
- Behavior changed
Expired tokens, including tokens at their expiration time, now receive 401 invalid_token before required scopes are evaluated. Code that expects a scope error for expired tokens must handle the 401 instead. github.com - Behavior changed
withMcpAuth
An OAuthError thrown by verifyToken now sets the response's own code and status, and it is no longer logged. Untyped errors are still logged and answered with 401 invalid_token. github.com
mcp-handler 2.1.2 breaking changes
- Signature changed
McpHandlerOptions
Was type McpHandlerOptions = ServerOptions & {maxSubscriptions?: CreateMcpHandlerOptions["maxSubscriptions"]; serverInfo?: {name: string; version: string;}; verboseLogs?: boolean; onEvent?: (event: McpEvent) => void;}; now type... npmjs.com
mcp-handler 2.1.1 breaking changes
- Signature changed
McpHandlerOptions
Was type McpHandlerOptions = ServerOptions & {serverInfo?: {name: string; version: string;}; verboseLogs?: boolean; onEvent?: (event: McpEvent) => void;}; now type McpHandlerOptions = ServerOptions & {maxSubscriptions?... npmjs.com
mcp-handler 2.1.0 breaking changes
- Removed
basePath
The deprecated 1.x compatibility options were removed. Stop passing basePath to createMcpHandler. github.com - Removed
disableSse
The deprecated 1.x compatibility options were removed. Stop passing disableSse to createMcpHandler. github.com - Removed
maxDuration
The deprecated 1.x compatibility options were removed. Stop passing maxDuration to createMcpHandler. github.com - Removed
redisUrl
The deprecated 1.x compatibility options were removed. Stop passing redisUrl to createMcpHandler. github.com - Removed
sessionIdGenerator
The deprecated 1.x compatibility options were removed. Stop passing sessionIdGenerator to createMcpHandler. github.com - Removed
sseEndpoint
The deprecated 1.x compatibility options were removed. Stop passing sseEndpoint to createMcpHandler. github.com - Removed
sseMessageEndpoint
The deprecated 1.x compatibility options were removed. Stop passing sseMessageEndpoint to createMcpHandler. github.com - Removed
streamableHttpEndpoint
The deprecated 1.x compatibility options were removed. Stop passing streamableHttpEndpoint to createMcpHandler. github.com - Signature changed
createMcpHandler
createMcpHandler(initialize, serverOptions, config) is now createMcpHandler(initialize, options), where options combines ServerOptions with serverInfo, verboseLogs and onEvent. Update calls to pass one options object. npmjs.com
mcp-handler 2.0.1 breaking changes
- Behavior changed
The MCP handler is now mounted directly at a framework route, and the CLI generates app/api/mcp/route.ts. Legacy transport endpoint routing is removed, so code relying on it must move to the direct route mount. github.com - Configuration changed
Deprecated route, SSE, Redis, and session config keys are still accepted but have no effect. Users relying on them for behavior must stop depending on them. github.com
Older versions
2 older versions, each with its first changes. Sign up to see every change
Show 2 older versions
mcp-handler 2.0.0 breaking changes
- Removed
message
The legacy HTTP+SSE transport (protocol 2024-11-05) is gone. The /message endpoint now answers 410 Gone, so clients must use Streamable HTTP. github.com - Removed
server.tool
The variadic server.tool(...) form is gone. Register tools with registerTool instead. github.com
And 6 more in this version.
mcp-handler 1.1.0 breaking changes
- Configuration changed
The package now requires @modelcontextprotocol/sdk 1.26.0 or later, which uses web streams. Projects pinned to an older SDK version must upgrade it. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.