Skip to content

chore(deps): bump @modelcontextprotocol/sdk from 1.29.0 to 1.31.0 - #3320

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/modelcontextprotocol/sdk-1.31.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/modelcontextprotocol/sdk-1.31.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 7, 2026

Copy link
Copy Markdown
Contributor

Bumps @modelcontextprotocol/sdk from 1.29.0 to 1.31.0.

Release notes

Sourced from @​modelcontextprotocol/sdk's releases.

1.31.0

Upgrade notes

  • Stored OAuth tokens and client information now include an issuer field. Storage that rejects unknown fields needs to allow it.
  • Pass expectedIssuer when constructing ClientCredentialsProvider, PrivateKeyJwtProvider or StaticPrivateKeyJwtProvider. Constructing them without it is deprecated.

What's Changed

Full Changelog: modelcontextprotocol/typescript-sdk@1.30.1...1.31.0

1.30.1

What's Changed

New Contributors

Full Changelog: modelcontextprotocol/typescript-sdk@1.30.0...1.30.1

1.30.0

What's Changed

New Contributors

Full Changelog: modelcontextprotocol/typescript-sdk@v1.29.0...1.30.0

Commits
  • 4b0051f chore: bump version to 1.31.0 (#2890)
  • 51ad4f0 [v1.x] Bind stored OAuth credentials to the authorization server that issued ...
  • 289ac2c chore: bump version to 1.30.1 (#2848)
  • 12b4256 fix(auth): preserve resource URI without trailing slash (#1968) (#1972)
  • a9f6eb7 [v1.x] fix(server): read HTTP request bodies with a size limit and bound JSON...
  • 2d889f2 chore: bump version to 1.30.0 (#2563)
  • e3f3daa Fix SSE keep-alive timer lifecycle in Streamable HTTP server transport (v1.x)...
  • bb5a718 fix(deps): widen @​hono/node-server past GHSA-frvp-7c67-39w9 (#2549)
  • 1dad263 fix: send SSE keep-alive comment frames from Streamable HTTP server transport...
  • 69749aa Validate Content-Type by parsed media type instead of substring match (v1.x) ...
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​modelcontextprotocol/sdk since your current version.


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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk) from 1.29.0 to 1.31.0.
- [Release notes](https://github.com/modelcontextprotocol/typescript-sdk/releases)
- [Commits](modelcontextprotocol/typescript-sdk@v1.29.0...1.31.0)

---
updated-dependencies:
- dependency-name: "@modelcontextprotocol/sdk"
  dependency-version: 1.31.0
  dependency-type: direct:production
...

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 Oct 7, 2026
@vercel

vercel Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
hyperdx-oss Ready Ready Preview Oct 7, 2026 5:09pm UTC
hyperdx-storybook Ready Ready Preview Oct 7, 2026 5:09pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Oct 7, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: db18cc7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@greptile-apps

greptile-apps Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

PR author is in the excluded authors list.

@github-actions github-actions Bot added the review/tier-1 Trivial — auto-merge candidate once CI passes label Oct 7, 2026
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

🟢 Tier 1 — Trivial

Docs, images, lock files, a dependency bump, or an automated release. No functional code changes detected.

Why this tier:

  • Bot author: dependabot[bot]

Review process: Auto-merge once CI passes. No human review required.
SLA: Resolves automatically.

Stats
  • Production files changed: 1
  • Production lines changed: 2
  • Branch: dependabot/npm_and_yarn/modelcontextprotocol/sdk-1.31.0
  • Author: dependabot[bot]

To override this classification, remove the review/tier-1 label and apply a different review/tier-* label. Manual overrides are preserved on subsequent pushes.

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

PR Review

✅ No issues found.

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Duplicate code analysis

No new duplicate code introduced by this PR.


jscpd compared this branch against origin/main
across app, api and common-utils. Only new clones are listed; the codebase
currently holds 127 in total (1.77%).
Run yarn dupes locally to reproduce, or yarn dupes:all for the full picture.

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Deep Review

✅ No critical issues found.

This PR is a dependency-only change: it bumps @modelcontextprotocol/sdk from 1.29.0 to 1.31.0 (manifest range ^1.27.1 → ^1.31.0) in packages/api/package.json, with the corresponding yarn.lock updates including a transitive widen of @hono/node-server to ^1.19.9 || ^2.0.5 (resolved to 2.1.3). No application source changed.

The SDK's behavioral changes across 1.30–1.31 do not reach the code paths this repo actually uses:

  • OAuth issuer/expectedIssuer changes (1.31.0) — packages/api/src/mcp/ authenticates via its own validateUserAccessKey middleware and does not construct the SDK's ClientCredentialsProvider, PrivateKeyJwtProvider, or StaticPrivateKeyJwtProvider, so the new expectedIssuer deprecation does not apply.
  • Body-size-limit / batch-length reader (1.30.1) — packages/api/src/mcp/app.ts passes an already-parsed req.body into transport.handleRequest(req, res, req.body), bypassing the SDK's new internal size-limited body reader.
  • Parsed-media-type Content-Type validation (1.30.0) — standard application/json clients pass both the old substring and new parsed-media-type checks; no regression for real clients.
  • @hono/node-server 1.x → 2.x major bump — transitive-only with no direct imports in the repo; the SDK's widened peer range declares support for 2.x, so it cannot reach repo runtime through an unsupported API.

The single resolved @hono/node-server entry (2.1.3) shows no conflicting duplicate in the lockfile.

🟡 P2 -- recommended

  • packages/api/src/mcp/app.ts:77 -- The stateless Streamable HTTP transport is the only consumer touched by the SDK bump, and nothing in this diff exercises it; the SDK's transport-layer changes (Content-Type parsing, keep-alive timer lifecycle) are only validated by the existing MCP integration suite.
    • Fix: Run the packages/api/src/mcp/__tests__/*.int.test.ts suite against the upgraded SDK before merge to confirm the transport and tool registration behavior is unchanged.

Reviewers (5): correctness, reliability, security, api-contract, previous-comments.

Testing gaps: The prior PR comments are automated bot status only (Vercel deploy, changeset-bot, greptile excluded-author) with no actionable human feedback; the change carries no new unit tests, which is expected for a dependency bump and is covered by running the existing MCP integration tests.

No finding blocks merge automatically. A maintainer will expect P0/P1 findings in code this PR changes to be fixed; P2/P3 are your call -- fix or reply. Never fix findings about surrounding code here; reply instead. Do not widen the PR. How to respond

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

E2E Test Results

✅ All tests passed • 404 passed • 1 skipped • 1574s

Status Count
✅ Passed 404
❌ Failed 0
⚠️ Flaky 1
⏭️ Skipped 1

Tests ran across 4 shards in parallel.

View full report →

@dependabot @github

dependabot Bot commented on behalf of github Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #3424.

@dependabot dependabot Bot closed this Oct 20, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/modelcontextprotocol/sdk-1.31.0 branch October 20, 2026 21:15

This branch was successfully deployed

2 active deployments
Preview – hyperdx-oss — db18cc79 Deployed Oct 7, 2026 by vercel[bot]
Preview – hyperdx-storybook — db18cc79 Deployed Oct 7, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code review/tier-1 Trivial — auto-merge candidate once CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants