Skip to main content
Glama
on-release-main.yml2.42 kB
name: release-main on: release: types: [published] branches: [main] jobs: set-version: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v5 - name: Export tag id: vars run: echo tag=${GITHUB_REF#refs/*/} >> $GITHUB_OUTPUT if: ${{ github.event_name == 'release' }} - name: Update project version run: | sed -i "s/^version = \".*\"/version = \"$RELEASE_VERSION\"/" pyproject.toml env: RELEASE_VERSION: ${{ steps.vars.outputs.tag }} if: ${{ github.event_name == 'release' }} - name: Upload updated pyproject.toml uses: actions/upload-artifact@v4 with: name: pyproject-toml path: pyproject.toml test: runs-on: ubuntu-latest needs: [set-version] steps: - name: Check out uses: actions/checkout@v5 - name: Download updated pyproject.toml uses: actions/download-artifact@v5 with: name: pyproject-toml - name: Set up Python uses: actions/setup-python@v6 with: python-version: "3.12" - name: Install uv uses: astral-sh/setup-uv@v7 with: version: "0.4.29" - name: Install dependencies run: uv sync --group dev - name: Run tests run: uv run python -m pytest tests --cov --cov-config=pyproject.toml --cov-report=xml publish: runs-on: ubuntu-latest needs: [set-version, test] permissions: id-token: write environment: release steps: - name: Check out uses: actions/checkout@v5 - name: Set up the environment uses: ./.github/actions/setup-python-env - name: Download updated pyproject.toml uses: actions/download-artifact@v5 with: name: pyproject-toml - name: Build package run: uvx --from build pyproject-build --installer uv - name: Check package run: uvx twine check dist/* - name: Publish package uses: pypa/gh-action-pypi-publish@release/v1 with: verbose: true deploy-docs: needs: publish runs-on: ubuntu-latest steps: - name: Check out uses: actions/checkout@v5 - name: Set up the environment uses: ./.github/actions/setup-python-env - name: Deploy documentation run: uv run mkdocs gh-deploy --force

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/genomoncology/biomcp'

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