Docs

Every AI change has an owner.

Bumpkit names the person answerable for each AI-written change, holds it to rules you set, and keeps a signed record of who wrote it, who approved it and why. Every pull request gets pass, needs approval or fail, with the proof behind it.

Get started with your coding agent
claude mcp add --transport http bumpkit https://bumpkit.dev/mcp

One line connects Claude Code to your workspace. Codex, Cursor and the Claude desktop app work too. Connect over MCPInstall the GitHub App

Next steps

Getting started guide

Bumpkit reads the code between two versions and proves what changed: removed APIs and routes, destructive migrations, committed secrets, untested code and the areas a change reaches. It then applies your bumpkit.yml policy and returns one of three outcomes: pass, needs approval or fail.

You can run it from the CLI, in CI, as a GitHub App, from an MCP client, or as a hook inside your coding agent.

Try a release check without installing ​

The Run a check tab on the dashboard’s Checks page (dashboard.bumpkit.dev/checks?tab=run) checks a connected pull request or runs a trial check with nothing to install. The trial options are:

  • Examples: four commits in a small built-in Go shop: removing Session.Token, which needs approval, a destructive migration, a committed live payment-provider key, and a breaking change made by an agent.
  • Paste a diff: a unified diff (git diff main..branch), an optional commit message, whose trailers decide who made the change, and an optional current version.

Edit the bumpkit.yml on the page to see how your policy decides. The result shows the gate verdict with every rule, the version bump, who made the change, each finding with its file and line, and the pull request comment Bumpkit would post. It uses the same engines as the gate on your pull requests, and no language model. Nothing you paste is stored. A pasted diff has no blast radius, because the page doesn't have the rest of your repository; bumpkit gate and the GitHub App do. Org policies, freezes declared on the Policy page, approvals and CI results don't apply on this page.

Install the CLI ​

Each release ships one archive per platform, named bumpkit_<os>_<arch>.tar.gz, plus a checksums.txt with the SHA-256 of every archive. Builds exist for linux, darwin and windows on amd64 and arm64. Each archive contains one binary, bumpkit: the CLI for login, checks, the release gate, hooks and account commands, plus the MCP server (bumpkit mcp).

Download the archive for your platform, verify it, unpack it and let bumpkit install itself:

Terminal
curl -fsSLO https://bumpkit.dev/download/latest/bumpkit_darwin_arm64.tar.gz
curl -fsSLO https://bumpkit.dev/download/latest/checksums.txt
grep " bumpkit_darwin_arm64.tar.gz$" checksums.txt | shasum -a 256 -c
tar -xzf bumpkit_darwin_arm64.tar.gz
./bumpkit install

On Linux, use sha256sum -c in place of shasum -a 256 -c. Or do all of that in one line:

Terminal
curl -fsSL https://bumpkit.dev/install.sh | sh

bumpkit install copies bumpkit into /usr/local/bin (/opt/homebrew/bin on Apple Silicon Macs with Homebrew), which is already on your PATH, and uses sudo for the copy when that directory needs it. With --user, or when sudo isn't available, it installs in ~/.local/bin instead and adds that directory to PATH in your shell's startup file (zsh, bash, fish, sh, ksh, tcsh and PowerShell), once. It then runs bumpkit version from the installed path.

Option Use it when
--user You don't have administrator rights, or want it for your account only
--dir DIR You want bumpkit in a specific directory
--yes You're scripting the install: don't ask before using sudo or editing startup files

Set BUMPKIT_INSTALL_DIR before the one-line installer to choose the directory. BUMPKIT_VERSION=v1.4.2 pins it to that release: the install fails unless it's the latest, so a script never gets a version it didn't expect.

Platform Archive
macOS, Apple Silicon bumpkit_darwin_arm64.tar.gz
macOS, Intel bumpkit_darwin_amd64.tar.gz
Linux, x86-64 bumpkit_linux_amd64.tar.gz
Linux, ARM64 bumpkit_linux_arm64.tar.gz
Windows, x86-64 bumpkit_windows_amd64.tar.gz
Windows, ARM64 bumpkit_windows_arm64.tar.gz
Checksums checksums.txt

