Skip to main content
Glama
by sumup
publish-mcp.yaml1.51 kB
name: Publish MCP on: push: branches: - main concurrency: ${{ github.workflow }}-${{ github.ref }} permissions: contents: read packages: write id-token: write jobs: publish: name: Publish runs-on: ubuntu-latest env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} steps: - name: Checkout release tag uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 with: ref: ${{ github.event.release.tag_name }} - name: Setup Node.js uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 with: node-version: 22 cache: npm - name: Install dependencies run: npm ci - name: Build package run: npm run build - name: Install MCP Publisher if: steps.publish.outputs.published == 'true' run: | curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" -o mcp-publisher.tar.gz tar xzf mcp-publisher.tar.gz mcp-publisher rm mcp-publisher.tar.gz chmod +x mcp-publisher - name: Login to MCP Registry if: steps.publish.outputs.published == 'true' run: ./mcp-publisher login github-oidc - name: Publish to MCP Registry if: steps.publish.outputs.published == 'true' run: ./mcp-publisher publish

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sumup/sumup-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server