mcp: add integration for server conformance tests (#1054)

This PR integrates the missing tools to fully support the new
protocolVersion on conformance tests.
This commit is contained in:
Guglielmo Colombo 2026-07-07 17:57:21 +02:00 • committed by GitHub
commit 4c2aece5d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@ permissions:
contents: read
env:
CONFORMANCE_VERSION: "0.2.0-alpha.5"
CONFORMANCE_VERSION: "0.2.0-alpha.9"
jobs:
server-conformance:
@ -43,7 +43,7 @@ jobs:
--suite active \
--spec-version 2025-11-25 \
--expected-failures ./conformance/baseline.yml
- name: Run conformance tests (stateless, 2026-07-28)
- name: Run conformance tests (stateless, 2026-07-28, full suite)
run: |
./everything-server -http=":3001" -stateless &
SERVER_PID=$!
@ -51,7 +51,7 @@ jobs:
timeout 30 bash -c 'until curl -s http://localhost:3001/mcp > /dev/null; do sleep 0.5; done'
npx -y "@modelcontextprotocol/conformance@${CONFORMANCE_VERSION}" server \
--url http://localhost:3001/mcp \
--suite active \
--suite all \
--spec-version 2026-07-28 \
--expected-failures ./conformance/baseline.yml