A walkthrough of using Chkk Upgrade Context MCP with Cursor to produce environment-aware IaC pull requests
Clone the Sample Chkk IaC repo
Retrieve your Chkk Access Token
Install in Cursor via deeplink
Configure your Chkk Access Token
CHKK_ACCESS_TOKEN
environment variable
in the MCP Tool Settings opened via the deeplink in the previous step.
Verify Chkk Upgrade Context MCP Server is installed
Retrieve the Upgrade ID
Open a new chat in Cursor
Load the Chkk Upgrade Agent
Provide the upgrade ID of the Example Upgrade Plan
Kickoff & ID Handshake
Environment Snapshot & State Setup
cert-manager
) and version span (1.14.4 → 1.17.2
)..chkk/scratchpad/
) which enables workflow tracing and checkpointing.Context Retrieval (MCP Tool Call)
cert-manager
.Plan Load & Sanity Summary
cert-manager v1.14.4 → v1.17.2
Target Locator (Chart Finder)
.../helm/cert-manager/
) by scanning for Chart.yaml where
name == cert-manager
and version == 1.14.4
(exact, case-sensitive).Edge cases you might see:Preflight Checks
Reviewer Context, Upfront
Deterministic Apply Pass
templates/cainjector-service.yaml
, templates/extras-objects.yaml
) with immediate ✅ Added confirmations.
*.diff
is applied one-by-one with a visible sequence:.bak
, then removed with ✅ Deleted confirmations.
CRD Copy
Update Custom Resources
Postflight Checks (Hard Gates)
Chart.yaml version == to_version
(e.g., v1.17.2
) → ✅❌Human-Readable Summary (PR-Ready)
cert-manager
IaC Successfully Updated — v1.14.4 → v1.17.2.
Review workspace changes
Chart.yaml
, values.yaml
, and any template updates.Commit and open a pull request