We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/leeguooooo/zentao-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
name: Publish to npm
on:
push:
tags:
- "v*"
workflow_dispatch:
permissions:
contents: read
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 24
registry-url: "https://registry.npmjs.org"
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run tests
run: pnpm test
- name: Verify tag matches package.json version
if: startsWith(github.ref, 'refs/tags/')
run: |
PKG_VERSION=$(node -p "require('./package.json').version")
TAG_NAME="${GITHUB_REF_NAME#v}"
if [ "$PKG_VERSION" != "$TAG_NAME" ]; then
echo "package.json version ($PKG_VERSION) does not match tag ($TAG_NAME)"
exit 1
fi
- name: Publish
run: npm publish --access public --provenance