Skip to content

Version Packages - #2

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Dec 22, 2025 •

Copy link
Copy Markdown

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@modelcontextprotocol/client@2.5.0

Minor Changes

  • #3115 1e608ca Thanks @mattzcarey! - Client, Server and McpServer now emit OpenTelemetry spans and mcp.client.operation.duration / mcp.server.operation.duration histograms for every MCP request and notification except notifications/message, following the OpenTelemetry semantic conventions for MCP, and propagate W3C trace context through params._meta (SEP-414). There is nothing to configure: register an OpenTelemetry SDK and MCP traffic shows up. Pass openTelemetry: false to a Client, Server or McpServer to turn its instrumentation off. Without one, the OpenTelemetry API is a no-op, nothing is recorded and messages are unchanged.

    @opentelemetry/api (^1.9.0) is a new required peer dependency of @modelcontextprotocol/client and @modelcontextprotocol/server, so the SDK uses the same copy as the application's OpenTelemetry SDK. npm 7+, pnpm 8+ and Bun install it automatically. Setups that don't install peers must add @opentelemetry/api to their dependencies, or importing either package fails: Yarn (classic, and Berry with any linker), npm --legacy-peer-deps, and pnpm with auto-install-peers=false.

    What changes for applications that already run an OpenTelemetry SDK:

    • MCP spans and metrics appear under the @modelcontextprotocol/client and @modelcontextprotocol/server instrumentation scopes. If you already trace MCP, pass openTelemetry: false, or with Sentry remove its McpServer integration, to avoid duplicate spans. Filtering the MCP scopes instead leaves handler spans parented on spans that are never exported.
    • Outgoing requests and notifications carry whatever your global propagator writes, in params._meta, as HTTP requests carry it in headers: traceparent and tracestate, plus baggage if the propagator includes W3C Baggage (the NodeSDK default), so baggage entries reach MCP peers, including third-party servers. Register W3CTraceContextPropagator alone to send trace context only.
    • Servers that validate a custom method's params with a strict schema need an optional _meta member, as they already do for callers that pass onprogress.

    Spans do not record tool arguments, tool results or prompt arguments. They do record JSON-RPC error messages, handler exception messages and resource URIs. The span and attribute names are experimental while the MCP semantic conventions are in development.

Patch Changes

  • #3108 39ae8e6 Thanks @claude! - The bundled Ajv validator is now built with fast-uri 3.1.9 (was 3.1.8). A schema no longer compiles when a $id or $ref has a percent-encoded character before its first colon (%61:b), or { or } in the host of an http, https, ws or wss URL (http://{host}/a). Relative values keep their leading .. segments: a $ref to a $id such as ../a now resolves, and a $ref of only dot segments (., ../) no longer resolves to the root schema. Plain names, #/$defs/... references, other URLs and URNs are not affected.

  • #2877 b415e60 Thanks @dasjideepak! - Add OAuthClientProvider.skipOfflineAccessConsentPrompt (and the matching startAuthorization() option) so a client can omit the prompt=consent the SDK adds when the requested scope includes offline_access. Default behavior is unchanged. This unblocks authorization servers such as Microsoft Entra ID tenants that have user consent disabled and admin consent granted, where a forced consent prompt fails with AADSTS90095 for non-admin users.

  • Updated dependencies []:

    • @modelcontextprotocol/core@2.5.0

@modelcontextprotocol/server@2.5.0

Minor Changes

  • #3115 1e608ca Thanks @mattzcarey! - Client, Server and McpServer now emit OpenTelemetry spans and mcp.client.operation.duration / mcp.server.operation.duration histograms for every MCP request and notification except notifications/message, following the OpenTelemetry semantic conventions for MCP, and propagate W3C trace context through params._meta (SEP-414). There is nothing to configure: register an OpenTelemetry SDK and MCP traffic shows up. Pass openTelemetry: false to a Client, Server or McpServer to turn its instrumentation off. Without one, the OpenTelemetry API is a no-op, nothing is recorded and messages are unchanged.

    @opentelemetry/api (^1.9.0) is a new required peer dependency of @modelcontextprotocol/client and @modelcontextprotocol/server, so the SDK uses the same copy as the application's OpenTelemetry SDK. npm 7+, pnpm 8+ and Bun install it automatically. Setups that don't install peers must add @opentelemetry/api to their dependencies, or importing either package fails: Yarn (classic, and Berry with any linker), npm --legacy-peer-deps, and pnpm with auto-install-peers=false.

    What changes for applications that already run an OpenTelemetry SDK:

    • MCP spans and metrics appear under the @modelcontextprotocol/client and @modelcontextprotocol/server instrumentation scopes. If you already trace MCP, pass openTelemetry: false, or with Sentry remove its McpServer integration, to avoid duplicate spans. Filtering the MCP scopes instead leaves handler spans parented on spans that are never exported.
    • Outgoing requests and notifications carry whatever your global propagator writes, in params._meta, as HTTP requests carry it in headers: traceparent and tracestate, plus baggage if the propagator includes W3C Baggage (the NodeSDK default), so baggage entries reach MCP peers, including third-party servers. Register W3CTraceContextPropagator alone to send trace context only.
    • Servers that validate a custom method's params with a strict schema need an optional _meta member, as they already do for callers that pass onprogress.

    Spans do not record tool arguments, tool results or prompt arguments. They do record JSON-RPC error messages, handler exception messages and resource URIs. The span and attribute names are experimental while the MCP semantic conventions are in development.

Patch Changes

  • #3108 39ae8e6 Thanks @claude! - The bundled Ajv validator is now built with fast-uri 3.1.9 (was 3.1.8). A schema no longer compiles when a $id or $ref has a percent-encoded character before its first colon (%61:b), or { or } in the host of an http, https, ws or wss URL (http://{host}/a). Relative values keep their leading .. segments: a $ref to a $id such as ../a now resolves, and a $ref of only dot segments (., ../) no longer resolves to the root schema. Plain names, #/$defs/... references, other URLs and URNs are not affected.

  • #3167 919bb8e Thanks @mattzcarey! - Reject a tools/call with 400 / -32020 (HeaderMismatch) when a body argument declared with x-mcp-header is an object or array, with or without its Mcp-Param-* header, and when the argument is an integer outside the safe range but the header is present. Previously the header check was skipped for these values, so the call reached the tool.

  • Updated dependencies []:

    • @modelcontextprotocol/core@2.5.0

@modelcontextprotocol/server-legacy@2.5.0

Patch Changes

  • Updated dependencies []:
    • @modelcontextprotocol/core@2.5.0

@modelcontextprotocol/codemod@2.5.0

@modelcontextprotocol/core@2.5.0

@modelcontextprotocol/core-internal@2.1.0

Minor Changes

  • #3115 1e608ca Thanks @mattzcarey! - Client, Server and McpServer now emit OpenTelemetry spans and mcp.client.operation.duration / mcp.server.operation.duration histograms for every MCP request and notification except notifications/message, following the OpenTelemetry semantic conventions for MCP, and propagate W3C trace context through params._meta (SEP-414). There is nothing to configure: register an OpenTelemetry SDK and MCP traffic shows up. Pass openTelemetry: false to a Client, Server or McpServer to turn its instrumentation off. Without one, the OpenTelemetry API is a no-op, nothing is recorded and messages are unchanged.

    @opentelemetry/api (^1.9.0) is a new required peer dependency of @modelcontextprotocol/client and @modelcontextprotocol/server, so the SDK uses the same copy as the application's OpenTelemetry SDK. npm 7+, pnpm 8+ and Bun install it automatically. Setups that don't install peers must add @opentelemetry/api to their dependencies, or importing either package fails: Yarn (classic, and Berry with any linker), npm --legacy-peer-deps, and pnpm with auto-install-peers=false.

    What changes for applications that already run an OpenTelemetry SDK:

    • MCP spans and metrics appear under the @modelcontextprotocol/client and @modelcontextprotocol/server instrumentation scopes. If you already trace MCP, pass openTelemetry: false, or with Sentry remove its McpServer integration, to avoid duplicate spans. Filtering the MCP scopes instead leaves handler spans parented on spans that are never exported.
    • Outgoing requests and notifications carry whatever your global propagator writes, in params._meta, as HTTP requests carry it in headers: traceparent and tracestate, plus baggage if the propagator includes W3C Baggage (the NodeSDK default), so baggage entries reach MCP peers, including third-party servers. Register W3CTraceContextPropagator alone to send trace context only.
    • Servers that validate a custom method's params with a strict schema need an optional _meta member, as they already do for callers that pass onprogress.

    Spans do not record tool arguments, tool results or prompt arguments. They do record JSON-RPC error messages, handler exception messages and resource URIs. The span and attribute names are experimental while the MCP semantic conventions are in development.

Patch Changes

  • #3167 919bb8e Thanks @mattzcarey! - Reject a tools/call with 400 / -32020 (HeaderMismatch) when a body argument declared with x-mcp-header is an object or array, with or without its Mcp-Param-* header, and when the argument is an integer outside the safe range but the header is present. Previously the header check was skipped for these values, so the call reached the tool.

  • Updated dependencies []:

    • @modelcontextprotocol/core@2.5.0

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 2ea0c13 to 86e2281 Compare December 23, 2025 21:04
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 3 times, most recently from f04d699 to 1429955 Compare January 14, 2026 15:14
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 3 times, most recently from 9e80eca to 40e9271 Compare January 24, 2026 01:37
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 4 times, most recently from 7b7d20a to 1dcc8fb Compare February 3, 2026 10:50
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 3 times, most recently from b630790 to edea2cc Compare February 8, 2026 18:45
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from 5dda228 to 65cfe6a Compare February 22, 2026 11:00
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 65cfe6a to 8dd2d9b Compare February 25, 2026 19:00
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from 36fc020 to efa1254 Compare March 8, 2026 23:11
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from 0992122 to 9b73337 Compare March 18, 2026 23:10
@github-actions github-actions Bot changed the title Version Packages Version Packages (alpha) Apr 15, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 3 times, most recently from 98f1871 to 04169a4 Compare April 21, 2026 08:05
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 04169a4 to b3f25de Compare April 23, 2026 10:54
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from b3f25de to 741f44e Compare May 6, 2026 05:48
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from 28c2003 to 6b8cff5 Compare June 7, 2026 01:23
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 6b8cff5 to e81846a Compare June 11, 2026 22:16
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from ab48884 to b850d48 Compare June 20, 2026 01:15
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from b850d48 to 5ad25fa Compare June 24, 2026 20:11
@github-actions github-actions Bot changed the title Version Packages (alpha) Version Packages Aug 16, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 3 times, most recently from 1ca65eb to d64372c Compare August 18, 2026 18:22
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from 1122f33 to 58f9599 Compare September 1, 2026 05:57
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 58f9599 to de64953 Compare September 3, 2026 18:12
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from fac7f6a to cd36861 Compare September 23, 2026 22:23
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from cd36861 to 1466f69 Compare October 7, 2026 04:50
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from 2096a51 to cebd735 Compare October 21, 2026 03:39
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from 309f87d to 0925cf5 Compare November 1, 2026 15:49
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 0925cf5 to 83e2994 Compare November 12, 2026 00:25

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants