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

# @mastra/mcp breaking changes

@mastra/mcp 2.0.0 (September 22, 2026) is its newest release with breaking changes, 71 of them. The first: Removed connectSSE. Every breaking API change we have recorded in @mastra/mcp on npm: 115 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.12.0`, released December 2, 2026. [Source repository](https://github.com/mastra-ai/mastra)

Its 1.0.0-beta.0 release requires Node.js 22.13.0 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [1.0.0](#v-1-0-0) to [2.0.0](#v-2-0-0): 96 breaking changes in 3 versions.

## @mastra/mcp 2.0.0 breaking changes

@mastra/mcp 2.0.0, released September 22, 2026: 71 breaking changes.

- **Removed** `connectSSE`  

connectSSE was removed along with the standalone HTTP+SSE transport. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `ElicitationActions`  

ElicitationActions was removed in @mastra/mcp 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Removed** `ElicitationHandler`  

ElicitationHandler was removed in @mastra/mcp 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Removed** `eventSourceInit`  

eventSourceInit was removed. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `getServer`  

getServer() was removed. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `handleServerlessRequest`  

handleServerlessRequest was removed. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `InternalMastraMCPClientOptions.capabilities`  

InternalMastraMCPClientOptions.capabilities was removed in @mastra/mcp 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Removed** `logging.setLevel`  

logging/setLevel was removed; log levels are now requested per request through the metadata key. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `MastraApiMCPServer`  

MastraApiMCPServer was removed while its tool design is reconsidered. Code that imports or constructs it must be changed. [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Removed** `MastraApiMCPServerOptions`  

MastraApiMCPServerOptions was removed in @mastra/mcp 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Removed** `MastraPrompt`  

MastraPrompt was removed in @mastra/mcp 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Removed** `mcp.elicitation.onRequest`  

Client elicitation onRequest was replaced by a per-server inputRequests handler. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `MCPOAuthClientProvider.saveClientInformation`  

MCPOAuthClientProvider.saveClientInformation was removed in @mastra/mcp 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Removed** `MCPServer.protocolVersion`  

The server protocolVersion option was removed; servers serve only the 2026-07-28 revision. Remove the option from server definitions. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `MCPServerProtocolVersion`  

MCPServerProtocolVersion was removed in @mastra/mcp 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Removed** `OAuthClientInformationFull`  

OAuthClientInformationFull was removed in @mastra/mcp 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Removed** `OAuthClientRegistrationError`  

OAuthClientRegistrationError was removed in 2.0. [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Removed** `reconnectionOptions`  

reconnectionOptions was removed. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `registerClient`  

registerClient was removed in 2.0; MCPOAuthClientProvider no longer registers dynamically. [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Removed** `RequestOptions`  

RequestOptions was removed in @mastra/mcp 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Removed** `resources.subscribe`  

The resources/subscribe method was removed; resources.subscribe keeps its signature over a subscriptions stream. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `Root`  

Root was removed in @mastra/mcp 2.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Removed** `roots`  

The roots capability was removed. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `sampling`  

The sampling capability was removed. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `sendLoggingMessage`  

sendLoggingMessage() was removed. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `sessionId`  

sessionId was removed because there are no session headers in the new revision. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `sessionIds`  

sessionIds was removed because there are no session headers in the new revision. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `startHonoSSE`  

startHonoSSE was removed along with the standalone HTTP+SSE transport. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `startSSE`  

startSSE was removed along with the standalone HTTP+SSE transport. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Behavior changed**  

The package now requires @mastra/core 1.68 or newer, and Hono ^4.12.8 is a required peer dependency. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Behavior changed** `context.mcp.elicitation.sendRequest`  

Tools that need caller input must call context.suspend and return, then read context.resumeData on the rerun. sendRequest throws on a 2.0 server. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Behavior changed** `MCP_SERVER_REQUEST`  

Requests now produce an MCP_SERVER_REQUEST root span, and served tools nest under it instead of creating a root TOOL_CALL span. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Behavior changed** `MCPOAuthClientProvider`  

MCPOAuthClientProvider requires exactly one of clientInformation or clientMetadataUrl and never registers dynamically. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Behavior changed** `resources.subscribe`  

resources.subscribe and unsubscribe keep their signatures but use one subscriptions/listen stream per server. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Behavior changed** `server.executeTool`  

executeTool and the REST execute route now return a status object and report invalid input as an error. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Default changed** `MCPClient.protocolVersion`  

MCPClient now probes each server and falls back to the legacy handshake unless protocolVersion pins a version. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Signature changed** `createSimpleTokenProvider`  

Was function createSimpleTokenProvider(accessToken: string, options: {redirectUrl: string | URL; clientMetadata: OAuthClientMetadata; clientInformation?: OAuthClientInformation; tokenType?: string; refreshToken?: string; expiresIn?... [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Signature changed** `InternalMastraMCPClient.constructor`  

Was constructor({name, version, server, capabilities, timeout}: InternalMastraMCPClientOptions); now constructor({name, version, server, timeout}: InternalMastraMCPClientOptions). [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Signature changed** `InternalMastraMCPClient.finishAuth`  

Was finishAuth(authorizationCode: string): Promise\<void>; now finishAuth(authorizationCode: string, issuer?: string): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Signature changed** `InternalMastraMCPClient.setPromptListChangedNotificationHandler`  

Was setPromptListChangedNotificationHandler(handler: () => void): void; now setPromptListChangedNotificationHandler(handler: () => void): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Signature changed** `InternalMastraMCPClient.setResourceListChangedNotificationHandler`  

Was setResourceListChangedNotificationHandler(handler: () => void): void; now setResourceListChangedNotificationHandler(handler: () => void): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Signature changed** `InternalMastraMCPClient.setResourceUpdatedNotificationHandler`  

Was setResourceUpdatedNotificationHandler(handler: (params: any) => void): void; now setResourceUpdatedNotificationHandler(handler: (params: {uri: string;}) => void): void. [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Signature changed** `InternalMastraMCPClient.setToolListChangedNotificationHandler`  

Was setToolListChangedNotificationHandler(handler: () => void): void; now setToolListChangedNotificationHandler(handler: () => void): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Signature changed** `InternalMastraMCPClient.subscribeResource`  

Was subscribeResource(uri: string): Promise\<EmptyResult>; now subscribeResource(uri: string): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Signature changed** `InternalMastraMCPClient.unsubscribeResource`  

Was unsubscribeResource(uri: string): Promise\<EmptyResult>; now unsubscribeResource(uri: string): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Signature changed** `InternalMastraMCPClientOptions`  

Was type InternalMastraMCPClientOptions = {name: string; server: MastraMCPServerDefinition; capabilities?: ClientCapabilities; version?: string; timeout?: number;}; now type InternalMastraMCPClientOptions = {name: string; server... [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Signature changed** `MCPClient.resources`  

Was readonly resources: {/\*\* \* Lists all available resources from all configured servers. \* \* Returns a map of server names to their resource arrays. Errors for individual \* servers are logged but don't throw - failed servers return empty... [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Signature changed** `MCPClientServerProxy.convertTools`  

Was convertTools(\_tools: ToolsInput, \_agents?: MCPServerConfig\['agents'\], \_workflows?: MCPServerConfig\['workflows'\]): Record\<string, any>; now convertTools(\_tools: ToolsInput): {}. [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Signature changed** `MCPClientServerProxy.executeTool`  

Was executeTool(toolId: string, args: any, \_executionContext?: {messages?: any\[\]; toolCallId?: string;}): Promise\<any>; now executeTool(toolId: string, input: unknown, context?: Parameters\<MCPServerBase\['executeTool'\]>\[2\])... [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)
- **Signature changed** `MCPClientServerProxy.getToolInfo`  

Was getToolInfo(toolId: string): {name: string; description?: string; inputSchema: any; outputSchema?: any; toolType?: MCPToolType; \_meta?: Record\<string, unknown>;} | undefined | Promise<{name: string; description?: string; inputSchema... [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/2.0.0)

And 21 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @mastra/mcp 2.0.0-alpha.5 breaking changes

@mastra/mcp 2.0.0-alpha.5, released September 22, 2026: 1 breaking change.

- **Behavior changed** `TOOL_CALL`  

Requests now get an MCP_SERVER_REQUEST root span, and a served tool no longer produces a separate root TOOL_CALL span. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)

## @mastra/mcp 2.0.0-alpha.4 breaking changes

@mastra/mcp 2.0.0-alpha.4, released September 22, 2026: 24 breaking changes.

- **Removed** `connectSSE`  

connectSSE was removed in 2.0. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `eventSourceInit`  

The eventSourceInit option was removed in 2.0. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `getServer`  

getServer() was removed in 2.0. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `handleServerlessRequest`  

handleServerlessRequest was removed in 2.0. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `logging.setLevel`  

Log levels are now requested per request via the io.modelcontextprotocol/logLevel metadata key. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `protocolVersion`  

The server protocolVersion option was removed. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `reconnectionOptions`  

The reconnectionOptions option was removed in 2.0. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `resources.subscribe`  

The resources/subscribe method was removed; resources.subscribe keeps its signature and uses a subscriptions/listen stream. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `roots`  

The roots capability was removed in 2.0. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `sampling`  

The sampling capability was removed in 2.0. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.0.0/packages/mcp/CHANGELOG.md)

And 14 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @mastra/mcp 1.0.0 breaking changes

@mastra/mcp 1.0.0, released January 20, 2026: 9 breaking changes.

- **Removed** `LogMessage.runtimeContext`  

LogMessage.runtimeContext was removed in @mastra/mcp 1.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/1.0.0)
- **Removed** `MastraMCPClient`  

Use MCPClient instead. [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/1.0.0)
- **Removed** `MCPTool`  

MCPTool was removed in @mastra/mcp 1.0.0 [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/1.0.0)
- **Signature changed** `ElicitationActions`  

Was type ElicitationActions = {sendRequest: (request: ElicitRequest\['params'\]) => Promise\<ElicitResult>;}; now type ElicitationActions = {sendRequest: (request: ElicitRequest\['params'\], options?: RequestOptions) => Promise\<ElicitResult>;}. [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/1.0.0)
- **Signature changed** `ElicitationActions.sendRequest`  

Was sendRequest: (request: ElicitRequest\['params'\]) => Promise\<ElicitResult>; now sendRequest: (request: ElicitRequest\['params'\], options?: RequestOptions) => Promise\<ElicitResult>. [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/1.0.0)
- **Signature changed** `LoggingLevel`  

Was export type {LoggingLevel, LogMessage, LogHandler, MastraMCPServerDefinition, ElicitationHandler} from './client.js'; now export type {LoggingLevel, LogMessage, LogHandler, MastraMCPServerDefinition, ElicitationHandler... [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/1.0.0)
- **Signature changed** `MCPServer.convertTools`  

Was convertTools(tools: ToolsInput, agentsConfig?: Record\<string, Agent>, workflowsConfig?: Record\<string, Workflow>): Record\<string, ConvertedTool>; now convertTools(tools: ToolsInput, agentsConfig?: Record\<string, Agent>... [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/1.0.0)
- **Signature changed** `Resource`  

Was export type {Resource, ResourceTemplate}; now export type {Resource, ResourceTemplate, RequestOptions}. [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/1.0.0)
- **Signature changed** `ResourceTemplate`  

Was export type {Resource, ResourceTemplate}; now export type {Resource, ResourceTemplate, RequestOptions}. [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/1.0.0)

## @mastra/mcp 1.0.0-beta.5 breaking changes

@mastra/mcp 1.0.0-beta.5, released January 20, 2026: 1 breaking change.

- **Behavior changed**  

With newer SDK versions, other errors such as 401 are re-thrown instead of falling back to SSE. Handle those errors directly. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@1.0.0/packages/mcp/CHANGELOG.md)

## @mastra/mcp 1.0.0-beta.0 breaking changes

@mastra/mcp 1.0.0-beta.0, released January 20, 2026: 9 breaking changes.

- **Removed**  

The package now requires Node.js 22.13.0 or later. Upgrade Node.js before installing this version. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@1.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `mcpClient.getResources`  

mcpClient.getResources() is gone; remove calls to it. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@1.0.0/packages/mcp/CHANGELOG.md)
- **Removed** `MCPConfiguration`  

The MCPConfiguration class has been removed; stop using it. [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/1.0.0)
- **Removed** `MCPConfigurationOptions`  

The MCPConfigurationOptions type has been removed; stop using it. [npmjs.com](https://www.npmjs.com/package/@mastra/mcp/v/1.0.0)
- **Renamed** `getAgents`  

Calls to getAgents must be changed to listAgents. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@1.0.0/packages/mcp/CHANGELOG.md)
- **Renamed** `getTools`  

Calls to getTools must be changed to listTools. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@1.0.0/packages/mcp/CHANGELOG.md)
- **Renamed** `getWorkflows`  

Calls to getWorkflows must be changed to listWorkflows. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@1.0.0/packages/mcp/CHANGELOG.md)
- **Renamed** `RuntimeContext`  

Code that imports or uses RuntimeContext must switch to RequestContext. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@1.0.0/packages/mcp/CHANGELOG.md)
- **Signature changed** `tool.execute`  

Tools now receive input data and a context as two arguments instead of a single object with context and other fields. Update execute functions to the new form. [github.com](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@1.0.0/packages/mcp/CHANGELOG.md)

## Related packages

- [@mastra/core](https://since.dev/packages/npm/@mastra/core.md)
- [@mastra/server](https://since.dev/packages/npm/@mastra/server.md)
- [@mastra/deployer](https://since.dev/packages/npm/@mastra/deployer.md)
- [mastra](https://since.dev/packages/npm/mastra.md)
- [@mastra/libsql](https://since.dev/packages/npm/@mastra/libsql.md)
- [@mastra/memory](https://since.dev/packages/npm/@mastra/memory.md)

## 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.
