14

MCP tools

One tool belt for Cursor, Claude Code, the console and the widget. This list is the registry the server answers with.

changebox_me

Show the organization, apps, and queue counts this token can see.

scope: read

changebox_metrics

Issue-to-merge time for an app. Median and p90 of filed→merged over a window (24h default), split into external PR and full cycle, the median of each stage, rework counts, and agent minutes and spend that produced no PR. Pass change to include that change's stages.

scope: read

appstringApp id, exact name (case-insensitive), or repository full name (owner/name).
window24h | 7d | 30dChanges filed in this window. Default 24h.
changestringOptional. Include this change's stage durations and rework counts.

changebox_queue

List changes. Defaults to everything open (reported, in_progress, in_review, pr_ready, reopened, blocked, failed). Filter by status list, app, or free text (matches id, description, expected, path, reporter email).

scope: read

statusreported | in_progress | in_review | pr_ready | live | confirmed | reopened | blocked | wontfix | failed | open | closed[]Statuses to include. "open" and "closed" are shortcuts.
appstringApp id, exact name (case-insensitive), or repository full name (owner/name).
qstringSearch text.
limitintegerHow many changes to return. Default 50, max 200.
sincestringISO timestamp; only changes updated after this.

changebox_change

Full report for one change: what/expected, page, screenshots, repo + base branch, timeline, and what the cloud agent runs cost.

scope: read

ref *stringChange reference: public id like CB-12 (case-insensitive) or the internal chg_… id.

changebox_claim

Mark a change in_progress. Safe to call twice.

scope: operator

ref *stringChange reference: public id like CB-12 (case-insensitive) or the internal chg_… id.

changebox_mark_live

The fix is deployed. Reporter sees 'Ready to check' and can confirm or send it back.

scope: operator

ref *stringChange reference: public id like CB-12 (case-insensitive) or the internal chg_… id.
notestringOptional note for the timeline.

changebox_set_status

Move a change to a specific status with an optional note. Use blocked or wontfix when you cannot proceed. The server enforces legal transitions and returns 409 otherwise.

scope: operator

ref *stringChange reference: public id like CB-12 (case-insensitive) or the internal chg_… id.
status *reported | in_progress | in_review | pr_ready | live | confirmed | reopened | blocked | wontfix | failedThe status to move the change to. The server rejects illegal transitions.
notestringWhy. Shown on the timeline.
prUrlstringPull request URL to attach when moving to pr_ready.

changebox_assign

Set or clear who is working a change without moving its status. Pass a member's name or user id; omit to unassign.

scope: operator

ref *stringChange reference: public id like CB-12 (case-insensitive) or the internal chg_… id.
assigneestringMember name or user id. Omit to clear.

changebox_approvals

The approval queue: every change waiting at the Build gate (may an agent build this?) or the Ship gate (may this PR be released?). Newest first.

scope: read

gatebuild | shipOnly one kind of gate.
appstringApp id, exact name (case-insensitive), or repository full name (owner/name).
limitintegerHow many open gates to return. Default 50, max 200.

changebox_approve

Approve or reject the Build or Ship gate on a change. Approving Build starts the agent; approving Ship lets it be marked live. Rejecting Build closes the change as won't fix; rejecting Ship sends it back with your note as the agent's follow-up. Recorded with who decided and that it came through MCP. The token needs the approve scope.

scope: approve

ref *stringChange reference: public id like CB-12 (case-insensitive) or the internal chg_… id.
gate *build | shipWhich gate to decide: build (may an agent build this?) or ship (may this PR be released?).
decision *approve | rejectapprove starts the agent (build) or unlocks live (ship). reject closes as won't fix (build) or sends the PR back (ship).
notestringWhy. Required when rejecting Ship.

changebox_comment

Leave a note on the change timeline without changing status.

scope: operator

ref *stringChange reference: public id like CB-12 (case-insensitive) or the internal chg_… id.
message *stringThe note to leave on the timeline.

changebox_report

File a change on an app without the widget: what you saw, what you expected, where. An admin token naming an app the org does not have yet (a name, or a repository owner/name) creates it first. Use it to log a bug you found while testing so the queue, Slack card and Cloud Agent path all start from the same record. description and expected are each capped at 4000 characters, so an exact artifact (a document, a fixture, a config the change must deliver) goes in context. Intake and the build agent read context, minus the reserved keys via, tool, filedBy, reporter*, and clarification, as a "Context supplied by the reporter" section. context is capped at 64 KB. Over that cap the call is refused; put the artifact on the timeline with changebox_comment.

scope: operator

