Skip to content

Conversation

@mattzcarey
Copy link
Contributor

node: node-based transports (streamable-http and sse)
express: common stuff for servers using express.

Motivation and Context

Reduces dependencies in Server package down to the minimum

How Has This Been Tested?

all tests pass and added standalone tests for the new base streamable-http server transport (renamed http.ts for brevity)

Breaking Changes

users will need to import StreamableHTTPServerTransport (and SSE equivalent) from @modelcontextprotocol/node
users should use HTTPServerTransport from @modelcontextprotocol/server for the web standards based transport

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

Removed the fixtures in server package sice they were duplicated from the test-helpers package. We should make custom lint rules to catch this stuff in future.

@mattzcarey mattzcarey requested a review from a team as a code owner December 24, 2025 13:45
@changeset-bot
Copy link

changeset-bot bot commented Dec 24, 2025

🦋 Changeset detected

Latest commit: a87c0c5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@modelcontextprotocol/express Patch
@modelcontextprotocol/node Patch
@modelcontextprotocol/test-integration Patch
@modelcontextprotocol/server Patch

Not sure what this means? Click here to learn what changesets are.

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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 24, 2025

Open in StackBlitz

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/client@1336
npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/server@1336

commit: a87c0c5

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.

2 participants