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

# Cursor

> Connect SendKit to Cursor for AI-powered email management in your editor

[Cursor](https://cursor.com) is an AI-powered code editor. You can connect it to SendKit's MCP server to manage your email infrastructure directly from the editor.

## Prerequisites

* Cursor editor installed
* A SendKit API key with **Full** permission

## Setup

<Steps>
  <Step title="Create the MCP configuration file">
    In your project root, create or edit `.cursor/mcp.json`:

    ```json theme={null}
    {
      "mcpServers": {
        "sendkit": {
          "type": "http",
          "url": "https://mcp.sendkit.dev/sendkit",
          "headers": {
            "Authorization": "Bearer sk_your_api_key_here"
          }
        }
      }
    }
    ```

    <Note>
      Replace `sk_your_api_key_here` with your actual API key from the [SendKit dashboard](https://app.sendkit.dev).
    </Note>
  </Step>

  <Step title="Restart Cursor">
    Restart Cursor to load the new MCP configuration.
  </Step>

  <Step title="Verify the connection">
    Open the AI chat panel and ask:

    ```
    List all my SendKit senders
    ```
  </Step>
</Steps>

## Example prompts

Use Cursor's AI chat or inline editing to interact with SendKit:

```
Create a sender called "Notifications" with username "notifications" on domain example.com
```

```
Show me all my email templates
```

```
What's my bounce rate in the last 24 hours?
```
