Skip to content

Commit 954d6a0

Browse files
authored
build: add MCP Publisher installation and publishing steps to release workflow (#26)
1 parent 365b23e commit 954d6a0

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,12 @@ jobs:
5555
setupGitUser: false
5656
publish: "pnpm ci:publish"
5757
version: "pnpm ci:version"
58+
- name: Install MCP Publisher
59+
run: |
60+
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/latest/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
61+
- name: Login to MCP Registry
62+
run: |
63+
echo "${{ secrets.MCP_REGISTRY_PRIVATE_KEY }}" > key.pem
64+
mcp-publisher login dns --domain workspace-developer.goog --private-key-file key.pem
65+
- name: Publish to MCP Registry
66+
run: ./mcp-publisher publish

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ node_modules
44
.vscode-test/
55
*.vsix
66
.env
7-
.turbo
7+
.turbo
8+
**/key.pem
9+
.mcpregistry*

server.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
3+
"name": "goog.workspace-developer/developer-tools",
4+
"title": "Google Workspace Developer Tools",
5+
"description": "Provides tools for searching Google Workspace documentation and much more.",
6+
"version": "1.0.0",
7+
"remotes": [
8+
{
9+
"type": "streamable-http",
10+
"url": "https://workspace-developer.goog/mcp"
11+
}
12+
]
13+
}

0 commit comments

Comments
 (0)