Skip to content

[Conformance] Target 2025-11-25 spec in conformance fixtures#303

Open
soyuka wants to merge 1 commit into
modelcontextprotocol:mainfrom
soyuka:conformance-2025-11-25
Open

[Conformance] Target 2025-11-25 spec in conformance fixtures#303
soyuka wants to merge 1 commit into
modelcontextprotocol:mainfrom
soyuka:conformance-2025-11-25

Conversation

@soyuka
Copy link
Copy Markdown
Contributor

@soyuka soyuka commented May 12, 2026

The conformance test runner (@modelcontextprotocol/conformance@0.1.16) covers the 2025-11-25 spec — adding 6 scenarios on top of 2025-06-18, of which json-schema-2020-12 (SEP-1613) requires the fixture to expose a tool whose inputSchema exercises $schema / $defs / $ref / additionalProperties.

Changes

  • tests/Conformance/server.php and tests/Conformance/client.php now negotiate ProtocolVersion::V2025_11_25 via setProtocolVersion().
  • The server fixture registers json_schema_2020_12_tool with the schema expected by SEP-1613.

The SDK already supports ProtocolVersion::V2025_11_25 in the enum; this only changes what the conformance fixtures advertise. The SDK's MessageInterface::PROTOCOL_VERSION default is unchanged (still V2025_06_18).

Results

Run with `--spec-version 2025-11-25 --suite all`:

  • Server: 42 passed, 1 failed (`dns-rebinding-protection`, already in `conformance-baseline.yml`)
  • Client: 2 passed, 42 failed — all in baseline, `Baseline check passed: all failures are expected.`

Test plan

  • `make conformance-server` against `--spec-version 2025-11-25 --suite all`
  • `make conformance-client` against `--spec-version 2025-11-25 --suite all` with baseline
  • `json_schema_2020_12_tool` registered with `$schema`, `$defs`, `$ref`, `additionalProperties` preserved through `tools/list` serialization (verified 4/4 conformance sub-checks)

The conformance test runner (npm @modelcontextprotocol/conformance@0.1.16)
covers the 2025-11-25 spec — adding 6 scenarios on top of 2025-06-18, of
which json-schema-2020-12 (SEP-1613) requires the fixture to expose a tool
whose inputSchema exercises $schema/$defs/$ref/additionalProperties.

- tests/Conformance/server.php and tests/Conformance/client.php now
  negotiate ProtocolVersion::V2025_11_25 via setProtocolVersion().
- The server fixture registers json_schema_2020_12_tool with the schema
  expected by SEP-1613.

Result against `--spec-version 2025-11-25 --suite all`:
- server: 42 passed, 1 failed (dns-rebinding-protection, in baseline)
- client: 2 passed, 42 failed (all in baseline, baseline check passes)
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