Skip to content

Commit 3f51bb9

Browse files
emrberkclaude
andcommitted
ci: publish server.json to the MCP registry via OIDC
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 3934a7f commit 3f51bb9

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/mcp-registry.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Publish to MCP Registry
2+
3+
on:
4+
workflow_dispatch:
5+
6+
permissions:
7+
id-token: write
8+
contents: read
9+
10+
jobs:
11+
publish:
12+
name: Publish server.json
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Install mcp-publisher
18+
run: |
19+
curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
20+
21+
# A workflow in this org's repo gets io.github.questdb/* publish rights
22+
# via OIDC; no personal login or org-owner account is involved.
23+
- name: Login with GitHub Actions OIDC
24+
run: ./mcp-publisher login github-oidc
25+
26+
- name: Publish
27+
run: ./mcp-publisher publish

0 commit comments

Comments
 (0)