# MCP Server

## Connect Claude, Codex or Grok in one minute

Bumpkit has a hosted connector at `https://bumpkit.dev/mcp`. Nothing to install: you sign in to Bumpkit, pick a workspace and click Allow. Apps that can't sign in use a Bumpkit API key instead.

| App | How you connect |
|-----|-----------------|
| Claude (desktop app and Claude.ai) | Add the URL as a custom connector, then sign in. |
| Claude Code | Run `claude mcp add`, then sign in from `/mcp`. |
| Codex | Run `codex mcp add`, then sign in. |
| Grok | Add a connector on grok.com, or use an API key. |

### Claude desktop app

1. Open Settings, then Connectors.
2. Click Add custom connector, name it Bumpkit and paste `https://bumpkit.dev/mcp` as the URL.
3. Click Connect, sign in to Bumpkit, pick a workspace and click Allow.

### Claude Code

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

Then run `/mcp` in Claude Code, choose the Bumpkit server and sign in.

### Codex

The Codex CLI, the Codex desktop app and the Codex IDE extension share one config file, `~/.codex/config.toml`, so one setup covers all three. Run:

```bash
codex mcp add bumpkit --url https://bumpkit.dev/mcp
```

Codex opens your browser: sign in to Bumpkit, pick a workspace and click Allow. If the browser doesn't open, run `codex mcp login bumpkit`.

Prefer editing the file? Add this to `~/.codex/config.toml`, then run `codex mcp login bumpkit`:

```toml
[mcp_servers.bumpkit]
url = "https://bumpkit.dev/mcp"
```

You can also add it from the desktop app's Settings or the IDE extension's gear menu, with `https://bumpkit.dev/mcp` as the URL. Codex signs in with a loopback callback on `127.0.0.1`, which Bumpkit accepts on any port.

### Grok

On grok.com:

1. Open Connectors, click New connector and choose Custom.
2. Name it Bumpkit and paste `https://bumpkit.dev/mcp` as the URL.
3. Sign in to Bumpkit when Grok asks, pick a workspace and click Allow.

Grok Bot, the xAI API's remote MCP tools and the Grok CLI connect with a Bumpkit API key instead of a sign-in:

1. Create an API key in Settings, API keys.
2. Add `https://bumpkit.dev/mcp` as a remote MCP server and send the key in the `Authorization` header as `Bearer YOUR_BUMPKIT_API_KEY`.
3. The key acts as the person who created it and follows their role. Delete the key to cut off access.

In the xAI API, add Bumpkit to `tools`:

```json
{
  "tools": [
    {
      "type": "mcp",
      "server_url": "https://bumpkit.dev/mcp",
      "server_label": "bumpkit",
      "authorization": "YOUR_BUMPKIT_API_KEY"
    }
  ]
}
```

Bumpkit accepts the key with or without the `Bearer` prefix, so `"headers": {"Authorization": "Bearer YOUR_BUMPKIT_API_KEY"}` works too. In the Grok CLI:

```bash
grok mcp add --transport http bumpkit https://bumpkit.dev/mcp --header "Authorization: Bearer ${BUMPKIT_API_KEY}"
```

