Skip to content

Publish MCP Server

Publish MCP Server #10

Workflow file for this run

name: Publish MCP Server
on:
workflow_dispatch:
permissions:
contents: read
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Install mcp-publisher
run: |
curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_linux_amd64.tar.gz" \
| tar xz
chmod +x mcp-publisher
- name: Validate server.json
run: ./mcp-publisher validate server.json
- name: Authenticate with MCP Registry
run: ./mcp-publisher login github-oidc
- name: Publish to MCP Registry
run: ./mcp-publisher publish server.json