Skip to content

Publish to MCP Registry #13

Publish to MCP Registry

Publish to MCP Registry #13

name: Publish to MCP Registry
on:
workflow_dispatch:
permissions:
id-token: write
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download MCP Publisher
run: |
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.5.0/mcp-publisher_linux_amd64.tar.gz" | tar xz mcp-publisher
- name: Validate server.json
run: |
cp mcp/server.json server.json
./mcp-publisher validate
- name: Authenticate with MCP Registry
run: ./mcp-publisher login github-oidc
- name: Publish to MCP Registry
run: ./mcp-publisher publish