We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec18af3 commit 7c94e18Copy full SHA for 7c94e18
.github/workflows/publish.yml
@@ -1,4 +1,4 @@
1
-name: Publish to npm
+name: Publish to npm and MCP Registry
2
3
on:
4
push:
@@ -29,4 +29,15 @@ jobs:
29
env:
30
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
31
32
+ - name: Install MCP Publisher
33
+ run: |
34
+ 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
35
+
36
+ - name: Login to MCP Registry
37
38
+ echo "${{ secrets.MCP_PRIVATE_KEY }}" > key.pem
39
+ mcp-publisher login dns --domain postman.com --private-key-file key.pem
40
41
+ - name: Publish to MCP Registry
42
+ run: ./mcp-publisher publish
43
0 commit comments