Initial commit: MCP registry metadata for Vybe Solana API #1
Workflow file for this run
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 | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| workflow_dispatch: | |
| concurrency: | |
| group: mcp-registry-publish | |
| cancel-in-progress: false | |
| permissions: | |
| contents: read | |
| id-token: write | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Sync version from tag | |
| if: startsWith(github.ref, 'refs/tags/v') | |
| run: | | |
| VERSION="${GITHUB_REF#refs/tags/v}" | |
| jq --arg v "$VERSION" '.version = $v' server.json > server.tmp && mv server.tmp server.json | |
| echo "Publishing version ${VERSION}" | |
| cat server.json | |
| - name: Install mcp-publisher | |
| run: | | |
| curl -fsSL "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_linux_amd64.tar.gz" | tar xz mcp-publisher | |
| chmod +x mcp-publisher | |
| ./mcp-publisher --version | |
| - name: Validate server.json | |
| run: ./mcp-publisher validate server.json | |
| - name: Authenticate (GitHub OIDC) | |
| run: ./mcp-publisher login github-oidc | |
| - name: Publish to registry.modelcontextprotocol.io | |
| run: ./mcp-publisher publish server.json |