Key connections are listed under API keys, not Connected apps. Bumpkit never accepts a request to `/mcp` without a valid sign-in or key, and each refused key is written to the [audit log](/docs/compliance#audit-log) as `mcp.auth.failed`.

The connector acts as you and follows your role: viewers can read, members can make the changes they could make in the dashboard, and agents can never approve or publish a release. See and revoke connections under Agents, Connected apps, or with `bumpkit mcp connections list` and `bumpkit mcp connections revoke`. `bumpkit mcp connect` lists these apps and prints the URL and setup for each; `bumpkit mcp connect --client codex` or `--client grok` prints only that app's setup, and the `mcp_connect` tool takes the same `client`. In the dashboard, open the Claude, Codex or Grok card on the Integrations page for the same setup. Tools that read files on your machine, like `release_gate`, `blast_radius`, `guard` and `deploy`, need the local server below. From a cloud session, such as a Claude Code Projects thread, call `guard_remote` with the repository, the base and the output of `git add -N . && git diff <base>` to check your work before you call it done. Add `head_sha`, the commit from `git rev-parse HEAD`, with `agent` and your `session_id`, and Bumpkit links the pull request with that head commit to your session as declared authorship, since a cloud session has no local hook to verify it. It uses `bumpkit.yml` from the repository's default branch and says which rules it applied. An empty diff returns "Not checked", never a pass, and the pull request's own Bumpkit check still decides the merge. Before a risky shell command or file write, call `pause_remote` with the repository and the command, or the file and its content, for the same allow, ask or deny answer as local `pause`, using the agent rules from that default branch; what you pass goes to Bumpkit, so never include a live secret. Some admin actions need the dashboard or the CLI.

Want your identity provider to decide who connects, with no Bumpkit sign-in or consent screen for each employee? See [IdP-managed MCP access](/docs/idp-managed-mcp).

## The local MCP server

Agents can't ask whether their change is safe if they can't reach Bumpkit; the MCP server gives any MCP client Bumpkit's checks, gate and history, for teams whose agents write code.

`bumpkit mcp` is Bumpkit's [Model Context Protocol](https://modelcontextprotocol.io) server. It runs over stdio next to your coding agent, so the agent can check a release before it ships, ask the release gate, read what changed in an area, and turn commits into a changelog and version.

## Install

MCP is built into the `bumpkit` CLI; there is nothing else to install. Install the CLI and sign in:

```bash
curl -fsSL https://bumpkit.dev/install.sh | sh
bumpkit login
claude mcp add bumpkit -- bumpkit mcp
```

Your agent starts `bumpkit mcp` and communicates over standard input and output. You do not need a separate server process. Running `bumpkit mcp` by hand in a terminal prints a short note on standard error with the `claude mcp add` and `bumpkit mcp config` commands, then waits for an MCP client; press Ctrl+C to stop. When a client starts it on a pipe, nothing extra is printed and standard output carries only MCP messages.

```bash
bumpkit mcp config
```

This prints a client configuration you can copy, without changing files, accessing the API, or including credentials. If a desktop app cannot find the CLI, use the absolute path from `command -v bumpkit` as its `command`, keeping `args: ["mcp"]`.

To bind an agent to a workspace, use `bumpkit --workspace UUID mcp config`, replacing `UUID` with the workspace ID from `bumpkit whoami --json` or the dashboard. The generated arguments are `["--workspace", "UUID", "mcp"]` with that actual UUID. Configuration generation stays offline and contains no credentials. When the client starts the server, Bumpkit verifies the key’s workspace before exposing tools and refuses a mismatch; it does not switch workspaces. See [Workspace assertion](/docs/cli-flags#workspace-assertion).

## Environment variables

| Variable | Required | Description |
|----------|----------|-------------|
| `BUMPKIT_API_KEY` | No, after `bumpkit login` | Your API key. Create one on the dashboard's **Keys** page. Without it, the server uses the key `bumpkit login` saved in the [CLI config file](/docs/cli-flags#sign-in-and-config-file). |
| `BUMPKIT_API_URL` | No | API base URL. Defaults to the URL saved by `bumpkit login`, else `https://bumpkit.dev/v1`. |
| `BUMPKIT_AGENT_ID` | No | Your agent's id, used as the proposer of lessons (`BUMPKIT_AGENT` works too). |
| `TEST_DB_ADMIN_URL`, `TEST_DB_ALLOWED_HOSTS`, `TEST_DB_TEMPLATE`, `TEST_DB_MAX_LEASES` | For `test_database_lease` | The test Postgres server and its guards, as for [`bumpkit testdb`](/docs/cli-flags#more-variables). |

Without a key in either place, only the changelog tools are listed, and they return an error asking for one.

## Connect a client

### Claude Code

```bash
claude mcp add bumpkit -- bumpkit mcp
```

The server uses the credentials saved by `bumpkit login`. In CI, set `BUMPKIT_API_KEY` in the client's environment instead. It reads them again on every tool call, so after `bumpkit workspace switch` a running server uses the new workspace right away: the next result says so once, and every result names the active workspace in its `_meta` under `bumpkit/workspace`. When your CLI is behind the latest release, the server's instructions tell your agent to run `bumpkit update`, and when a newer release is still building, they say it's on its way. To share the server with your team, run `bumpkit hooks install --claude` in the repository: it adds `bumpkit mcp` to the project's `.mcp.json` along with the hooks. See [Agent Hooks](/docs/agent-hooks#claude-code).

### Claude Desktop, Cursor and other JSON clients

Add Bumpkit to the client's MCP configuration (`claude_desktop_config.json` for Claude Desktop, `.cursor/mcp.json` or `~/.cursor/mcp.json` for Cursor):

```json
{
  "mcpServers": {
    "bumpkit": {
      "command": "bumpkit",
      "args": ["mcp"]
    }
  }
}
```

### Codex

Add the server to `.codex/config.toml`:

```toml
[mcp_servers.bumpkit]
command = "bumpkit"
args = ["mcp"]
```

`bumpkit hooks install --codex` adds the `bumpkit mcp` entry for you. It sets no `env`, so the server uses the key from `bumpkit login`, or `BUMPKIT_API_KEY` from Codex's environment. `bumpkit hooks install --claude` (in the repository's `.mcp.json`), `--gemini`, `--windsurf` and `--cline` add the server for those agents the same way. See [Agent Hooks](/docs/agent-hooks).

## Which tools you see

When it starts, the server asks `GET /v1/features` which features are on for your key's workspace, and lists only the tools that work. If a tool is missing, run `bumpkit features` to see what's on for your workspace, and restart the server after anything changes.

## Everything the dashboard and CLI do

With a key, the server also lists one tool for every dashboard page, dashboard action and CLI command that reaches your workspace. Each tool calls the same API as the matching `bumpkit` command, under your key's own role and features, so a tool your role can't use returns the same error the CLI would. Results are the command's JSON.

Every dashboard page has **Web**, **CLI** and **MCP** modes at the top. MCP mode shows up to five prompts for that page, ready to paste into Claude Code, Codex or Cursor, each with the Bumpkit tool call it makes, plus the setup for each agent. **Approving or denying a release gate decision or a paused command is a person's call:** `inbox_approve`, `inbox_deny` and `inbox_batch` refuse those items and point to the dashboard's **Inbox**. For a release draft or an approved release, `inbox_approve` and `inbox_deny` change nothing and return the `bumpkit release approve`, `deny` or `publish` command and the release's dashboard link for the person to use.

**Changes that are hard to undo ask first.** These tools take a required `confirm` argument. With `confirm: false` nothing changes: the tool says exactly what it would do. Ask the user, then call it again with `confirm: true`. This covers deletes, revocations, disconnects, data controls, policy changes, rule approvals, freeze ends, cuts, `forget` and `rollback_pr` (a `dry_run` needs no confirmation). Three removals run without `confirm`, so call them only when the user asked: `train_remove`, `multi_train_abandon` and `lessons_retire`. `inbox_batch` takes the same typed phrase as the CLI, `approve N low-risk items`.

**Secrets stay out of arguments**, with one exception: `integrations_connect` also accepts a webhook `url` or an `api_key` directly, so prefer its `secret_env`. Tools that need a token or signing secret take the name of an environment variable in the server's environment (`token_env`, `secret_env`) or a path to a private file (`token_file`, `secret_file`, mode 600). Keys, SCIM tokens and auditor links created through a tool appear once in the result; store them and don't repeat them.

| Area | Tools |
|------|-------|
| Workspace | `status`, `whoami`, `github_link_status`, `features`, `features_request`, `onboarding_view`, `onboarding_confirm`, `onboarding_dismiss`, `settings_view`, `settings_set`, `workspace_list`, `create_workspace`, `workspace_delete` |
| People and keys | `team_list`, `team_invite`, `team_role`, `team_remove`, `team_cancel`, `keys_list`, `keys_create`, `keys_delete` |
| Connected apps | `mcp_connect`, `mcp_connections_list`, `mcp_connections_revoke` |
| Repositories | `repo_list`, `repo_add`, `repo_verify`, `repo_pulls_list`, `agent_hooks_status` |
| [Agent telemetry](/docs/agent-telemetry) | `agent_telemetry_status`, `agent_telemetry_events`, `agent_telemetry_enable`, `agent_telemetry_disable`, `agent_telemetry_mode`, `agent_telemetry_scope`, `agent_telemetry_retention`, `agent_telemetry_identity`, `agent_telemetry_purge`, `agent_telemetry_test`, `agent_telemetry_keys_list`, `agent_telemetry_keys_create`, `agent_telemetry_keys_rotate`, `agent_telemetry_keys_revoke` |
| [Kaarigar](/docs/kaarigar) | `kaarigar_status`, `kaarigar_setup`, `kaarigar_rotate`, `kaarigar_revoke`, `kaarigar_teams_list`, `kaarigar_teams_set`, `kaarigar_teams_remove`, `kaarigar_mcp_list`, `kaarigar_mcp_approve`, `kaarigar_mcp_deny` |
| [Agent inventory](/docs/agent-telemetry#agent-inventory) | `agent_inventory_list` |
| [AI vendor usage](/docs/vendor-usage) | `agent_vendors_status`, `agent_vendors_connect`, `agent_vendors_sync`, `agent_vendors_disconnect`, `agent_vendors_retention`, `agent_vendors_identities_list`, `agent_vendors_identities_map`, `agent_vendors_identities_unmap` |
| Playground | `playground_examples`, `playground_run` |
| Release decisions | `checks_list`, `checks_queue`, `checks_view`, `decisions_view`, `decision_approval_status`, `findings_feedback`, `findings_precision`, `provenance_show`, `provenance_attest`, `provenance_key`, `override`, `override_list`, `override_review` |
| Policy | `policy_enforcement`, `policy_repository`, `policy_show`, `policy_set`, `policy_history`, `policy_diff`, `policy_paths`, `agent_policy_show`, `agent_policy_set`, `agent_policy_history`, `agent_policy_diff`, `freeze_list`, `freeze_start`, `freeze_end`, `rules_list`, `rules_view`, `rules_approve` |
| Release batches | `train_list`, `train_new`, `train_sync`, `train_remove`, `train_approve`, `train_cut` |
| Notes and digests | `notes_list`, `notes_view`, `notes_generate`, `notes_audience_set`, `notes_audience_delete`, `notes_segment_set`, `notes_segment_delete`, `notes_feature_set`, `notes_feature_delete`, `digest_set`, `digest_preview`, `digest_send`, `digest_delete` |
| Approvals | `approvals_list`, `approvals_show`, `inbox_list`, `inbox_approve`, `inbox_deny`, `inbox_batch`, `approvals_commands_list`, `memory_pending`, `memory_approve`, `memory_reject`, `lessons_approve`, `lessons_reject`, `lessons_retire` |
| Agents and swarms | `agents_usage`, `agents_violations`, `agents_records`, `agents_spend`, `swarm_status`, `merge_plans`, `contracts_sync`, `contracts_ack`, `contracts_close`, `test_flaky`, `test_upload`, `index_upload`, `cve_exposure`, `cve_fix`, `cve_alerts`, `testdb_list`, `testdb_sweep`, `pause`, `pause_remote`, `firewall_scan`, `guard`, `guard_remote` |
| Reports | `report`, `report_readiness`, `report_authorship_coverage`, `report_confidence`, `report_confidence_status`, `report_risk`, `report_score`, `report_outcome`, `report_retrain`, `report_pooling`, `quality_history`, `incidents_list`, `incidents_resolve` |
| Local analysis | `blast_radius`, `quality`, `contains`, `hotfix_version`, `deploy` run on the checkout next to the server, like the CLI |
| Integrations | `integrations_list`, `integrations_connect`, `integrations_test`, `integrations_disconnect`, `integrations_request`, `integrations_deliveries_list`, `integrations_deliveries_retry`, `integrations_linear_teams`, `integrations_authorize`, `integrations_oauth_status`, `integrations_slack_app_channel`, `integrations_slack_app_reauthorize`, `integrations_slack_app_posting`, `integrations_slack_app_disconnect`, `docs_connect`, `docs_connections`, `docs_disconnect`, `sources_list`, `sources_add`, `sources_set_secret`, `sources_remove`, `gate_connections_list`, `gate_connections_add`, `gate_connections_remove`, `gate_connections_relay_token_create`, `gate_connections_relay_token_rotate`, `gate_connections_relay_token_revoke`, `release_health_settings_view`, `release_health_settings_set` |
| Identity | `identity_sso_view`, `identity_sso_set`, `identity_sso_remove`, `identity_sso_unlink`, `identity_sso_managed_mcp_view`, `identity_sso_managed_mcp_set`, `identity_sso_managed_mcp_clients_add`, `identity_sso_managed_mcp_clients_remove`, `identity_sso_managed_mcp_test`, `domains_list`, `domains_add`, `domains_verify`, `domains_remove`, `scim_tokens_list`, `scim_tokens_create`, `scim_tokens_revoke`, `scim_groups_list`, `scim_groups_set_role` |
| [Compliance matrix](/docs/compliance#compliance-matrix) | `compliance_matrix`, `compliance_export`, `compliance_policies_list`, `compliance_policies_view`, `compliance_policies_add`, `compliance_policies_remove` |
| Data, audit and billing | `data_view`, `data_set`, `data_export`, `data_delete`, `evidence_export`, `evidence_governance`, `audit`, `audit_export`, `audit_streaming_list`, `audit_streaming_create`, `audit_streaming_test`, `audit_streaming_enable`, `audit_streaming_disable`, `audit_streaming_remove`, `audit_streaming_dead_letters_list`, `audit_streaming_dead_letters_redeliver`, `auditors_list`, `auditors_create`, `auditors_revoke`, `billing_status`, `billing_portal` |

Browser steps stay in the browser. `repo_add` and `integrations_authorize` return the approval URL for the user to open; then check `repo_verify` or `integrations_oauth_status`. Exports such as `data_export` and signed `evidence_export` bundles are written to a new private file you name with `output`. Approval votes are a person's act. There is no tool that approves or denies a release decision: `decision_approval_status` returns what still needs approval, from whom, the approvals recorded and the dashboard link where a reviewer approves, or they run `bumpkit approvals approve` or `bumpkit decisions approve` and confirm in the browser. `approvals_list` and `approvals_show` read what waits for approval and never vote. `agent_hooks_status` says whether a repository has the [agent hooks](/docs/agent-hooks#add-the-hooks-with-a-pull-request) and links to the open pull request; a person opens it from the dashboard or with `bumpkit hooks pr`. `workspace_list` shows every workspace the person belongs to; the server keeps acting in the one its key belongs to. `inbox_approve`, `inbox_deny` and `inbox_batch` refuse gate decisions and paused agent commands for the same reason. Break-glass overrides and their reviews, invitations, repository host connections, and approving and cutting a release batch need a person signed in to the dashboard: `override`, `override_review`, `team_invite`, `gate_connections_add`, `train_approve` and `train_cut` are refused with `HUMAN_APPROVAL_REQUIRED` and the link, so give the user that link. The same goes for `train_new` on a branch other than the default branch, `train_remove` for a pull request someone else added, `agent_telemetry_purge`, and agent telemetry changes that remove evidence. Approving or rejecting a compliance mapping needs a person too: no tool does it, and `compliance_matrix` returns the `review_url` where a reviewer signs in.

A typical connected flow is `repo_add` and `repo_verify`, then `repo_pulls_list` and `github_pull_request_check`, then `decisions_view` for the rule, `file:line` and what to do. After a fix is pushed, run `github_pull_request_check` again on the new head, then read the recorded decision with `decisions_view`, `provenance_show` and `evidence_export`.

## Changelog and version tools

These are always listed and need no feature flag. They accept raw commit messages; Conventional Commits are not required.

| Tool | Returns |
|------|---------|
| `analyze_commits` | Changelog, semver bump, suggested version and a signal rating in one call |
| `generate_changelog` | Changelog sections (added, fixed, changed...) and a formatted string, without a version |
| `suggest_version` | Bump type (major, minor, patch), suggested version and reasoning, without a changelog |

All three take `commits` (each with `message`, optional `hash` and `author`) and `previous_version`. `analyze_commits` and `generate_changelog` also take `repository_url` for commit links and `format`. A confidence of 0.7 or higher is safe to publish automatically; below that, show the user the result first.

## Credits used

With a key, `get_billing_usage` and `billing_checks` are always listed. `billing_checks` lists one period's checks one by one, 25 a page (`period`, `page`). It returns one billing period's credits: credits used, free credits used and left, paid credits, free re-runs and, with estimates on, the estimated charge, broken down by repository, source, outcome and who ran each check, with a daily series. The `not_checked` outcome reads "Checked, no gate decision": a release check that ran without a release gate decision, for example from the CLI or API, and it uses a credit like any other check. Pass `period` as `YYYY-MM` (UTC); it defaults to the current month. 1 credit = 1 release check = $0.10, re-runs of the same commit are free, and every workspace gets 60 free credits a month. Only owners' and admins' keys can read it. The numbers match the dashboard, `bumpkit billing usage` and [GET /v1/billing/usage](/docs/api-admin#get-v1-billing-usage).

## Check a connected pull request

Ask your agent to call `github_pull_request_check`:

```json
{"repository":"acme/shop","pull_request":7}
```

This runs the same check as `bumpkit github check` and the dashboard: reads the current PR revision, verifies base policy, CI and reviews, saves a decision and publishes a GitHub check. It requires a user-bound key. Machine keys cannot invoke it.

Inspect `status` (`completed`, `waiting`, `error`) and, when available, `outcome` (`pass`, `needs_approval`, `fail`), revision hashes and decision links. `waiting` is not a pass; retry after CI finishes. The tool does not merge or deploy. It is separate from `release_check` and `release_gate`, which accept generic or local change inputs.

## Release tools

| Tool | Returns |
|------|--------- |
| `github_pull_request_check` | Saved connected-PR decision, exact revisions and GitHub check links, or a waiting/error result |
| `release_check` | Verdict (`ship`, `review`, `block`), semver bump, next version, summary and findings with file and line, for `base`..`head` in a local repo (`head: "working-tree"` includes uncommitted work) or a GitHub `repository`. `sarif` and `socket` take scanner results, each the contents of one file, and put findings on touched or reached lines in the blast radius |
| `release_history` | Past release checks that touched files under a path, with verdicts and findings |
| `release_gate` | `pass`, `needs_approval` or `fail` under the repository's `bumpkit.yml`, with each rule's reason and the findings behind it. Takes the same `sarif` and `socket` scanner results as `release_check` |
| `compile_rule` | A plain-English rule compiled into a proposed `bumpkit.yml` change: what it does, the diff, and which recent decisions it would have changed. It only drafts; an owner, admin or policy admin approves it. |
| `agent_scorecards` | Per coding agent: releases shipped clean, blocked or needing approval, proven high-severity problems, and top finding kinds |
| `compatibility_matrix` | Each supported version pair with its verdict from recorded release checks: `compatible`, `breaking` with the break's file and version, or `not_checked`. Pass `pair` for one pair version by version, or `format: csv` for the procurement export. |
| `compatibility_sync` | Read the compatibility section of bumpkit.yml into the matrix now. Needs an owner or admin key, and runs only in the local server. |
| `proven_changes` | Which kinds of change, in which part of each repository, ship without problems, and a backtest of what would have skipped review. Pass `area` and `kind` for one class's changes and problems. It only measures |
| `what_broke` | Releases ranked as the cause of a production failure, each with a likelihood, from an error and stack trace or files, with the reason for each |
| `release_health` | Error rate after a deploy against before, new and spiking errors, the top suspect commits behind them with a likelihood, and a verdict (`healthy`, `degraded`, `regressed`, `unknown`) |
| `release_docs` | Engineering notes, customer notes and a migration guide for a checked release, by check id |
| `publish_release` | Asks to publish a checked release's docs. Always refused with `HUMAN_APPROVAL_REQUIRED` and the link to the check: a person signed in to the dashboard publishes there |
| `multi_rollback_plan` | Saves an ordered rollback plan across a service and the repositories that depend on it, with blockers and what's missing. Opens nothing; a person starts it in the dashboard |
| `multi_rollback_show` | A multi-service rollback plan with each repository's pull request state. Read-only |
| `multi_rollback_list` | Multi-service rollback plans, newest first. Read-only |
| `rollback_plan` | The smallest revert set that undoes a regression, ranked by evidence and dry-run with `git revert` |
| `when_introduced` | The first release where a symbol, file, finding kind, text or dependency between areas appeared, the commit that introduced it, and later changes |
| `predict_regressions` | Existing functionality a change can break, each area with a likelihood (and a measured probability once it has enough history), ranked from its blast radius and the repository's incident history |
| `what_changed` | Releases that touched an area since a date, number of days or release, with files, findings and agents |
| `has_area_regressed` | Incidents that ran through an area, and how each was resolved |
| `who_changed` | Every commit that touched a symbol's lines, with author, detected agent and release |
| `release_notes` | Release notes for one audience of a checked release (engineering, customer, support, security, or a custom one), optionally for a customer segment |
| `release_audiences` | The workspace's release note audiences, customer segments and feature tags |
| `weekly_digests` | Weekly digest schedules: repository, day and time, destinations, next and last send |
| `consumer_migration_guide` | What consumers of a breaking release must change, by check id, with before and after lines and source links |
| `train_status` | A release train's readiness: each pull request's gate decision, pending approvals, combined breaking changes and migrations, and the verdict (`ready`, `waiting`, `needs_approval`, `blocked`) with reasons. Without a train, the repository's trains |
| `prepare_release` | Groups everything merged since the last release tag into one draft release: pull requests, commits, one check, the suggested version and notes. Agents can't approve or publish it |
| `show_release` | One grouped release with its range, pull requests, commits, verdict, risk, publish status and one `audience`'s notes (`customer` by default), plus which targets get them |
| `edit_release_notes` | Replaces (`body`) or regenerates (`regenerate`) one `audience`'s notes on a draft or approved grouped release. After approval only owners, admins, policy admins and approvers can; every change is audited |
| `correct_release_notes` | Corrects the notes of a published release (`id`, `audience`, `body`, `reason`) everywhere they were published: the changelog entry and RSS feed, the GitHub Release, and Notion or Confluence pages. Slack messages aren't edited. With `version` (and `repository`) instead of `id`, corrects an older changelog entry. Owners and admins only; `reason` needs at least 10 characters and every correction is audited. Pass `confirm: true` once the user agreed |
| `list_releases` | Grouped releases, newest first; published ones are the version history |
| `join_train` | Puts your pull request on a release train by name or id |
| `multi_train_new` | Starts a release train across repositories (`name`, `repositories`, optional `milestone`). It approves and cuts nothing |
| `multi_train_list` | Multi-repo trains, newest first |
| `multi_train_status` | A multi-repo train's order and why, what's missing, and each repository's gate result, state, retries and what holds it. A person approves, cuts, retries and sets the order at `dashboard_url` |
| `multi_train_sync` | Refreshes every step's pull requests from GitHub. A repository that fails shows `sync_error` on its step |
| `multi_train_abandon` | Abandons a multi-repo train and every step that hasn't released. Owners and admins only |
| `service_graph` | Every repository in the service graph with the packages and API contracts it provides and consumes, and who uses it |
| `service_graph_refresh` | Re-reads every connected repository into the service graph. Owners and admins only |
| `autopilot_list` | Dependency upgrade proposals: package, versions, whether it's breaking and why, advisories fixed, status and pull request (`limit`). A person approves one with `bumpkit autopilot approve` |
| `autopilot_scan` | Looks for new dependency versions now and proposes upgrades. Owners and admins only |
| `autopilot_dismiss` | Dismisses an upgrade proposal (`id`, `confirm`). Owners and admins only |
| `service_map` | Each service's health and last release, what it depends on, what uses it, and why each edge exists |

## Memory tools

| Tool | Returns |
|------|---------|
| `recall` | Notes, decisions, pitfalls and incidents saved for a path, plus recent releases that changed it, what they were flagged for, and which agents wrote them |
| `remember` | Saves a memory (`note`, `decision`, `pitfall` or `incident`) about a path, up to 2000 characters |
| `forget` | Deletes a memory by the id `recall` returned, once `confirm` is true |

## Behavioral verification tools

| Tool | Returns |
|------|--------- |
| `verify_report` | The behavioral verification report `bumpkit verify` uploaded for a commit: tests, generated inputs, HTTP responses and pages at base and head, each marked same, changed, fixed, regression, failing or error |
| `untested_behavior` | New or newly branched functions no test reaches, with file and lines and why, plus tests made obsolete by removed symbols |
| `test_expected` | The tests a change's blast radius expects, each with the changed symbol or path that made it expected, and any change Bumpkit can't map to tests. Runs on the local checkout |
| `test_evidence` | Which expected tests passed, failed or didn't run on a commit, from CI-attested uploads, and why each one is expected |
| `intent_coverage` | Acceptance criteria from the pull request and linked tickets, each mapped to the files, tests and checks that evidence it, or marked not evidenced |

## Agent swarm coordination tools

| Tool | Returns |
|------|--------- |
| `claim` | Claims a resource (a path, symbol, route, flag key, env var or other) so parallel agents don't take it |
| `next_migration` | The next free migration number for the repository, held for you |
| `renew_claim` | Extends a claim you hold, by id |
| `release_claim` | Releases a claim you hold, by id |
| `list_claims` | Active claims in the repository: who holds what, and until when |
| `declare_intent` | What the paths and symbols you will touch collide with: open pull requests, branches, and other agents' claims and declarations |
| `merge_plan` | A safe merge order for open pull requests, with the reason for each position |
| `merge_notifications` | Notifications when a move on main breaks your pull request: conflicting files and changed signatures it uses |
| `list_stacks` | The repository's stacked pull requests in merge order, with each one's current decision for its exact head and base |
| `get_stack` | One pull request's stack: its position, its parent and the pull requests that must merge first |

See Agent Swarms for how these fit together.

## Agent swarm trust tools

| Tool | Returns |
|------|--------- |
| `report_work` | Each claim you make about a commit (tests pass, coverage, lint clean, files changed, migrations added) checked against CI and the real diff: verified, contradicted or unverifiable |
| `contract_alerts` | Whether a Go function, method or type your branch calls had its signature changed or removed on another branch |
| `test_triage` | For each failing test, whether it is known flaky or likely real, with its pass and fail history |
| `test_database_lease` | Your own Postgres database for this run's tests, created on the test server in `TEST_DB_ADMIN_URL` (only when its host is in `TEST_DB_ALLOWED_HOSTS`). After its TTL, your next lease or `bumpkit testdb sweep` drops it. |
| `test_database_release` | Drops a test database you leased |

See Agent Swarms for how these fit together.

## Agent swarm governance tools

| Tool | Returns |
|------|--------- |
| `lessons` | The lessons people approved for every agent in the repository: practices, pitfalls, decisions and things deliberately not built, by `path` and `area` |
| `propose_lesson` | Proposes a lesson (`body` up to 1000 characters, `kind`, `paths`, `areas`, `supersedes`). It reaches other agents only once a person approves it. |
| `has_this_been_tried` | Evidence that something was tried before, from a `query` and the `paths` and `symbols` it touches: reverted commits, files added and later deleted, removed APIs, dropped decisions and past gate blocks, with links |

## Close the loop tools

| Tool | Returns |
|------|---------|
| `fix_tasks` | The fix tasks the gate routed to you on this branch: the symbol whose contract changed, every caller still on the old one by file and line, and the expected edit. The agent can't mark a task done; the next gate run verifies it. |
| `rollback_pr` | Opens the revert pull request for an incident, a check or a release version, or takes the branch back to an earlier version with `to`, through the Bumpkit GitHub App (keys of owners and admins only). `dry_run` returns the releases and commits it would revert without opening anything; opening one needs `confirm: true`. |
| `backport_pr` | Opens the cherry-pick pull request for a shipped hotfix missing from a branch, or returns the conflicting files when it doesn't apply |

Bumpkit never merges these pull requests. See [bumpkit loop](/docs/cli-checks#bumpkit-loop).

## Data and privacy

The hosted connector receives the arguments of each tool call and returns the result. It never reads the rest of your conversation, your assistant's memory or your files. Each connection stores the client's name and redirect URLs, who connected it to which workspace, and when it was created and last used. Its access and refresh tokens are stored only as hashes. Revoke a connection under Agents, Connected apps, or with `bumpkit mcp connections revoke`, and its tokens stop working at once.

Every tool carries a title and says whether it only reads, makes a change or deletes something, so your client can run reads without asking and confirm changes first. Tools that delete, revoke, disconnect, purge or override are marked destructive.

See [Data Handling](/docs/data-handling) for what Bumpkit stores, sends and keeps, and the [Privacy Policy](https://bumpkit.dev/privacy) for how it's used and shared.

## Example prompts

> Check this branch with Bumpkit before you open the pull request.

The agent calls `release_gate` with `head` set to `working-tree`, fixes the cited findings if the outcome is `fail`, and says which approval is needed if it is `needs_approval`.

> What do we know about services/auth before you change it?

The agent calls `recall` with `path` set to `services/auth`.

> Suggest the next version from the commits since the last tag.

The agent runs `git log`, calls `suggest_version`, and reports the bump with Bumpkit's reasoning.
