Release Management
Short answer
Create or update a catalog release with upsert_release, load it (or list the catalog) with get_release, then use manage_test_run to add a test run, update status, and find or link batches in the prior-to-current commit range. Auth is the project API key only.
Common scenarios
Create a release and attach coverage
- Call
upsertReleasewith{ "version": "<label>", "gitCommitSha": "<cut sha>" }(optionalpriorReleaseVersion). - Call
manageTestRunwith{ "release": "<label>", "commitRange": "MCP_TEST_RUN_COMMIT_RANGE_FIND" }to create the run and list unlinked batches in the prior-release-to-current commit range. - If the user agrees, call
manageTestRunagain with the returnedidand"commitRange": "MCP_TEST_RUN_COMMIT_RANGE_LINK"(or pass explicitbatchInvocationIds).
Read plan and credits first with getOrgCapabilities when the agent should adapt to indie / teams / trial and ChimpHands credit remaining.
List or fetch a release
getRelease returns one catalog entry when version is set. Omit version to list (excludeArchived, environment, paging).
CI quality gate
- Call
getReleasewith{ "version": "<label>", "detail": "MCP_RELEASE_VIEW_GATE" }. - Apply your policy on
summary.environmentStats,summary.issueStats, andsummary.scanSummaries.
See the full curl/jq example in Programmatic release gating.
Agent / ExploreChimp targeting
Use getRelease for the thin catalog (SHA, prior release, focus areas).
Security scan reporting
| Step | Operation |
|---|---|
| Load scan config | getSecurityScanConfig |
| Progress | updateScanProgress |
| Findings | reportScanFindings with scanner DAST / SAST / DEPS / SECRETS |
Related
Frequently asked questions
Which endpoint gates CI?
POST /api/mcp/get_release with { version, detail: MCP_RELEASE_VIEW_GATE }. Apply your own policy on the returned summary and detail.
How does an agent create a release and attach coverage?
POST /api/mcp/upsert_release, then manage_test_run with commitRange FIND to offer batches in the prior-to-current range, and manage_test_run again with commitRange LINK if the user wants them attached.