---
title: "mcp-handler 2.4.0 Breaking Changes on npm | Since.dev"
description: "What each mcp-handler release removed, renamed or changed: 27 breaking changes in 8 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/mcp-handler
last_updated: 2026-12-04
---

# 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

Latest version `2.5.0`, released December 1, 2026. [Source repository](https://github.com/vercel-labs/mcp-handler)

Its 2.0.0 release requires [Node.js 20](https://since.dev/calendar/nodejs/20.md) or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [1.1.0](#v-1-1-0) to [2.4.0](#v-2-4-0): 26 breaking changes in 7 versions.

## mcp-handler 2.4.0 breaking changes

mcp-handler 2.4.0, released November 12, 2026: 3 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](https://github.com/vercel-labs/mcp-handler/releases/tag/v2.4.0)
- **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](https://github.com/vercel-labs/mcp-handler/releases/tag/v2.4.0)
- **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](https://www.npmjs.com/package/mcp-handler/v/2.4.0)

## mcp-handler 2.3.1 breaking changes

mcp-handler 2.3.1, released November 5, 2026: 2 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](https://github.com/vercel-labs/mcp-handler/releases/tag/v2.3.1)
- **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](https://github.com/vercel-labs/mcp-handler/releases/tag/v2.3.1)

## mcp-handler 2.1.2 breaking changes

mcp-handler 2.1.2, released September 18, 2026: 1 breaking change.

- **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](https://www.npmjs.com/package/mcp-handler/v/2.1.2)

## mcp-handler 2.1.1 breaking changes

mcp-handler 2.1.1, released August 13, 2026: 1 breaking change.

- **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](https://www.npmjs.com/package/mcp-handler/v/2.1.1)

## mcp-handler 2.1.0 breaking changes

mcp-handler 2.1.0, released July 30, 2026: 9 breaking changes.

- **Removed** `basePath`  

The deprecated 1.x compatibility options were removed. Stop passing basePath to createMcpHandler. [github.com](https://github.com/vercel-labs/mcp-handler/releases/tag/v2.1.0)
- **Removed** `disableSse`  

The deprecated 1.x compatibility options were removed. Stop passing disableSse to createMcpHandler. [github.com](https://github.com/vercel-labs/mcp-handler/releases/tag/v2.1.0)
- **Removed** `maxDuration`  

The deprecated 1.x compatibility options were removed. Stop passing maxDuration to createMcpHandler. [github.com](https://github.com/vercel-labs/mcp-handler/releases/tag/v2.1.0)
- **Removed** `redisUrl`  

The deprecated 1.x compatibility options were removed. Stop passing redisUrl to createMcpHandler. [github.com](https://github.com/vercel-labs/mcp-handler/releases/tag/v2.1.0)
- **Removed** `sessionIdGenerator`  

The deprecated 1.x compatibility options were removed. Stop passing sessionIdGenerator to createMcpHandler. [github.com](https://github.com/vercel-labs/mcp-handler/releases/tag/v2.1.0)
- **Removed** `sseEndpoint`  

The deprecated 1.x compatibility options were removed. Stop passing sseEndpoint to createMcpHandler. [github.com](https://github.com/vercel-labs/mcp-handler/releases/tag/v2.1.0)
- **Removed** `sseMessageEndpoint`  

The deprecated 1.x compatibility options were removed. Stop passing sseMessageEndpoint to createMcpHandler. [github.com](https://github.com/vercel-labs/mcp-handler/releases/tag/v2.1.0)
- **Removed** `streamableHttpEndpoint`  

The deprecated 1.x compatibility options were removed. Stop passing streamableHttpEndpoint to createMcpHandler. [github.com](https://github.com/vercel-labs/mcp-handler/releases/tag/v2.1.0)
- **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](https://www.npmjs.com/package/mcp-handler/v/2.1.0)

## mcp-handler 2.0.1 breaking changes

mcp-handler 2.0.1, released July 29, 2026: 2 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](https://github.com/vercel-labs/mcp-handler/releases/tag/v2.0.1)
- **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](https://github.com/vercel-labs/mcp-handler/releases/tag/v2.0.1)

## Older versions

2 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### mcp-handler 2.0.0 breaking changes

mcp-handler 2.0.0, released July 29, 2026: 8 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](https://github.com/vercel-labs/mcp-handler/releases/tag/v2.0.0)
- **Removed** `server.tool`  

The variadic server.tool(...) form is gone. Register tools with registerTool instead. [github.com](https://github.com/vercel-labs/mcp-handler/releases/tag/v2.0.0)

And 6 more in this version.

### mcp-handler 1.1.0 breaking changes

mcp-handler 1.1.0, released March 24, 2026: 1 breaking change.

- **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](https://github.com/vercel-labs/mcp-handler/releases/tag/v1.1.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
