@@ -15,22 +15,22 @@ Validates the Ruby SDK's conformance to the MCP specification using [`@modelcont
1515bundle exec rake conformance
1616```
1717
18- Starts the conformance server, runs all active scenarios against it, prints a pass/fail
19- summary for each scenario, and exits with a non-zero status code if any unexpected failures
20- are detected. Scenarios listed in ` expected_failures.yml ` are allowed to fail without
21- affecting the exit code.
18+ Runs both server and client conformance tests in sequence. Server conformance starts the
19+ conformance server and tests it. Client conformance spawns test servers for each scenario
20+ and invokes ` conformance/client.rb ` against them. Scenarios listed in ` expected_failures.yml `
21+ are allowed to fail without affecting the exit code.
2222
2323### Environment variables
2424
25- | Variable | Description | Default |
26- | ----------------| --------------------------------------| ---------|
27- | ` PORT ` | Server port | ` 9292 ` |
28- | ` SCENARIO ` | Run a single scenario by name | (all) |
29- | ` SPEC_VERSION ` | Filter scenarios by spec version | (all) |
30- | ` VERBOSE ` | Show raw JSON output when set | (off) |
25+ | Variable | Description | Default |
26+ | ----------------| --------------------------------------- | ---------|
27+ | ` PORT ` | Server port (server conformance only) | ` 9292 ` |
28+ | ` SCENARIO ` | Run a single scenario by name | (all) |
29+ | ` SPEC_VERSION ` | Filter scenarios by spec version | (all) |
30+ | ` VERBOSE ` | Show raw JSON output when set | (off) |
3131
3232``` bash
33- # Run a single scenario
33+ # Run a single server scenario
3434bundle exec rake conformance SCENARIO=ping
3535
3636# Use a different port with verbose output
@@ -91,8 +91,10 @@ submissions.
9191```
9292conformance/
9393 server.rb # Conformance server (Rack + Puma, default port 9292)
94- runner.rb # Starts the server, runs npx conformance, exits with result code
95- expected_failures.yml # Baseline of known-failing scenarios
94+ server_runner.rb # Starts the server, runs npx conformance server, exits with result code
95+ client.rb # Conformance client (invoked by npx conformance client)
96+ client_runner.rb # Runs npx conformance client, exits with result code
97+ expected_failures.yml # Baseline of known-failing scenarios (server and client)
9698 README.md # This file
9799```
98100
0 commit comments