Skip to content

Commit d50cb48

Browse files
authored
Add MCP publication option (#18)
2 parents 78524a6 + 1833ff8 commit d50cb48

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.github/workflows/release-docker.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,24 @@ jobs:
5656
cache-from: type=gha
5757
cache-to: type=gha,mode=max
5858

59+
- name: Install MCP Publisher
60+
run: |
61+
# Build publisher from source (requires Go)
62+
git clone https://github.com/modelcontextprotocol/registry publisher-repo
63+
cd publisher-repo
64+
make publisher
65+
cp cmd/publisher/bin/mcp-publisher ../mcp-publisher
66+
cd ..
67+
chmod +x mcp-publisher
68+
69+
- name: Login to MCP Registry
70+
run: mcp-publisher login github --token ${{ secrets.GITHUB_TOKEN }}
71+
env:
72+
GITHUB_TOKEN: ${{ secrets.MCP_GITHUB_TOKEN }}
73+
74+
- name: Publish to MCP Registry
75+
run: ./mcp-publisher publish
76+
5977
- name: Create GitHub Release (auto notes)
6078
uses: softprops/action-gh-release@v2
6179
with:

server.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/zenml-io/mcp-zenml",
88
"source": "github"
99
},
10-
"version": "1.0.1",
10+
"version": "1.0.3",
1111
"packages": [
1212
{
1313
"registry_type": "oci",

0 commit comments

Comments
 (0)