Skip to content

Releasing

Releases are driven by version tags. Pushing a tag like v1.2.3 triggers the Release workflow. That workflow creates a draft GitHub release, builds the Docker image for linux/amd64 and linux/arm64 and pushes it to ghcr.io/mattoddie/proxmox-mcp, attaches the MCP Bundles and plain binary archives to the draft with a SHA256SUMS file, publishes the release and, for stable releases, publishes the server to the MCP Registry as io.github.mattoddie/proxmox-mcp. Nothing is published by merging to main alone.

The project follows Semantic Versioning. Its public API is the set of tool names, their arguments, prompts and the environment variables:

Change Bump Examples
Breaking major (2.0.0) Renaming or removing a tool, argument, prompt or variable; moving a tool to a less restrictive access level; changing a default so that more is allowed
New features minor (1.3.0) New tools, toolsets, arguments or prompts
Fixes patch (1.2.4) Bug fixes, compatibility fixes, docs, dependency updates

While the version is 0.x, minor bumps may contain breaking changes. Call them out in the release notes.

The version comes from the tag. package.json stays at 0.0.0-dev in the repository, and release builds stamp the tag’s version into the image. The server reports it to MCP clients and prints it on its first log line.

  1. Check main is green on CI.

  2. Update the changelog. In a small PR titled chore(release): v1.2.0, move the Unreleased entries in CHANGELOG.md under a new heading, ## [1.2.0] - YYYY-MM-DD, and update the comparison links at the bottom. Fill in the final tool and prompt counts from the top of docs/tools.md. Merge it.

  3. Push the tag. Tag the changelog commit on main:

    Terminal window
    git switch main && git pull
    git tag -s v1.2.0 -m v1.2.0
    git push origin v1.2.0
  4. Watch the workflow. Open Actions → Release. It takes a few minutes. It creates a draft release with notes generated from the merged PRs and adds a Container image section with the pull command, digest and tags. Then the MCP Bundles for Claude Desktop and the binary archives are built, attached to the draft and listed in Claude Desktop and Binaries sections, and the release is published. Last, a stable release is published to the MCP Registry.

  5. Edit the release notes if needed. The notes and title of a published release can still be edited; its assets and tag can’t.

  6. Check the image: docker pull ghcr.io/mattoddie/proxmox-mcp:1.2.0.

  7. Check the registry entry: curl -s "https://registry.modelcontextprotocol.io/v0/servers?search=io.github.mattoddie/proxmox-mcp&version=latest" | jq '.servers[].server.version' prints "1.2.0".

Release notes are generated from merged PR titles and grouped by label. The groups are set in .github/release.yml. Label PRs breaking, enhancement, new-tool, bug, compatibility, documentation or dependencies to sort them, or skip-changelog to leave a PR out.

Homebrew. The tap checks for new stable releases every hour. It verifies the archives’ checksums and build provenance, tests the formula on macOS and Linux, then publishes it. Nothing needs doing here. To update it straight away, run the tap’s Update formulas workflow. Pre-releases aren’t published to the tap.

To test a release candidate, push a pre-release tag. The workflow marks a release as a pre-release when its tag has a suffix:

Terminal window
git tag -s v1.3.0-rc.1 -m v1.3.0-rc.1
git push origin v1.3.0-rc.1

Pre-releases are published only under their exact version (ghcr.io/mattoddie/proxmox-mcp:1.3.0-rc.1). They never move latest, 1 or 1.3. They get MCP Bundles but aren’t published to the MCP Registry, where a published version can’t be changed or reused.

