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 MCP Registry
2+
3+ on :
4+ workflow_dispatch :
5+
6+ permissions :
7+ contents : read
8+ id-token : write
9+
10+ jobs :
11+ publish :
12+ runs-on : ubuntu-latest
13+ env :
14+ MCP_PUBLISHER_VERSION : v1.7.9
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v4
18+
19+ - name : Download mcp-publisher
20+ run : |
21+ curl -fsSL "https://github.com/modelcontextprotocol/registry/releases/download/${MCP_PUBLISHER_VERSION}/mcp-publisher_linux_amd64.tar.gz" -o /tmp/mcp-publisher.tar.gz
22+ tar -xzf /tmp/mcp-publisher.tar.gz -C /tmp
23+ chmod +x /tmp/mcp-publisher
24+ /tmp/mcp-publisher --help
25+
26+ - name : Validate server.json
27+ run : /tmp/mcp-publisher validate server.json
28+
29+ - name : Publish to Official MCP Registry
30+ run : |
31+ /tmp/mcp-publisher login github-oidc
32+ /tmp/mcp-publisher publish server.json
You can’t perform that action at this time.
0 commit comments