File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 2626
2727 - name : Install MCP Publisher
2828 run : |
29- curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
29+ # Build publisher from source (requires Go)
30+ git clone https://github.com/modelcontextprotocol/registry publisher-repo
31+ cd publisher-repo
32+ make publisher
33+ cp bin/mcp-publisher ../mcp-publisher
34+ cd ..
35+ chmod +x mcp-publisher
3036
3137 - name : Update server.json version
3238 run : |
5561 echo "JSON validation check:"
5662 python3 -m json.tool server.json > /dev/null && echo "✅ Valid JSON" || echo "❌ Invalid JSON"
5763
58- - name : Login to MCP Registry
64+ - name : Login to MCP Registry (OIDC)
5965 run : ./mcp-publisher login github-oidc
6066
61- - name : Publish to MCP Registry (with verbose output)
62- run : |
63- echo "Publishing with verbose output..."
64- ./mcp-publisher publish --file server.json --verbose || true
65- echo ""
66- echo "Checking if mcp-publisher has other flags..."
67- ./mcp-publisher publish --help || true
67+ - name : Publish to MCP Registry
68+ run : ./mcp-publisher publish
You can’t perform that action at this time.
0 commit comments