Skip to main content
Glama
publish.yml1.62 kB
name: Publish to npm on: push: tags: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 jobs: publish: runs-on: ubuntu-latest permissions: contents: read packages: write steps: - name: Checkout code uses: actions/checkout@v4 - 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: Run tests run: | # Run unit tests (doesn't require API credentials) npm run test:unit || true npm run test:tools || true env: CI: true - name: Publish to npm run: npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Create GitHub Release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref_name }} release_name: Release ${{ github.ref_name }} body: | ## Changes in this Release See [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md) for details. ## Installation ```bash npm install @gravitykit/gravitymcp@${{ github.ref_name }} ``` ## npm Package View on npm: https://www.npmjs.com/package/@gravitykit/gravitymcp draft: false prerelease: false

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/GravityKit/gravity-mcp'

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