Skip to content

chore(deps): bump mcp-handler from 2.3.1 to 2.4.0 - #754

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/mcp-handler-2.4.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/mcp-handler-2.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor

Bumps mcp-handler from 2.3.1 to 2.4.0.

Release notes

Sourced from mcp-handler's releases.

v2.4.0

Minor Changes

  • 939fa1d: Write one OpenTelemetry SERVER span per MCP request or notification, following the OpenTelemetry MCP semantic conventions and the vercel.rpc.* attributes Vercel's MCP observability reads. Spans are written only when the app registers a tracer provider; mcp-handler has no runtime dependency on @opentelemetry/api. Set the endpoint label with telemetry.route, or turn spans off with telemetry: false.

    Add registerMcpOTel() in mcp-handler/otel, which registers @vercel/otel 2.x with the Vercel project as the service name and removes the raw User-Agent and Referer attributes @vercel/otel adds to spans.

    @vercel/otel is now an optional peer dependency at ^2.0.0. With npm, upgrade @vercel/otel to 2.x before you upgrade mcp-handler, or the install fails with ERESOLVE.

    With MCP Events, write mcp.event.subscription {action} and mcp.event.verify_callback spans around the calls to the application's subscription store and verifyEndpoint.

    Spans are on by default whenever the app registers a tracer provider. If your app already writes its own MCP SERVER spans with mcp.method.name, or mcp.event.* spans around its MCP Events store or verifyEndpoint, set telemetry: false or remove your spans when upgrading, or each message and subscription step is recorded twice.

  • 755e2db: Add experimental_setToolOutcome(ctx, { outcome, errorType }), which a tool handler calls to say why it failed. Its MCP span then records api_error, tool_error, execution_failure or request_error with a short error.type such as forbidden or timeout, instead of the default execution_failure / internal_error. It applies only to calls answered with an isError result.

Changelog

Sourced from mcp-handler's changelog.

2.4.0

Minor Changes

  • 939fa1d: Write one OpenTelemetry SERVER span per MCP request or notification, following the OpenTelemetry MCP semantic conventions and the vercel.rpc.* attributes Vercel's MCP observability reads. Spans are written only when the app registers a tracer provider; mcp-handler has no runtime dependency on @opentelemetry/api. Set the endpoint label with telemetry.route, or turn spans off with telemetry: false.

    Add registerMcpOTel() in mcp-handler/otel, which registers @vercel/otel 2.x with the Vercel project as the service name and removes the raw User-Agent and Referer attributes @vercel/otel adds to spans.

    @vercel/otel is now an optional peer dependency at ^2.0.0. With npm, upgrade @vercel/otel to 2.x before you upgrade mcp-handler, or the install fails with ERESOLVE.

    With MCP Events, write mcp.event.subscription {action} and mcp.event.verify_callback spans around the calls to the application's subscription store and verifyEndpoint.

    Spans are on by default whenever the app registers a tracer provider. If your app already writes its own MCP SERVER spans with mcp.method.name, or mcp.event.* spans around its MCP Events store or verifyEndpoint, set telemetry: false or remove your spans when upgrading, or each message and subscription step is recorded twice.

  • 755e2db: Add experimental_setToolOutcome(ctx, { outcome, errorType }), which a tool handler calls to say why it failed. Its MCP span then records api_error, tool_error, execution_failure or request_error with a short error.type such as forbidden or timeout, instead of the default execution_failure / internal_error. It applies only to calls answered with an isError result.

Commits
  • 5718155 chore: update package versions (#210)
  • 755e2db Let tools report why they failed on their MCP span (#211)
  • 939fa1d Write one OpenTelemetry span per MCP message for Vercel MCP observability (#209)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mcp-handler](https://github.com/vercel-labs/mcp-handler) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/vercel-labs/mcp-handler/releases)
- [Changelog](https://github.com/vercel-labs/mcp-handler/blob/main/CHANGELOG.md)
- [Commits](vercel-labs/mcp-handler@v2.3.1...v2.4.0)

---
updated-dependencies:
- dependency-name: mcp-handler
  dependency-version: 2.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 16, 2026

This branch was successfully deployed

1 active deployment
Preview — bf7d79a1 Deployed Nov 16, 2026 by dependabot[bot] via main-job #1347
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants