Skip to main content
Glama
publish.yml1.28 kB
name: Publish to PyPI on: push: tags: - v* # Trigger on any tag starting with 'v' (e.g., v1.0.0) workflow_dispatch: # Allow manual triggering jobs: publish: name: Build and publish to PyPI runs-on: ubuntu-latest environment: name: pypi url: https://pypi.org/project/diagrams-mcp/ # Required permissions for PyPI Trusted Publishing permissions: id-token: write # OIDC token for PyPI trusted publishing contents: write # Write to repository for creating releases steps: - name: Checkout repository uses: actions/checkout@v4 - name: Set up uv uses: astral-sh/setup-uv@v6 with: enable-cache: true - name: Set up Python run: uv python install 3.13 - name: Setup Graphviz uses: ts-graphviz/setup-graphviz@v2 - name: Install dependencies run: uv sync --all-extras - name: Run tests run: uv run pytest - name: Build package run: uv build - name: Publish to PyPI run: uv publish - name: Create GitHub Release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: generate_release_notes: true files: dist/*

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/apetta/diagrams-mcp'

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