On Windows, unpack the archive with tar -xzf and run .\bumpkit.exe install from an elevated terminal to install in %ProgramFiles%\Bumpkit, or from a normal one to install in %LOCALAPPDATA%\Programs\Bumpkit. Either way it adds the directory to your PATH.

https://bumpkit.dev/download/latest/version returns the latest version, and https://bumpkit.dev/download/<version>/<archive> serves the same archives under that version's name. Only the latest release is available; older versions return 404.

To upgrade, run bumpkit update: it downloads the latest release, checks its SHA-256 against checksums.txt and installs it over the running copy. Updates ship automatically, and the CLI tells you when it's behind: it prints bumpkit vX is out of date; vY is live. Run: bumpkit update to stderr, at most once an hour. bumpkit uninstall removes bumpkit and its tab completion, and offers to remove the PATH line the installer added.

Sign in ​

Terminal
bumpkit login

bumpkit login prints a one-time code and opens a browser where you approve this computer. The CLI then gets its own API key for your workspace and saves it in ~/.config/bumpkit/config.json.

Option Use it when
bumpkit login --no-browser The machine has no browser. Open the printed link anywhere.
echo "$BUMPKIT_API_KEY" | bumpkit login --with-token You already have a key and want to store it.
BUMPKIT_API_KEY environment variable CI and scripts. It takes precedence over the saved key.

Check which workspace and key the CLI uses, and which features are on for your workspace:

Terminal
bumpkit whoami
bumpkit features

bumpkit logout signs out and revokes this computer's key; add --keep-key to leave the key active. The config directory follows BUMPKIT_CONFIG_DIR, then XDG_CONFIG_HOME. See the CLI Reference for every command.

Check your first release ​

From inside a git repository, check everything since a version:

Terminal
bumpkit check --base v1.4.2

--base defaults to the latest tag. --head defaults to HEAD; pass --head working-tree to include uncommitted work. The output shows a verdict (Looks safe, Review or Blocked; ship, review or block with --json), the suggested next version, a summary, and each finding with its file and line. Add --json for the full check.

bumpkit check exits 0 unless the verdict is block (exit 1); errors exit 2. See Release Checks & Blast Radius.

Gate a release ​

Terminal
bumpkit gate

The gate runs a release check of the base against HEAD and applies your policy. It reads bumpkit.yml (or .bumpkit.yml) as it is at the base, so a pull request can't loosen its own rules. With the GitHub App installed on the repository, Bumpkit reads the file from the base itself and ignores any policy the client sends. Without a policy file, the default policy applies.

Exit code Meaning
0 pass
1 needs_approval or fail
2 Bumpkit couldn't decide (invalid policy, network error). With on_error: pass in the policy, errors exit 0 instead, except an invalid policy, a --policy file that can't be read, or no base to compare against, which always exit 2.

In GitHub Actions, GitLab CI, Bitbucket Pipelines, Azure Pipelines, Buildkite, CircleCI or Jenkins, --comment posts or updates the decision as a pull request comment. In GitHub Actions the decision is also written to the job summary. See Release Gate.

Write a first bumpkit.yml ​

Commit bumpkit.yml to your default branch. This example starts from the default policy and requires two of three named reviewers to approve any billing change, whoever wrote it:

YAML
gate:
  block_on: [secret, data_loss]
  require_approval:
    - breaking
    - untested: true
      when: agent
    - area: [authentication, authorization, cryptography]
      when: agent
    - area: [billing]
      when: always
      approvers: ["@alice", "@bob", "@carol"]
      count: 2
  on_error: fail
Key What it does
block_on Finding kinds that always fail: secret, data_loss, security_regression, breaking, contract_breaking, version_mismatch, cve_reachable, compatibility_break
require_approval Rules that need a human approval: breaking, untested, or an area mapping
when Who the rule applies to: always, agent or agent_or_unknown
on_error fail (default) or pass for an advisory gate

The default policy, used when there is no file, blocks on secret, data_loss and security_regression, requires approval for breaking changes always, and for authentication, authorization, billing and cryptography changes and untested code unless a person is confirmed to have written them. It also asks for one approval on any change to bumpkit.yml. It also fails a release that adds a dependency with a known high-severity vulnerability. See the bumpkit.yml Reference for every key, including require_approval.