Step Detail
Validate the tag Must match vMAJOR.MINOR.PATCH with an optional -prerelease suffix and point to a commit on main, otherwise the workflow fails before building.
Draft release Creates a draft release for the tag with generated notes, marked as a pre-release if the tag has a suffix.
Build docker buildx for linux/amd64 and linux/arm64, from scratch with no build cache. The test suite runs inside the build, so failing tests mean no image.
Tag X.Y.Z always. For stable releases also X.Y, X (from 1.0.0 on) and latest.
Push To ghcr.io/mattoddie/proxmox-mcp using the workflow’s GITHUB_TOKEN. No personal tokens are needed.
Supply chain Attaches an SBOM and SLSA provenance to the image, and pushes a signed build provenance attestation (gh attestation verify).
Release notes Appends the pull command, digest and tags.
MCP Bundles and binaries After the image, make dist builds one .mcpb per platform (macOS, Windows and Linux, amd64 and arm64), the same binaries as proxmox-mcp-X.Y.Z-<os>-<arch>.tar.gz (.zip for Windows) with the licence, and SHA256SUMS. It checks the Linux binary reports the version and the checksums match, validates each manifest with the mcpb CLI, attests the bundles and archives and uploads everything to the draft release.
Publish Publishes the draft once the image and the bundles are in place. Published releases are immutable.
MCP Registry Stable releases only, after the release is published. Downloads the bundles from the release, stamps the version, image tag and each bundle’s SHA-256 into server.json (make server-json), installs the pinned mcp-publisher, checks its checksum, validates the file, logs in with GitHub OIDC (no secrets) and publishes.
  • The workflow failed for a transient reason: re-run it from the Actions tab. It’s safe to re-run. It finds the draft it created, and pushes the same image tags again. If the release was already published, its bundles can’t change, so a re-run rebuilds the image only.
  • The release was wrong (bad code or wrong tag): a published tag can’t be moved or reused. Fix the problem on main and publish the next patch version. You can delete the bad GitHub release and mark it as such in the changelog, but leave the image tag alone.
  • The workflow failed before publishing and the tag itself is wrong: delete the draft and the tag (gh release delete v1.2.0 --cleanup-tag), then tag again.
  • Wrong tag format (e.g. 1.2.0 without the v): the workflow doesn’t run for it. Delete the tag (git push origin :refs/tags/1.2.0) and push the right one.
  • The MCP Registry job failed. Its log says why. A failure before Publish (the download, the checksum, validation, or the registry being unavailable) is safe to retry: open the workflow run and click Re-run failed jobs, which re-runs only Publish to the MCP Registry. If the version already reached the registry, the job notices and skips Publish. A published version can’t be changed: if its server.json was wrong, fix it on main and release the next patch version.

If the job can’t publish (for example, GitHub OIDC is down), publish from your own machine. You need gh, jq, make, sha256sum and mcp-publisher from the registry’s releases at the version pinned in the Release workflow, checked against the release’s registry_<version>_checksums.txt. Then, from a clean checkout of the release tag:

Terminal window
git checkout v1.2.0
gh release download v1.2.0 --pattern '*.mcpb' --dir dist
make server-json VERSION=1.2.0 # writes dist/server.json
mcp-publisher validate dist/server.json
mcp-publisher login github # in the browser, as an owner of the mattoddie organisation
mcp-publisher publish dist/server.json
mcp-publisher logout

The bundles must come from the release (not a local make mcpb), because server.json carries their SHA-256 checksums and clients check them before installing.

Two rulesets protect the repository. You can view and edit them under Settings → Rules → Rulesets, and that’s where to create them if you’re setting up a fresh copy.

Protect main (the default branch):

  • Changes land only through pull requests. Nobody can push directly, force-push or delete the branch, and there are no bypasses.
  • The CI checks Test, Docker image and Dependency review must pass. The branch doesn’t need to be up to date with main.
  • CodeQL must not find new high or critical security alerts, or error-level alerts.
  • Review threads must be resolved before merging. The only merge method is squash.
  • No approving review is required yet, because GitHub doesn’t let authors approve their own pull requests and the project has a single maintainer. Raise this when there are more maintainers.

Protect release tags (v*):

  • Only repository admins can create, move or delete version tags, so only maintainers can publish releases. Published versions can’t be re-pointed.

Immutable releases are on (Settings → General → Releases). Once a release is published, its assets can’t be added, changed or deleted, and its tag can’t be moved or reused, even by admins. GitHub also attaches a release attestation (gh release verify). That’s why the workflow attaches everything to a draft and publishes last.

New GHCR packages normally start private, and GitHub doesn’t offer an API to change this. A package linked to a public repository usually becomes public automatically. If it starts private, open the package page (Your profile → Packages → proxmox-mcp → Package settings) and choose Change visibility → Public under Danger Zone.

The package links to the repository automatically through the image’s org.opencontainers.image.source label, which makes it show in the repository sidebar.

The server is listed in the MCP Registry as io.github.mattoddie/proxmox-mcp, described by server.json. The Release workflow logs in with GitHub OIDC, which grants the io.github.mattoddie/* namespace to workflows in the organisation’s repositories, so there are no secrets to set up. The registry checks that the image belongs to the server through its io.modelcontextprotocol.server.name label (set in the Dockerfile), and that the image is public.

server.json stays at version 0.0.0-dev in the repository, like the bundle manifest; make server-json stamps the release’s version into it. A test (TestServerJSON in cmd/mcpb) keeps its settings in line with the bundle’s, so a new setting goes in both mcpb/manifest.json and server.json. CI validates the stamped file with mcp-publisher validate. To update mcp-publisher, change MCP_PUBLISHER_VERSION and MCP_PUBLISHER_SHA256 in both ci.yml and release.yml.