Align SEP-2575 checks with spec PR #3002: serverInfo in result _meta, clientInfo optional

Merged
FE
4mo ago
+237-120

Spec PR modelcontextprotocol/modelcontextprotocol#3002 (merged 2026-07-15, part of the final 2026-07-28 revision) moved serverInfo into result _meta and demoted clientInfo to SHOULD. The referee still asserts the pre-#3002 shape, so a spec-correct SDK fails two SEP-2575 checks.

Changes:

  • clientInfo optional is now the positive assertion on the 2026-07-28 request envelope checks (malformed clientInfo still rejects); the two checks that previously required it are updated in place.
  • New server-identity check at SHOULD severity: a 2026-era result carrying _meta serverInfo is validated; absence is WARNING/SKIPPED, never FAIL.
  • The client-side clientInfo SHOULD split into its own check id so client and server conformance report independently.
  • Mocks and the everything-server emit the final shapes; vendored schemas re-pinned at the #3002 spec commit (71e30695).

Tested: full referee suite (419 tests) green; run end-to-end against a typescript-sdk build implementing the final shape (all SEP-2575 legs pass) and against a pre-#3002 build (the two updated checks fail as intended, the SHOULD check warns).