Skip to content

Commit 007d0ef

Browse files
Merge branch 'main' into list-resources-handler
2 parents be0598c + ce393ac commit 007d0ef

27 files changed

Lines changed: 1394 additions & 259 deletions

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,11 @@ updates:
55
directory: "/"
66
schedule:
77
interval: "monthly"
8+
# Group all github/codeql-action/* sub-paths (init, analyze, ...) into a
9+
# single PR so they are always bumped together. Bumping them independently
10+
# leaves the workflow with mismatched versions across steps, which
11+
# github/codeql-action rejects at runtime.
12+
groups:
13+
codeql-action:
14+
patterns:
15+
- "github/codeql-action/*"

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ jobs:
3636
build-mode: autobuild
3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
39+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
4040
- name: Initialize CodeQL
41-
uses: github/codeql-action/init@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4.36.0
41+
uses: github/codeql-action/init@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0
4242
with:
4343
languages: ${{ matrix.language }}
4444
build-mode: ${{ matrix.build-mode }}
4545
- name: Perform CodeQL Analysis
46-
uses: github/codeql-action/analyze@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4.36.0
46+
uses: github/codeql-action/analyze@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0
4747
with:
4848
category: "/language:${{matrix.language}}"

.github/workflows/conformance.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ permissions:
1414
contents: read
1515

1616
env:
17-
CONFORMANCE_VERSION: "0.2.0-alpha.5"
17+
CONFORMANCE_VERSION: "0.2.0-alpha.9"
1818

1919
jobs:
2020
server-conformance:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Check out code
24-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2525
- name: Set up Go
26-
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
26+
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
2727
with:
2828
go-version: "^1.26"
2929
- name: Set up Node.js
@@ -43,34 +43,34 @@ jobs:
4343
--suite active \
4444
--spec-version 2025-11-25 \
4545
--expected-failures ./conformance/baseline.yml
46-
- name: Run conformance tests (stateless, 2026-07-28)
46+
- name: Run conformance tests (stateless, 2026-07-28, full suite)
4747
run: |
4848
./everything-server -http=":3001" -stateless &
4949
SERVER_PID=$!
5050
trap "kill -9 $SERVER_PID 2>/dev/null || true; wait $SERVER_PID 2>/dev/null || true" EXIT
5151
timeout 30 bash -c 'until curl -s http://localhost:3001/mcp > /dev/null; do sleep 0.5; done'
5252
npx -y "@modelcontextprotocol/conformance@${CONFORMANCE_VERSION}" server \
5353
--url http://localhost:3001/mcp \
54-
--suite active \
54+
--suite all \
5555
--spec-version 2026-07-28 \
5656
--expected-failures ./conformance/baseline.yml
5757
5858
client-conformance:
5959
runs-on: ubuntu-latest
6060
steps:
6161
- name: Check out code
62-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
62+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
6363
- name: Set up Go
64-
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
64+
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
6565
with:
6666
go-version: "^1.26"
6767
- name: Set up Node.js
6868
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
6969
with:
7070
node-version: 22
71-
- name: Run conformance tests
71+
- name: Run conformance tests (full suite)
7272
run: |
7373
npx -y "@modelcontextprotocol/conformance@${CONFORMANCE_VERSION}" client \
7474
--command "go run ./conformance/everything-client" \
75-
--suite core \
75+
--suite all \
7676
--expected-failures ./conformance/baseline.yml

.github/workflows/docs-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Set up Go
19-
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
19+
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
2020
with:
2121
go-version: "^1.26"
2222
- name: Check out code
23-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
23+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2424
- name: Check docs are up-to-date
2525
run: |
2626
go generate ./...

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Check out code
26-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
26+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2727
- name: Set up Go
28-
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
28+
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
2929
with:
3030
go-version: "^1.26"
3131
- name: Set up Node.js

.github/workflows/publish-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ jobs:
1313
contents: write
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
16+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1717
- name: Configure Git Credentials
1818
run: |
1919
git config user.name github-actions[bot]
2020
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
21-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
21+
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
2222
with:
2323
python-version: 3.x
2424
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
25-
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
25+
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
2626
with:
2727
key: mkdocs-material-${{ env.cache_id }}
2828
path: .cache

.github/workflows/scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
steps:
3636
- name: "Checkout code"
37-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
37+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
3838
with:
3939
persist-credentials: false
4040

@@ -73,6 +73,6 @@ jobs:
7373
# Upload the results to GitHub's code scanning dashboard (optional).
7474
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
7575
- name: "Upload to code-scanning"
76-
uses: github/codeql-action/upload-sarif@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4.36.0
76+
uses: github/codeql-action/upload-sarif@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0
7777
with:
7878
sarif_file: results.sarif

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Check out code
17-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1818
- name: Set up Go
19-
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
19+
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
2020
with:
2121
go-version: "^1.26"
2222
- name: Check formatting
@@ -43,9 +43,9 @@ jobs:
4343
go: ["1.25", "1.26"]
4444
steps:
4545
- name: Check out code
46-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
46+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
4747
- name: Set up Go
48-
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
48+
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
4949
with:
5050
go-version: ${{ matrix.go }}
5151
- name: Test
@@ -55,9 +55,9 @@ jobs:
5555
runs-on: ubuntu-latest
5656
steps:
5757
- name: Check out code
58-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
58+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
5959
- name: Set up Go
60-
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
60+
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
6161
with:
6262
go-version: "1.26"
6363
- name: Test with -race

conformance/baseline.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
11
server: [] # All tests pass!
2-
client: [] # All tests pass!
2+
3+
client:
4+
# OAuth mechanisms not yet implemented by the Go MCP SDK.
5+
- auth/client-credentials-basic
6+
- auth/client-credentials-jwt
7+
- auth/enterprise-managed-authorization
8+
9+
# Upstream conformance mock inconsistency: the scenario's hand-rolled
10+
# server/discover handler advertises "2026-07-28" but delegates every
11+
# other method to a pinned @modelcontextprotocol/sdk that rejects that
12+
# version at the HTTP layer.
13+
- json-schema-ref-no-deref

0 commit comments

Comments
 (0)