Skip to main content
Glama
publish.yml1.28 kB
name: Publish to PyPI on: release: types: [published] workflow_dispatch: inputs: skip_tests: description: 'Skip test job (use with caution)' required: false type: boolean default: false jobs: test: if: ${{ !inputs.skip_tests }} uses: ./.github/workflows/test.yml build: needs: test if: ${{ always() && (needs.test.result == 'success' || needs.test.result == 'skipped') }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Install uv uses: astral-sh/setup-uv@v4 with: enable-cache: true - name: Set up Python run: uv python install 3.12 - name: Build package run: | uv build - name: Upload artifacts uses: actions/upload-artifact@v4 with: name: dist path: dist/ publish: needs: build runs-on: ubuntu-latest environment: name: pypi url: https://pypi.org/p/chuk-mcp-math-server permissions: id-token: write steps: - name: Download artifacts uses: actions/download-artifact@v4 with: name: dist path: dist/ - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: verbose: true

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/chrishayuk/chuk-mcp-math-server'

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