pi runs the official client conformance suite in CI against a committed baseline

Kind: nuance · Status: current · Last verified: 2026-11-27 · Clients: pi · Revisions: 2025-03-26, 2025-06-18, 2025-11-25

Two days after MCP support landed, a4715ec9 (2026-10-01) added a CI job that runs the official conformance suite's client scenarios against pi. At 07ece436 the job pins @modelcontextprotocol/conformance@0.2.0-alpha.11.

The harness does not drive the pi binary. client.ts builds the same McpServerConnection that a url entry in mcp.json gets, calls the scenario's tool, and runs signInMcpServer with a simulated browser that fetches the authorization URL and delivers the redirect to pi's loopback callback server. Every check the suite reports is compared with baseline.json. The run fails when a baselined pass fails or goes missing, when a check fails that the baseline does not list, or when a baselined scenario did not run.

What the baseline records

Revision Scenarios Baselined failures
2025-03-26 2, both OAuth back-compat none
2025-06-18 5 none
2025-11-25 19 3

The three at 2025-11-25:

The passing set at 2025-11-25 includes initialize, tools_call, sse-retry with its Last-Event-ID and retry-timing checks, four metadata discovery variants, the scope scenarios including step-up, the three token endpoint auth methods, pre-registration, and json-schema-2020-12-preservation.

What it does not cover

For this registry the baseline is a vendor-run record at a known suite version, keyed by scenario and check. A refresh can diff baseline.json between two commits to see which checks moved.

Sources