Skip to content

Conversation

@mattzcarey
Copy link
Contributor

@mattzcarey mattzcarey commented Dec 8, 2025

Cleanup the fallback strategy for protocol validation in the streamable http transport. Alot of people building MCP Servers end up validating this based on a static list in their transport which is not ideal and leads to these errors: modelcontextprotocol/inspector#959.

Motivation and Context

How Has This Been Tested?

Breaking Changes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

Bug fix in agents sdk - cloudflare/agents#720

@mattzcarey mattzcarey requested a review from a team as a code owner December 8, 2025 14:55
@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 8, 2025

Open in StackBlitz

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/sdk@1247

commit: ed64dd1

@mattzcarey mattzcarey changed the title Transport level protocol version Protocol validation Dec 8, 2025
@mattzcarey mattzcarey changed the title Protocol validation Protocol date validation Dec 8, 2025
@mattzcarey mattzcarey closed this Dec 8, 2025
@mattzcarey mattzcarey reopened this Dec 8, 2025
@felixweinberger felixweinberger merged commit fbf5fc9 into main Dec 8, 2025
15 checks passed
@felixweinberger felixweinberger deleted the feat-transport-level-protocol-version branch December 8, 2025 17:46
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.

3 participants