Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,32 @@ To run the tests you have to pre-install `Docker` and `npx`.
```bash
./mvnw test
```
### Conformance Tests

The SDK is validated against the [MCP conformance test suite](https://github.com/modelcontextprotocol/conformance).
Full details and instructions are in [`conformance-tests/VALIDATION_RESULTS.md`](conformance-tests/VALIDATION_RESULTS.md).

**Latest results:**

| Suite | Result |
|---------------|------------------------------------------------|
| Server | ✅ 40/40 passed (100%) |
| Client | ⚠️ 3/4 scenarios, 9/10 checks passed |
| Auth (Spring) | ⚠️ 12/14 scenarios fully passing (98.9% checks) |

To run the conformance tests locally you need `npx` installed.

```bash
# Server conformance
./mvnw compile -pl conformance-tests/server-servlet -am exec:java
npx @modelcontextprotocol/conformance server --url http://localhost:8080/mcp --suite active

# Client conformance
./mvnw clean package -DskipTests -pl conformance-tests/client-jdk-http-client -am
npx @modelcontextprotocol/conformance client \
--command "java -jar conformance-tests/client-jdk-http-client/target/client-jdk-http-client-1.1.0-SNAPSHOT.jar" \
--scenario initialize
```

## Contributing

Expand Down