Release and publishing

Published package

  • PyPI distribution: polymarket-mcp-server

  • Repository: pr1m8/polymarket-mcp

  • CLI entrypoint: polymarket-mcp

Release flow

Create and publish a release from a Git tag:

git push origin main
git tag -a v0.1.3 -m "Release v0.1.3"
git push origin refs/tags/v0.1.3

The GitHub Actions release workflow then:

  1. sets up Python and PDM

  2. refreshes the PDM lockfile

  3. installs the dev dependencies

  4. runs pdm run test

  5. builds the wheel and sdist

  6. publishes to PyPI through GitHub trusted publishing

  7. creates a matching GitHub release with the built artifacts attached

Trusted publishing

PyPI trusted publishing is configured against:

  • owner: pr1m8

  • repository: polymarket-mcp

  • workflow: release.yml

  • environment: pypi

No long-lived PyPI API token is required once the trusted publisher is attached on PyPI.