File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish to MCP Registry
2+
3+ # npm is published separately; this only registers the server in the official
4+ # MCP Registry. OIDC authenticates the run as io.github.BSVKey, which owns the
5+ # io.github.BSVKey/inference-mcp namespace — no interactive login needed.
6+ on :
7+ workflow_dispatch :
8+ push :
9+ tags : ["v*"]
10+
11+ jobs :
12+ publish :
13+ runs-on : ubuntu-latest
14+ permissions :
15+ id-token : write # required for GitHub OIDC auth to the registry
16+ contents : read
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v5
20+
21+ - name : Install mcp-publisher
22+ run : |
23+ 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
24+
25+ - name : Authenticate (GitHub OIDC)
26+ run : ./mcp-publisher login github-oidc
27+
28+ - name : Publish to MCP Registry
29+ run : ./mcp-publisher publish
You can’t perform that action at this time.
0 commit comments