Skip to content

Conversation

@pcarleton
Copy link
Member

Summary

  • Refactor client testing to pass both scenario name and server URL to client commands
  • Add everything-client.ts that routes to appropriate behavior based on scenario name
  • Update documentation with new usage examples

This enables a single client that can handle all scenarios, making it easier to run test suites.

Changes

  1. everything-client.ts: New client that accepts <scenario-name> <server-url> and routes to the appropriate client behavior
  2. src/runner/client.ts: Modified to pass scenario name as first argument to client command
  3. README.md: Updated with new usage examples

Usage

# Single scenario
conformance client --command "tsx examples/clients/typescript/everything-client.ts" --scenario initialize

# Full auth suite
conformance client --command "tsx examples/clients/typescript/everything-client.ts" --suite auth

Test plan

  • Tested initialize scenario passes
  • Tested auth/basic-dcr scenario passes
  • Tested full auth suite (10 scenarios) - all pass

🤖 Generated with Claude Code

The CLI now passes both scenario name and server URL as arguments to the
client command (instead of just the server URL). This enables a single
"everything" client that can handle all scenarios based on the scenario
name it receives.

Changes:
- Update executeClient() to pass scenarioName as first argument to client
- Add everything-client.ts that routes to appropriate behavior based on
  scenario name
- Update README with new usage examples and documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 24, 2025

Open in StackBlitz

npx https://pkg.pr.new/modelcontextprotocol/conformance/@modelcontextprotocol/conformance@54

commit: 336e13a

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.

3 participants