Skip to content

Commit e3e4680

Browse files
committed
Build publisher from source
1 parent a8c47b8 commit e3e4680

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/registry-releaser.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@ jobs:
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: |
@@ -55,13 +61,8 @@ jobs:
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

0 commit comments

Comments
 (0)