Repository navigation
chore: release 0.2.0, on PyPI as kaitencloud-mcp - #5
Closed
Alex (Alexkuva) wants to merge 1 commit into
Closed
Alex (Alexkuva) wants to merge 1 commit into
Alex (Alexkuva) wants to merge 1 commit into
Conversation
The first public release. A tag v* now publishes the package to PyPI, the way the Python SDK does: release.yml checks the tag against the version in pyproject.toml, runs the tests, builds, and publishes through trusted publishing, with no stored token. ci.yml already publishes the image on the same tag. The PyPI name kaiten-mcp belongs to an unrelated project, so the package is kaitencloud-mcp, after the SDK's kaitencloud. The command stays kaiten-mcp; kaitencloud-mcp is the same entry point, so that `uvx kaitencloud-mcp` runs it. /health reads the version under the new name. The README and MCP.md install from PyPI and from the image instead of the repository, and CHANGELOG.md starts at 0.2.0. Signed-off-by: Alexandre Bergere <alexandre.bergere@kaiten.sh> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
7 tasks done
7 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR change?
It prepares v0.2.0, the first public release, and makes a
v*tag publish the package to PyPI the way sdk-python does.release.ymlruns on av*tag:pyproject.toml;twine check --strict;environment: pypi,id-token: write), with no stored token.ci.ymlalready publishes the image on the same tag.The package is
kaitencloud-mcp, after the SDK'skaitencloud.kaiten-mcpon PyPI belongs to an unrelated project, so a reader who types it gets someone else's code.kaiten-mcp.kaitencloud-mcpis the same entry point, souvx kaitencloud-mcpruns it./healthreads the version under the new name.uv.lockchanges by that name only.[project.urls]: the site, the docs page, the repository, the issues and the changelog, as on the SDK.The README and
MCP.mdinstall from PyPI (uvx kaitencloud-mcp stdio) and from the image (ghcr.io/kaitencloud/mcp) instead of the repository. Building from a checkout stays as the third way.CHANGELOG.mdstarts at 0.2.0.Why?
The server is public, and reaching it from a git URL or a local
docker buildwas the only way. A tag publishes nothing to PyPI until now, and the docs need a version to point at.Before the tag
kaitencloud-mcpas a pending trusted publisher (ownerkaitencloud, repositorymcp, workflowrelease.yml, environmentpypi), and create thepypienvironment in this repository's settings.ci.yml's last run onmainfailed at the push,denied: permission_denied: read_package. The packageghcr.io/kaitencloud/mcphas to grant this repository write access, and be made public for an anonymousdocker run.v0.2.0on the merge.With
docker/metadata-action's defaults, the tag publishes the image as0.2.0andlatest.Testing
uv buildbuildskaitencloud_mcp-0.2.0(wheel and sdist), andtwine check --strictpasses on both.uvx --from ./dist/kaitencloud_mcp-0.2.0-py3-none-any.whl kaitencloud-mcp --helpand the same withkaiten-mcpanswer;0.2.0.docker buildsucceeds withuv sync --lockedon the new lockfile.task quickstartof kaiten main:GET /healthanswers{"status":"ok","version":"0.2.0",…,"reachable":true};Bearer ksh_…header, 31 tools are listed andkaiten_overviewanswers;uv run ruff check .,uv run ruff format --check .,uv run pytest: 56 passed.uv run pytest -m e2eagainst the same stack: 5 passed.Checklist
CONTRIBUTING.md.Signed-off-byline.🤖 Generated with Claude Code · ✅ Tested and approved by Alex (@Alexkuva), maintainer