app *stringApp id, exact name (case-insensitive), or repository full name (owner/name).
description *stringWhat happened.
expectedstringWhat should have happened.
impactbroken | confusing | polishDefault broken.
urlstringAbsolute page URL where it happened.
contextobjectExact artifact or extra evidence for intake and the build agent (a document, fixture, config, ids, log lines), up to 64 KB. Reserved keys via, tool, filedBy, reporter*, and clarification are not shown to them. Over the cap, use changebox_comment.
repositorystringOne of the app's repositories (id or URL) when the fix belongs somewhere other than the primary repo.
reporterobjectFile as this teammate (by email). Omit with a personal token — it files as you.

changebox_github_connect

A link that installs the ChangeBox GitHub App on this organization's repositories (read-only is enough). Open it, pick the repositories; GitHub returns to the console. Says whether GitHub is already connected.

scope: admin

changebox_baseline_order

A Stripe Checkout link for the one-time Baseline audit of the whole product, on this organization. Nothing is charged until the person pays at the link. An organization that already ordered one is told so.

scope: admin

depthstandard | thoroughDefault standard.
repositoriesintegerHow many repositories to audit. Default 1.

changebox_report_failure

Report a structured failure from a running app: a pipeline step, a gate, a job. A code failure files a change on first sight. Repeats attach to the open change (or the live one) and the card counts them (seen 7× across 4 projects). kind=quality (a judge verdict, a retry the system handled) never files alone — it files once when enough distinct subjects land in a day. outcome=success records a successful run of that step and files nothing; those runs confirm a live fix. A production report of a fingerprint already fixed on dev waits for the release.

scope: operator

app *stringApp id, exact name (case-insensitive), or repository full name (owner/name).
environment *stringWhere it happened: production, staging, development.
step *stringPipeline step or surface, e.g. gate-a or render.
surfacestringSame as step when the app names a surface instead. step wins when both are set.
errorClassstringError type, e.g. TypeError or ProviderError.
messagestringThe error message. Ids and counts are stripped for the fingerprint; the original is kept as evidence.
stackstringStack or log excerpt. Truncated at 4000 characters.
subjectsobjectIds this failure is about, e.g. { projectId, episode, stageRunId }. Distinct values drive the quality threshold and the card line.
occurredAtstringISO time the failure happened. Defaults to now.
buildShastringBuild SHA of the app that reported it.
severitystringHint. A user-visible stall or a charge without a result files as broken; anything else is confusing.
kindcode | qualitycode files on first sight. quality only counts until the subject threshold.
outcomefailure | successsuccess counts a run of this step that finished. It never files a change.

changebox_send_review

Send the builder a follow-up on the linked pull request. With only ref, sends the stored review findings and refuses when that review is clean or empty — pass instructions (or findings) to say what to change, which starts the follow-up even when the review is clean or the change is already pr_ready. The change returns to in_progress. Refuses, and does not start an agent, when the change's repository or linked pull request is not one of the app's current repositories, or when that GitHub repository is archived. Re-file the change against the app's primary repository.

scope: operator

ref *stringChange reference: public id like CB-12 (case-insensitive) or the internal chg_… id.
instructionsstringWhat the builder should change. Starts a follow-up even when the stored review is clean.
findingsstringSame as instructions.

changebox_verify

On a live change: point the Verifier at a production page (url; must be on the app's origins; empty string clears it) and/or send it now (ask: true). Use url when the report came from a dev project, an API route or an admin screen and the fix is visible on a different production page.

scope: operator

ref *stringChange reference: public id like CB-12 (case-insensitive) or the internal chg_… id.
urlstringProduction page the Verifier should open instead of the reported one. Empty string clears it.
askbooleanSend the Verifier now.

changebox_models

The Cursor model catalog the key for an app can launch: id, displayName, aliases, and variants with params. Free. Pass app when the workspace has more than one key. Pass one of these ids (or an alias) as changebox_launch_agent's model. An id that is not in that app's catalog is refused before intake.

scope: operator

appstringApp id, exact name (case-insensitive), or repository full name (owner/name). Catalog of the key this app launches on. Omit only when the workspace has one app.

changebox_launch_agent

Ask ChangeBox to start (or retry) a Cursor Cloud Agent on this change using the org's Cursor key. When a pull request is already linked, starts a follow-up on that branch and pull request instead of refusing. A draft left by a killed run is continued from that branch — the agent is told the prior commits and what remains — rather than started from scratch. Do not narrow the scope as the default response to a timeout. Pass instructions to say what to change; omit them to continue the existing pull request. Omit model and the app policy picks: the default for a build or fix, the architecture model when the Change Spec is high-risk or touches architecture. Pass model from changebox_models (a Cursor model id, one of its aliases, or the app's escalation model) to override. An id that is not in the catalog is refused before intake, with the ids this key can use. Refuses, and does not start an agent, when the change's repository or linked pull request is not one of the app's current repositories, or when that GitHub repository is archived. Re-file the change against the app's primary repository. Launching an agent requires the operator scope.

