Skip to main content
Glama
publish.yml1.35 kB
name: Publish to npm on: workflow_dispatch: inputs: version_bump: description: 'Version bump type (leave empty to keep current version)' required: false default: '' type: choice options: - '' - patch - minor - major jobs: publish: runs-on: ubuntu-latest permissions: contents: write id-token: write steps: - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: '20' registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: npm ci - name: Lint run: npm run lint - name: Build run: npm run build - name: Bump version if: ${{ github.event.inputs.version_bump != '' }} run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" npm version ${{ github.event.inputs.version_bump }} -m "chore: bump version to %s" git push --follow-tags - name: Publish to npm run: npm publish --provenance --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Latest Blog Posts

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/kongyo2/mcpdevmcp'

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