Repository navigation
68 lines (56 loc) · 1.73 KB
/
Copy pathconformance.yml
File metadata and controls
68 lines (56 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: 🧪 MCP Conformance (2026-07-28)
on:
push:
branches:
- main
pull_request:
branches:
- "**"
concurrency:
group: conformance-${{ github.event.pull_request.number || github.ref_name }}
cancel-in-progress: true
jobs:
server-conformance:
runs-on: ubuntu-latest
timeout-minutes: 15
env:
MCP_CONFORMANCE_PORT: "3101"
steps:
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
with:
shared-key: conformance-server
- name: Build conformance server
run: cargo build -p conformance-server --release
- name: Start server
run: |
cargo run -p conformance-server --release &
timeout 30 bash -c 'until curl -sf http://127.0.0.1:3101/health; do sleep 0.5; done'
- name: Run conformance (2026-07-28)
run: |
npx @modelcontextprotocol/conformance@0.2.0-alpha.10 server \
--url http://127.0.0.1:3101/mcp \
--spec-version 2026-07-28 \
--suite all
client-conformance:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
with:
shared-key: conformance-client
- name: Build conformance client
run: cargo build -p conformance-client --release
- name: Run conformance (2026-07-28)
run: |
npx @modelcontextprotocol/conformance@0.2.0-alpha.10 client \
--command ./target/release/conformance-client \
--spec-version 2026-07-28 \
--suite all