docs: 2026-06 migration guide + examples + changeset#2133
Draft
felixweinberger wants to merge 1 commit into
Draft
docs: 2026-06 migration guide + examples + changeset#2133felixweinberger wants to merge 1 commit into
felixweinberger wants to merge 1 commit into
Conversation
🦋 Changeset detectedLatest commit: c73c457 The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
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 |
@modelcontextprotocol/client
@modelcontextprotocol/server
@modelcontextprotocol/express
@modelcontextprotocol/fastify
@modelcontextprotocol/hono
@modelcontextprotocol/node
commit: |
This was referenced May 20, 2026
Examples migrated to ctx.mcpReq.* (works under both protocols): - toolWithSampleServer.ts: server.createMessage -> ctx.mcpReq.requestSampling - elicitationFormExample.ts: server.elicitInput -> ctx.mcpReq.elicitInput (3x) - serverGuide.examples.ts: server.listRoots -> ctx.mcpReq.listRoots - elicitationUrlExample.ts: out-of-band webhook keeps server.elicitInput; comment documents pre-2026-only limitation (no request context). Headline 2026-06 example: - honoWebStandardStreamableHttp.ts: handleHttp(server.server, opts) Fetch handler. One shared instance, no Transport, no connect(). - simpleStatelessStreamableHttp.ts: shared instance + single connected transport (was per-request); transport per-message router serves both. docs/migration.md + docs/migration-SKILL.md: 2026-06 stateless support section. Server/Client are the same classes (additive); ctx.mcpReq.* mapping table; auto-probe note; subscribe() note; LegacyTestClient pattern for tests. No .legacy/LegacyServer references (sectioned approach). docs/server.md, examples/server/README.md: updated to match. .changeset/stateless-2026-06.md: major bump core/server/client. Satisfies: 2575-R1, 2567-R1, 2322-R1
4baf6e5 to
c73c457
Compare
7995ab3 to
32ef72b
Compare
4baf6e5 to
c73c457
Compare
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migration guide, examples, and changeset for the 2026-06 stateless stack.
Types of changes
Checklist