Skip to content

Conformance client: auth scenarios unmapped since #991 dispatch change (blocks verifying SEP-2468/SEP-2352 fixes) #1001

Description

@DaleSeo

#991 replaced the conformance client's unknown-scenario fallback (run_auth_client) with anyhow::bail!("Unsupported conformance scenario"). Ten client scenarios in the 2026-07-28 suite relied on that fallback and now fail immediately:

All of these passed (or partially passed) in the 2026-07-13 baseline in #977 via the fallback. Client stderr:

Error: Unsupported conformance scenario: auth/iss-supported

Notably this means the suite cannot currently verify #996 (SEP-2468 issuer validation, merged 2026-07-16) — auth/metadata-issuer-mismatch errors out before exercising the flow — nor future SEP-2352 work for #879.

Fix: add explicit dispatch arms in conformance/src/bin/client.rs for these scenario names (most can map to run_auth_client; authorization-server-migration needs its own flow once #879 lands).

Repro:

cargo build -p mcp-conformance
npx -y @modelcontextprotocol/conformance@0.2.0-alpha.9 client \
  --command ./target/debug/conformance-client \
  --scenario auth/metadata-issuer-mismatch --spec-version 2026-07-28

Part of #977.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2026-07-28P1High: significant functionality gap or spec violationT-bugBug fixes and error correctionsT-testTesting related changes

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions