Skip to content

Commit 94d1d11

Browse files
authored
fix: Change mcp-publisher installation method
Replaced npm install with curl command to download and install mcp-publisher
1 parent e640ab3 commit 94d1d11

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/publish-mcp-registry.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ jobs:
2323
node-version-file: .nvmrc
2424

2525
- name: Install mcp-publisher
26-
run: npm install -g mcp-publisher
26+
run: |
27+
curl -sSL https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_linux_amd64.tar.gz \
28+
| tar -xz mcp-publisher
29+
sudo mv mcp-publisher /usr/local/bin/mcp-publisher
2730
2831
- name: Sync server.json version
2932
run: |
@@ -37,4 +40,4 @@ jobs:
3740
"
3841
3942
- name: Publish to MCP Registry
40-
run: mcp-publisher publish --token ${{ secrets.GITHUB_TOKEN }}
43+
run: mcp-publisher publish --token ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)