File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,6 +40,32 @@ To run the tests you have to pre-install `Docker` and `npx`.
4040``` bash
4141./mvnw test
4242```
43+ ### Conformance Tests
44+
45+ The SDK is validated against the [ MCP conformance test suite] ( https://github.com/modelcontextprotocol/conformance ) .
46+ Full details and instructions are in [ ` conformance-tests/VALIDATION_RESULTS.md ` ] ( conformance-tests/VALIDATION_RESULTS.md ) .
47+
48+ ** Latest results:**
49+
50+ | Suite | Result |
51+ | ---------------| ------------------------------------------------|
52+ | Server | ✅ 40/40 passed (100%) |
53+ | Client | ⚠️ 3/4 scenarios, 9/10 checks passed |
54+ | Auth (Spring) | ⚠️ 12/14 scenarios fully passing (98.9% checks) |
55+
56+ To run the conformance tests locally you need ` npx ` installed.
57+
58+ ``` bash
59+ # Server conformance
60+ ./mvnw compile -pl conformance-tests/server-servlet -am exec:java
61+ npx @modelcontextprotocol/conformance server --url http://localhost:8080/mcp --suite active
62+
63+ # Client conformance
64+ ./mvnw clean package -DskipTests -pl conformance-tests/client-jdk-http-client -am
65+ npx @modelcontextprotocol/conformance client \
66+ --command " java -jar conformance-tests/client-jdk-http-client/target/client-jdk-http-client-1.1.0-SNAPSHOT.jar" \
67+ --scenario initialize
68+ ```
4369
4470## Contributing
4571
You can’t perform that action at this time.
0 commit comments