Skip to content

mcp: check params._meta on 2026-07-28 requests (DEX-81, DEX-80) - #39695

Draft
bobbyiliev wants to merge 3 commits into
MaterializeInc:mainfrom
bobbyiliev:mcp-meta-validation
Draft

bobbyiliev wants to merge 3 commits into
MaterializeInc:mainfrom
bobbyiliev:mcp-meta-validation

Conversation

@bobbyiliev

@bobbyiliev bobbyiliev commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

On 2026-07-28 requests, params._meta must carry io.modelcontextprotocol/protocolVersion, matching the MCP-Protocol-Version header, and io.modelcontextprotocol/clientCapabilities. A mismatch gets -32020 HeaderMismatch, and a missing or mistyped field gets -32602, both with HTTP 400. Notifications and 2025-11-25 requests are unchanged. Stacked on #39694, so its commit shows here until it lands. Closes DEX-81 and DEX-80.

Tests: unit tests for the _meta check, and new cases in the 2026-07-28 datadriven file.

This branch has not been deployed

No deployments
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.

1 participant