Skip to content

Publish to MCP Registry (manual) #11

Publish to MCP Registry (manual)

Publish to MCP Registry (manual) #11

Workflow file for this run

name: Publish to MCP Registry (manual)
on:
# This workflow is kept for manual runs only. The normal release flow
# is handled by the consolidated release workflow.
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install MCP Publisher
run: |
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.4.0/mcp-publisher_1.4.0_$(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 (DNS auth)
run: |
echo "${{ secrets.MCP_PRIVATE_KEY }}" > temp_key.pem
PRIVATE_KEY_HEX=$(openssl pkey -in temp_key.pem -noout -text | grep -A3 "priv:" | tail -n +2 | tr -d ' :\n')
./mcp-publisher login dns --domain pipeboard.co --private-key "$PRIVATE_KEY_HEX"
rm -f temp_key.pem
- name: Publish to MCP Registry
run: ./mcp-publisher publish