Repository navigation
mcp: answer 2026-07-28 requests with the spec's status codes (DEX-84) - #39698
Draft
bobbyiliev wants to merge 2 commits into
Draft
bobbyiliev wants to merge 2 commits into
bobbyiliev wants to merge 2 commits into
Conversation
bobbyiliev
force-pushed
the
mcp-status-codes
branch
from
October 9, 2026 15:33
a716817 to
6f642ef
Compare
bobbyiliev
force-pushed
the
mcp-status-codes
branch
from
October 9, 2026 16:12
6f642ef to
33ea8d5
Compare
This branch has not been deployed
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.
On 2026-07-28 requests, an unknown method (and
ping, which that version removes) now gets HTTP 404 with-32601. A body that parses as JSON but not as a known request (an unknown tool, bad arguments) is still checked against the mirrored headers andparams._metafirst, then gets-32602in a 200 response. A notification that fails to parse gets 400, and a body that is not a JSON object gets-32600with 400. 2025-11-25 requests and the flag-off path keep their current responses, including the 422s. Real clients probingserver/discoverstill fall back toinitializeon the 404. Stacked on #39695, so its commits show here until it lands. Closes DEX-84 and DEX-85.Tests: unit tests for parse failures and the raw-name header check, and new cases in both MCP datadriven files.