docs: drop references to the MCP initialization handshake (SEP-2575)#37
Merged
Merged
Conversation
MCP is moving to stateless-by-default via SEP-2575, which removes the mandatory initialization handshake. Reword the Server Card docs and schema doc-comment so they no longer describe themselves in terms of the handshake / lifecycle initialization step. - README: a Server Card lets clients discover and connect to a server (drop "before initialization") - docs/discovery.md: discovery answers _where_ to connect before any protocol exchange (drop "complements the lifecycle handshake") - schema.ts: supportedProtocolVersions lets clients select a compatible protocol version "before connecting" (drop "before initialization"); schema.json regenerated from schema.ts Wording/schema-comment cleanup only; no schema fields change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
SamMorrowDrums
approved these changes
Jun 27, 2026
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.
Summary
MCP is moving to stateless-by-default via SEP-2575 ("Make MCP Stateless", modelcontextprotocol/modelcontextprotocol#2575), which removes the mandatory initialization handshake and replaces it with stateless alternatives (per-request protocol version,
server/discover, per-request client capabilities,messages/listen).Since the initialization handshake is going away, the Server Card docs/schema should stop describing themselves in terms of it. This PR is purely wording / schema-comment cleanup — it reword the handshake-dependent phrasing and changes no schema fields or semantics.
Changes
README.md— a Server Card "describes a remote MCP server enough for clients to discover and connect to it" (dropped "before initialization").docs/discovery.md— discovery "answers where to connect, before any protocol exchange establishes how to communicate" (dropped "complements the lifecycle handshake").schema.ts—supportedProtocolVersionsdoc-comment now reads "Allows clients to select a compatible protocol version before connecting" (dropped "before initialization").schema.json— regenerated fromschema.tsvianpm run generate; the only diff is the doc-comment text above (never hand-edited).A fresh
grepforinitiali,handshake, andlifecycleacross the tracked repo confirms no remaining handshake-dependent references.Verification
npm run check—schema.jsonis in sync withschema.tsand TypeScript compiles cleanly.npm run validate— all 7 examples pass (valid examples validate, invalid examples are rejected).npm run format:checkon the changed files (README.md,docs/discovery.md,schema.ts,schema.json) — all use Prettier code style.schema.jsondiff matches theschema.tsdoc-comment change exactly (no other generated drift).Proof —
npm run validateProof — generated
schema.jsondiff"supportedProtocolVersions": { - "description": "MCP protocol versions actively supported by this remote endpoint. Allows\nclients to negotiate a compatible protocol version before initialization.", + "description": "MCP protocol versions actively supported by this remote endpoint. Allows\nclients to select a compatible protocol version before connecting.",Notes for reviewers
🤖 Generated with Claude Code