Skip to main content
Glama
publish_packages.yml2.42 kB
name: Publish MCP Packages on: workflow_call: secrets: PYPI_TOKEN: required: true permissions: id-token: write contents: write jobs: test: name: Publish MCP Server runs-on: ubuntu-22.04 steps: - uses: actions/create-github-app-token@v1 id: app-token with: app-id: ${{ vars.VERSION_BUMPER_APPID }} private-key: ${{ secrets.VERSION_BUMPER_SECRET }} - name: Checkout Repo uses: actions/checkout@v3 with: token: ${{ steps.app-token.outputs.token }} - name: Set up Python uses: actions/setup-python@v4 with: python-version: "3.10" - name: Install and configure Poetry uses: snok/install-poetry@v1 with: version: 1.5.1 virtualenvs-create: true virtualenvs-in-project: true installer-parallel: true - uses: pnpm/action-setup@v3 with: version: 9.5 - name: Setup Node.js 22 uses: actions/setup-node@v6 with: node-version: '22.x' cache: pnpm registry-url: 'https://registry.npmjs.org' - name: Configure pnpm run: | pnpm config set auto-install-peers true pnpm config set exclude-links-from-lockfile true - name: Update npm run: | npm install -g npm@^11.6 npm --version - name: Install dependencies run: pnpm install --frozen-lockfile - name: Create new versions run: pnpm run version env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Release new versions uses: changesets/action@v1 with: publish: pnpm run publish createGithubReleases: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} NPM_TOKEN: "" # See https://github.com/changesets/changesets/issues/1152#issuecomment-3190884868 - name: Update lock file run: pnpm i --no-link --no-frozen-lockfile - name: Commit new versions run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" git commit -am "[skip ci] Release new versions" || exit 0 git push env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

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/e2b-dev/mcp-server'

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