> For the complete documentation index, see [llms.txt](https://docs.dapta.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dapta.ai/dapta-mcp/setup/connect-cursor.md).

# Connect Cursor

Cursor reads its MCP servers from a JSON config file. You add one entry with your key, enable it in Cursor's settings, and it can call Dapta directly. There is nothing else to install.

{% hint style="info" %}
You will need the API key from the previous step. If you do not have one yet, see [Mint your API key](/dapta-mcp/setup/mint-your-api-key.md).
{% endhint %}

***

**Step 1:** Create your API key. It appears once in a dialog titled **Save your new MCP key**. From that dialog you can copy the ready-made Cursor entry, or copy the key and build the entry yourself. The key cannot be shown again later, so keep it somewhere safe.

***

**Step 2:** Add the entry below to your Cursor MCP config. Use `~/.cursor/mcp.json` to make it available in every project, or `.cursor/mcp.json` inside a single project. Replace `<your-key>` with the key you copied.

{% code title="\~/.cursor/mcp.json" overflow="wrap" %}

```json
{
  "mcpServers": {
    "dapta-ai": {
      "url": "https://mcp.dapta.ai/mcp",
      "headers": { "x-api-key": "<your-key>" }
    }
  }
}
```

{% endcode %}

If the file already has an `mcpServers` block, add `dapta-ai` alongside your existing servers.

***

**Step 3:** Open **Cursor Settings**, find the `dapta-ai` server under **MCP**, and enable it. Then ask Cursor something about your Dapta workspace, for example: "Create a voice agent in Dapta". Cursor receives Dapta's workflow guidance automatically over the connection, so there is no extra install step.

***

## What you can ask for

Once connected, you can ask across your Dapta workspace:

* **Voice agents:** create, configure, and calibrate voice agents, then review their call performance.
* **Text and WhatsApp agents:** build text agents and connect them to WhatsApp.
* **FlowStudio automations:** design and validate automation flows that wire your agents together.
* **Call and lead analytics:** pull call statistics, connection rates, recent calls, and lead intelligence.
* **Sales-meeting insights:** analyze recorded sales meetings for summaries and next steps.
* **Identity and billing:** check accounts, usage, balance, and subscription details.
* **Research and docs:** research a company from its website and search Dapta's documentation.

{% hint style="success" %}
**Your data stays safe.** Your key is scoped to one workspace, so Cursor only ever sees that workspace and cannot reach any other. When it changes something (an agent, a prompt, a flow, or a ticket), it shows you a preview first and waits for your confirmation before applying. Reading information never needs confirmation.
{% endhint %}


---

# 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 dynamically by asking a question.

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

```
GET https://docs.dapta.ai/dapta-mcp/setup/connect-cursor.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
