Skip to content

chore(deps): bump @modelcontextprotocol/sdk from 1.25.2 to 1.27.1#424

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/modelcontextprotocol/sdk-1.27.1
Open

chore(deps): bump @modelcontextprotocol/sdk from 1.25.2 to 1.27.1#424
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/modelcontextprotocol/sdk-1.27.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Mar 2, 2026

Bumps @modelcontextprotocol/sdk from 1.25.2 to 1.27.1.

Release notes

Sourced from @​modelcontextprotocol/sdk's releases.

v1.27.1

What's Changed

New Contributors

Full Changelog: modelcontextprotocol/typescript-sdk@v1.27.0...v1.27.1

v1.27.0

What's Changed

New Contributors

Full Changelog: modelcontextprotocol/typescript-sdk@v1.26.0...v1.27.0

v1.26.0

Addresses "Sharing server/transport instances can leak cross-client response data" in this GHSA GHSA-345p-7cg4-v4c7

What's Changed

New Contributors

Full Changelog: modelcontextprotocol/typescript-sdk@v1.25.3...v1.26.0

v1.25.3

What's Changed

Full Changelog: modelcontextprotocol/typescript-sdk@v1.25.2...v1.25.3

Commits
  • 4faa8c8 chore: bump version to 1.27.1 (#1581)
  • 09a85a8 fix: call onerror for silently swallowed transport errors (#1580)
  • e79d14a fix: prevent command injection in example URL opening (v1.x backport) (#1579)
  • 342ea39 docs: comprehensive feature documentation for SEP-1730 Tier 1 (#1548)
  • 2084a22 docs: add governance documentation for SEP-1730 (#1547)
  • f2d2145 feat: implement auth/pre-registration conformance scenario (#1545)
  • 8cbc658 chore: bump version for v1.27.0 (#1541)
  • 5c16ae3 [v1.x] feat(tasks): add streaming methods for elicitation and sampling (#1528)
  • 97ab379 feat: add url property to RequestInfo interface (#1353)
  • 825e9ab feat: backport discoverOAuthServerInfo() and discovery caching to v1.x (#1533)
  • Additional commits viewable 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)

Summary by cubic

Upgraded @modelcontextprotocol/sdk to 1.27.1 for security and stability improvements. This includes OAuth discovery caching, streaming task APIs, and proper transport error handling; no app changes required.

Written for commit f39ac72. Summary will update on new commits. Review in cubic

Bumps [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk) from 1.25.2 to 1.27.1.
- [Release notes](https://github.com/modelcontextprotocol/typescript-sdk/releases)
- [Commits](modelcontextprotocol/typescript-sdk@v1.25.2...v1.27.1)

---
updated-dependencies:
- dependency-name: "@modelcontextprotocol/sdk"
  dependency-version: 1.27.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies javascript Pull requests that update javascript code labels Mar 2, 2026
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Mar 2, 2026

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

Project Deployment Actions Updated (UTC)
domainstack Ready Ready Preview, Comment Mar 2, 2026 5:10pm

Request Review

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.
Architecture diagram
sequenceDiagram
    participant App as Web Application
    participant SDK as MCP SDK (v1.27.1)
    participant Cache as Discovery Cache
    participant OAuth as OAuth Server
    participant Transport as MCP Transport Layer

    Note over App, Transport: OAuth Discovery & Authorization Flow

    App->>SDK: discoverOAuthServerInfo()
    SDK->>Cache: NEW: Check for cached server info
    alt Cache Miss
        Cache-->>SDK: null
        SDK->>OAuth: Fetch OpenID/OAuth metadata
        OAuth-->>SDK: Metadata response
        SDK->>Cache: NEW: Store metadata with TTL
    else Cache Hit
        Cache-->>SDK: Cached metadata
    end
    SDK-->>App: Return Server Info

    Note over App, Transport: Data Request & Error Handling Flow

    App->>SDK: Request Sampling/Elicitation
    SDK->>Transport: Send request payload
    
    alt NEW: Streaming Response
        Transport->>SDK: Stream chunks (sampling)
        SDK->>App: CHANGED: Stream data to consumer
    else CHANGED: Transport Error Handling
        Transport-xTransport: Internal/Silent Error
        Transport->>SDK: Propagate error
        SDK->>App: NEW: Trigger onerror() callback (previously swallowed)
    end

    Note over App, Transport: Security Enhancements
    App->>SDK: Open Example URL
    SDK->>SDK: CHANGED: Sanitize input (Prevent Command Injection)
    SDK->>Transport: Execute safe URL open
Loading

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

Labels

dependencies javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants