> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chkk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Cursor + Chkk SHARC in 5 minutes

> Install and run the Chkk SHARC Skill from Cursor.

## Prerequisites

1. [Install Docker](https://docs.docker.com/get-docker/): Required to run the Chkk-Upgrade-Context-MCP Server.

2. [Install Cursor](https://docs.chkk.io/resources/installation-guides/cursor.md): Required to begin generating environment-aware pull requests.

> [!NOTE]
>
> Agent Responses on this page are illustrative. Exact phrasing from your AI
> model may vary depending on the model, settings, and repository context.

> [!NOTE]
>
> Recommended: use Anthropic's latest Claude Sonnet or Claude Opus model with the Chkk-Upgrade-Context-MCP Server, especially for multi-file IaC changes or SHARC validation runs. Avoid lightweight or fast models.

You'll also need `kubectl` configured for the target cluster, plus the Chkk-supported Cloud Native Project name, namespace, and release name for the project you want to validate.

**1. Retrieve your Chkk Access Token**

1. In the **Chkk Dashboard**, expand **Configure** on the left menu and click **Settings**.
2. Select the **Tokens** tab. Here you'll see a list of all your active tokens (if any), along with options to create new ones or revoke existing ones.
3. Click on the **clipboard** icon next to a token to copy it.

   ![Tokens Tab](https://mintcdn.com/chkk/ErQAF5e5P7IkmW9z/images/features/chkk-access-token.gif?s=f0f979e1e97c8531d96868a9db175c25)

**2. Install in Cursor via deeplink**

Click the card below to install the Chkk Upgrade Context MCP Server in Cursor.

> [card] [Add Chkk to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=Chkk%20Upgrade%20Context%20MCP\&config=eyJjb21tYW5kIjoiZG9ja2VyIHJ1biAtaSAtLXJtIC1lIENIS0tfQUNDRVNTX1RPS0VOIHB1YmxpYy5lY3IuYXdzL2Noa2svY2hray1tY3AtdXBncmFkZS1jb250ZXh0OmxhdGVzdCIsImVudiI6eyJDSEtLX0FDQ0VTU19UT0tFTiI6IjxBREQgVE9LRU4%252BIn19)
>
> Click here to add Chkk to your Cursor

**3. Configure your Chkk Access Token**

Paste your Chkk Access Token in the `CHKK_ACCESS_TOKEN` environment variable
in the **MCP Tool Settings** opened via the deeplink in the previous step.

![Tokens Tab](https://mintcdn.com/chkk/P3h5EG42IrWoBIeY/images/ai/cursor-install-uc-mcp.png?fit=max\&auto=format\&n=P3h5EG42IrWoBIeY\&q=85\&s=7d382f57e6de4cbf2975c55811abc15b)

**4. Verify Chkk Upgrade Context MCP Server is installed**

Verify in **MCP Tool Settings** that Chkk Upgrade Context MCP Server is
successfully installed and enabled. ![Tokens
Tab](https://mintcdn.com/chkk/7b0Vu7ZsVAgQD8bf/images/ai/cursor-uc-mcp-installed.png?fit=max\&auto=format\&n=7b0Vu7ZsVAgQD8bf\&q=85\&s=de1d0aa06094d414adb61a21c700d6ea)

**5. Fetch and install the Chkk SHARC Skill**

With the Chkk MCP server installed, ask Cursor to fetch and install the skill:

Fetch and install "chkk-sharc-skill" from Chkk MCP. After installation, tell me how to run it by name or with /chkk-sharc-skill.

Cursor uses Chkk MCP to fetch the latest SHARC skill and install it locally. When a new version is released, the skill notifies you and asks before updating.

**6. Run SHARC validation**

Invoke the skill from Cursor by name or with the slash command:

/chkk-sharc-skill Run SHARC validation for PROJECT\_NAME in the NAMESPACE namespace with release name RELEASE\_NAME. Ask me for the target kube context before running anything.

Or use natural language:

Use chkk-sharc-skill to validate PROJECT\_NAME in the NAMESPACE namespace with release name RELEASE\_NAME on my Kubernetes cluster.

Replace `PROJECT_NAME`, `NAMESPACE`, and `RELEASE_NAME` with the Chkk-supported Cloud Native Project you want to validate, plus the namespace and release name used by that installed project.

For example, to validate cert-manager:

/chkk-sharc-skill Run SHARC validation for cert-manager in the cert-manager namespace with release name cert-manager. Ask me for the target kube context before running anything.

The skill asks for the kubeconfig path or kube context, the Chkk-supported Cloud Native Project name, the project namespace, the project release name, the environment type, and the cluster's runtime pull behavior. It then surfaces the namespace, service account, and RBAC manifests for you to apply, and confirms with you before running the SHARC Job.

## What happens during a run

The `chkk_get_sharc_skill_instructions` Chkk MCP tool loads or refreshes the SHARC skill. During a run, the skill creates a local run log under `.chkk`, asks for your target cluster details and the specific Cloud Native Project to validate, and shows the namespace, service account, and RBAC manifests to apply. Once you confirm the manifests are applied, it runs the SHARC catalog preflight and validation Job for that project.

> [!NOTE]
>
> Learn more in the [Chkk SHARC Skill guide](https://docs.chkk.io/ai/sharc-skill.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.