Skip to content

ci: wait for PyPI before publishing to the MCP Registry - #21

Open
askuma wants to merge 1 commit into
mainfrom
ci/mcp-registry-wait-for-pypi
Open

askuma wants to merge 1 commit into
mainfrom
ci/mcp-registry-wait-for-pypi

Conversation

@askuma

@askuma askuma commented Oct 26, 2026

Copy link
Copy Markdown
Owner

The PyPI and MCP Registry workflows both start on the same release: published event. The registry checks that the PyPI version in server.json exists, so it fails with a 404 whenever it runs before PyPI has finished publishing. This happened on v0.3.1 and v0.5.0, and both needed a manual re-run.

This adds a step that polls https://pypi.org/pypi/<pkg>/<version>/json (read from server.json) every 15s for up to 10 minutes before publishing.

Both workflows run on the same release event, so the registry job could
validate server.json before PyPI served the new version and fail with a
404 (happened for v0.3.1 and v0.5.0). Poll PyPI for up to 10 minutes first.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant