> For the complete documentation index, see [llms.txt](https://developers.madkudu.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.madkudu.com/madkudu-mcp/install-in-ai-platforms-in-2min/cursor.md).

# Cursor

Connect MadKudu to your Cursor

[**Cursor**](https://cursor.ai/) is an AI-powered code editor that helps technical teams build faster by integrating with tools like GitHub, APIs, and docs.\
With MadKudu connected, developers and RevOps engineers can prototype workflows, automate research, and interact with GTM signals directly inside their coding environment.

## Pre-requisite&#x20;

You'll need your API key. Refer to [this article](/getting-started/quickstart.md) to get your API key.&#x20;

## Add MadKudu MCP to Cursor

1. Click on the button below, it will take you to Cursor.&#x20;

<a href="cursor://anysphere.cursor-deeplink/mcp/install?name=MadMCP&#x26;config=eyJ1cmwiOiJodHRwczovL21jcC5tYWRrdWR1LmNvbS97QVBJX0tFWX0vbWNwIn0=" class="button primary">Add to Cursor</a>

2. Replace the URL making sure to replace your API key in the URL&#x20;

<figure><img src="https://1835787252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV8CtRF59w8oxkhPMGwwB%2Fuploads%2F5AtZ5kW7V6HMLtYtwtt1%2Fimage.png?alt=media&amp;token=8cf93bbb-ba58-4a5e-863f-7ebdec6b9441" alt="" width="529"><figcaption></figcaption></figure>

3. Click **Install**&#x20;

You should now see MadMCP enabled&#x20;

<figure><img src="https://1835787252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV8CtRF59w8oxkhPMGwwB%2Fuploads%2FBWRkxS9WqfCmMjPfn31X%2Fimage.png?alt=media&amp;token=a6c4fbaa-1aa6-4d9f-a550-aadc0f8f8199" alt=""><figcaption></figcaption></figure>

For more information, please follow the official [Cursor documentation](https://docs.cursor.com/context/model-context-protocol)

## **Enable Auto-Run Mode (Optional)**&#x20;

The auto-run mode allows the MCP tools to execute automatically without you having to confirm each step all the time

1. Navigate to Cursor Settings > Features > Chat
2. Toggle ON the **Auto-Run mode**

## **Verify the Integration**

Open chat and ask "Get account details about Walmart"&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.madkudu.com/madkudu-mcp/install-in-ai-platforms-in-2min/cursor.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
