From 625ade6e7772733cd56afaf70970989e35d40c3d Mon Sep 17 00:00:00 2001 From: Justin Poehnelt Date: Wed, 8 Oct 2025 17:46:33 -0700 Subject: [PATCH] feat: add MCP Publisher installation and publishing steps to release workflow --- .github/workflows/release.yml | 9 +++++++++ .gitignore | 4 +++- server.json | 13 +++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 server.json diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c75291a..81e55aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,3 +55,12 @@ jobs: setupGitUser: false publish: "pnpm ci:publish" version: "pnpm ci:version" + - name: Install MCP Publisher + run: | + 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 + - name: Login to MCP Registry + run: | + echo "${{ secrets.MCP_REGISTRY_PRIVATE_KEY }}" > key.pem + mcp-publisher login dns --domain workspace-developer.goog --private-key-file key.pem + - name: Publish to MCP Registry + run: ./mcp-publisher publish diff --git a/.gitignore b/.gitignore index 22f3c54..555c322 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,6 @@ node_modules .vscode-test/ *.vsix .env -.turbo \ No newline at end of file +.turbo +**/key.pem +.mcpregistry* \ No newline at end of file diff --git a/server.json b/server.json new file mode 100644 index 0000000..bb09db6 --- /dev/null +++ b/server.json @@ -0,0 +1,13 @@ +{ + "$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json", + "name": "goog.workspace-developer/developer-tools", + "title": "Google Workspace Developer Tools", + "description": "Provides tools for searching Google Workspace documentation and much more.", + "version": "1.0.0", + "remotes": [ + { + "type": "streamable-http", + "url": "https://workspace-developer.goog/mcp" + } + ] +}