conformance: create everything-client with basic scenarios and configure GitHub action to run it

- implement all non-auth scenarios (client OAuth is not yet supported)
- sse-retry is also implemented, but failing due to a bug in the SDK
- configure client-conformance job in the conformance GitHub action
- create a client-conformance.sh script and rename conformance.sh to server-conformance.sh
This commit is contained in:
Maciek Kisiel 2026-01-27 15:45:50 +00:00 • committed by Maciej Kisiel
commit 634735bfa7
2 changed files with 370 additions and 3 deletions

View file

@ -36,3 +36,20 @@ jobs:
url: http://localhost:3001/mcp
suite: active
expected-failures: ./conformance/baseline.yml
client-conformance:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
- name: Set up Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
with:
go-version: "^1.25"
- name: "Run conformance tests"
uses: modelcontextprotocol/conformance@c2f3fdaf781dcd5a862cb0d2f6454c1c210bf0f0 # v0.1.11
with:
mode: client
command: go run ./conformance/everything-client/main.go
suite: core
expected-failures: ./conformance/baseline.yml

View file

@ -32,5 +32,5 @@ jobs:
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: "20"
- name: Run conformance tests
run: ./scripts/conformance.sh
- name: Run server conformance tests
run: ./scripts/server-conformance.sh