Install the GitHub App ​

The GitHub App gates every pull request with no workflow file or token to set up.

  1. In the dashboard, open Integrations, then GitHub.
  2. Click Install on GitHub and pick the account and repositories.
  3. GitHub sends you back to the dashboard's setup page (/setup). Verify repository access there and get your first release decision.
  4. In branch protection, require the Bumpkit release gate check.

GitHub shows the App's permissions before installation: Contents: write, Pull requests: write, Checks: write, Commit statuses: read, and Merge queues: read. Metadata read access is implicit. Contents and pull request writes let Bumpkit create branches, commits, and pull requests when you request a rollback, backport, fix, or policy change, and post or update the pull request’s release decision summary. A passing gate does not merge or deploy the change.

If the App was installed without Contents and Pull requests write access, the installation owner must accept those permissions in GitHub before Bumpkit can open pull requests. Release checks keep working without them.

On every pull request, the App adds a check run named Bumpkit release gate, using the policy on the base branch:

Gate outcome Check conclusion
pass success
needs_approval action_required
fail failure

The App re-runs when a pull request is opened, pushed to, reopened, marked ready for review or retargeted to a new base, when someone submits or dismisses a review, when a merge queue requests checks, and when you re-run the check. It also re-runs when another check run completes or a commit status arrives, if your policy waits on that check in require_checks or require_check_apps. See Integrations.

Connect your coding agent over MCP ​

MCP lets your coding agent check releases, ask the gate, and read history and memory with the same workspace permissions as the CLI.

Connect Claude Code to the hosted connector, then run /mcp and sign in:

Terminal
claude mcp add --transport http bumpkit https://bumpkit.dev/mcp

In the Claude desktop app, open Settings, then Connectors, and add https://bumpkit.dev/mcp as a custom connector. For Codex, run codex mcp add bumpkit --url https://bumpkit.dev/mcp and sign in when your browser opens. bumpkit mcp connect prints the setup for every app, and bumpkit mcp connect --client codex prints just the Codex command and config.toml entry.

Each connection signs in as you and follows your role. See and revoke connected apps under Agents, Connected apps, or with bumpkit mcp connections list and bumpkit mcp connections revoke.

For tools that read your checkout, run the local server instead: bumpkit login, then claude mcp add bumpkit -- bumpkit mcp.

bumpkit mcp uses your saved CLI login; an environment API key is optional for interactive use. Keep machine credentials in the client environment rather than a shared project file.

See MCP Server for client configuration and feature availability.

Add agent hooks ​

Hooks load what your team learned about the code when a session starts, and run bumpkit guard when the agent finishes, sending it back once to fix proven problems.

Agent How to install
Claude Code bumpkit hooks install --claude (recall, guard and the pause hook, which needs agent_pause, plus the MCP server)
Cursor bumpkit hooks install --cursor
Any agent or person bumpkit hooks install --git (a pre-push hook)
Codex bumpkit hooks install --codex (recall, guard and the pause hook, which needs agent_pause, plus the MCP server)
Gemini CLI bumpkit hooks install --gemini
Windsurf bumpkit hooks install --windsurf
Cline bumpkit hooks install --cline

See Agent Hooks for the exact files each command writes.

Changelog and semver API ​

The original endpoints are still live and need no feature flag: POST /v1/analyze (changelog and next version), POST /v1/changelog and POST /v1/semver. Send raw commit messages; Conventional Commits are not required. Authenticate with the x-api-key header.

Terminal
curl -X POST https://bumpkit.dev/v1/analyze \
  -H "Content-Type: application/json" \
  -H "x-api-key: $BUMPKIT_API_KEY" \
  -d '{
    "commits": [
      { "message": "feat: add dark mode toggle" },
      { "message": "fix: auth null pointer" }
    ],
    "previous_version": "1.4.2"
  }'

The response has status, signal, meta, version (previous, suggested, bump, reasoning) and changelog (formatted and sections). From a repository, bumpkit analyze, bumpkit changelog and bumpkit bump send the commits since the latest tag for you. See the API Reference.

Next steps ​

↑↓ to move, Enter to open