Skip to content

Clarify initialize version header precedence#2732

Open
AIandI0x1 wants to merge 1 commit into
modelcontextprotocol:mainfrom
AIandI0x1:codex/clarify-initialize-version-header
Open

Clarify initialize version header precedence#2732
AIandI0x1 wants to merge 1 commit into
modelcontextprotocol:mainfrom
AIandI0x1:codex/clarify-initialize-version-header

Conversation

@AIandI0x1
Copy link
Copy Markdown

Summary

  • clarify that HTTP initialize negotiates protocol version from params.protocolVersion
  • state that MCP-Protocol-Version is not required on the initial initialize request
  • state that an initial request header must not override the body value used for negotiation

Fixes #2721.

Validation

  • npm run check:docs:format
  • npm run check:docs:js-comments
  • npx -p node@24 -p mint@4.2.565 -c 'node --version && cd docs && mint broken-links'

Note: npm run check:docs under the system Node failed because Mintlify does not support Node 25; the broken-link check passed under Node 24.15.0, matching the repo .nvmrc major version.

@AIandI0x1 AIandI0x1 requested a review from a team as a code owner May 16, 2026 05:09
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.

Clarify behavior when initialize.params.protocolVersion conflicts with MCP-Protocol-Version

1 participant