Repository navigation
Publish to MCP Registry (manual) #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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_$(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 | |