# 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="/files/vPTWuOO1hTHDnCj8whd1" alt="" width="529"><figcaption></figcaption></figure>

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

You should now see MadMCP enabled&#x20;

<figure><img src="/files/2fdbSm9eEw5JnsgfRmIK" 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: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

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

The question should be specific, self-contained, and written in natural language.
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.