scope: operator

ref *stringChange reference: public id like CB-12 (case-insensitive) or the internal chg_… id.
modelstringCursor model id from changebox_models, e.g. grok-4.7 or the app's escalation model. Omit to use the app model policy.
instructionsstringWhat to change on the linked pull request. Omit to continue that pull request and branch.
launchAnywaybooleanStart even when this change's grounded files overlap an open pull request on the app. The new branch can conflict with that pull request.
moderebaserebase: a follow-up on the linked pull request that only merges the base and resolves conflicts. Allowed while a pull request is linked.

changebox_intake_report

File a change with the capture() bundle from @changebox/intake (route, breadcrumbs, console errors, screenshot, viewport, user agent, environment, build SHA). Pass the host-signed identity of the signed-in user. Returns JSON {changeId, publicId} or {changeId, publicId, question}. When question is set, ask the user that question verbatim and call changebox_intake_answer. Do not invent a different question.

scope: operator

app *stringApp id, exact name (case-insensitive), or repository full name (owner/name).
draft *objectWhat the user said.
captureobjectResult of capture().
identityobjectHost-signed identity from signHostIdentity. A matching org email files as that member; otherwise a guest reporter.

changebox_intake_answer

Send the user's answer to the question changebox_intake_report returned. Returns JSON {changeId, publicId} or {changeId, publicId, question} if intake still needs one answer.

scope: operator

app *stringApp id, exact name (case-insensitive), or repository full name (owner/name).
changeId *stringchangeId from changebox_intake_report.
text *stringThe user's answer, in their words.

changebox_intake_status

Plain-language state of a change filed through the assistant, such as "Fixed on dev, waiting for release." Returns JSON {changeId, status}. When intake is still waiting, status says ChangeBox asked one question and question is set.

scope: read

app *stringApp id, exact name (case-insensitive), or repository full name (owner/name).
changeId *stringchangeId from changebox_intake_report.

changebox_object_get

The App Object (changebox.json) for an app, or the Org Object with org: true: the current document, its version and digest. Pass version for an earlier one. Returns JSON {version, document, digest}.

scope: read

appstringApp id, exact name (case-insensitive), or repository full name (owner/name). The app whose object this is. Omit and pass org: true for the organization's own object.
orgbooleanThe organization's object instead of an app's.
versionintegerAn earlier version. Omit for the current one.

changebox_object_propose

Propose a change to an App Object (or the Org Object with org: true) as an RFC 6902 JSON Patch with a reason. Each touched path needs the scope its section asks for (operator, approve or admin); otherwise 403. Returns the proposal as JSON {id, status, previous, next, digest}. It is recorded, not applied, until admitted: pass admit: true with the approve scope to admit it now, or leave it to the console. For an app whose repository carries changebox.json, a proposal touching policy, invariants or repositories opens a pull request on that file instead (status pull_request, with its url) and is admitted when it merges.

scope: operator

appstringApp id, exact name (case-insensitive), or repository full name (owner/name). The app whose object this is. Omit and pass org: true for the organization's own object.
orgbooleanThe organization's object instead of an app's.
patch *object[]JSON Patch operations, e.g. [{ "op": "replace", "path": "/policy/execution", "value": "autopilot" }].
reason *stringWhy. Recorded with the proposal.
admitbooleanAdmit the proposal as the next version. Needs the approve scope.

changebox_object_history

Every version of an App Object (or the Org Object with org: true), oldest first, with the admitted proposal that made it (actor, reason, patch). Returns JSON [{version, digest, createdAt, proposal}].

scope: read

appstringApp id, exact name (case-insensitive), or repository full name (owner/name). The app whose object this is. Omit and pass org: true for the organization's own object.
orgbooleanThe organization's object instead of an app's.

changebox_closure_status

Seven checks for an app — complete, structured, readable, verifiable, rewritable, governed, running — each true or false with the reason it is false. Not a score. Returns JSON {appId, passed, total, checks: [{name, ok, reason}]}.

scope: read

app *stringApp id, exact name (case-insensitive), or repository full name (owner/name).

* required

MCP tools · ChangeBox