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

# Cursor

> Connect Autype to Cursor AI-powered code editor

Connect the Autype MCP server to Cursor, the AI-first code editor.

## Configuration via Settings

1. Open **Cursor Settings** (Cmd+, on macOS, Ctrl+, on Windows)
2. Navigate to **MCP** section
3. Add a new server with the following configuration:

```json theme={null}
{
  "mcpServers": {
    "autype": {
      "type": "http",
      "url": "https://mcp.autype.com/mcp/",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
```

Replace `YOUR_API_KEY` with your actual API key from the [Dashboard](https://app.autype.com).

## Project-specific config

Alternatively, create a `.cursor/mcp.json` file in your project root:

```json theme={null}
{
  "mcpServers": {
    "autype": {
      "type": "http",
      "url": "https://mcp.autype.com/mcp/",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
```

This allows team members to share the same MCP configuration.

<Warning>
  Do not commit API keys to version control. Use environment variables or a team-specific `.env` file instead.
</Warning>

## Restart Cursor

After adding the configuration, restart Cursor completely for the changes to take effect.

## Verify connection

Open the Cursor AI chat and ask:

> *"What Autype tools are available?"*

Cursor should list all available Autype tools.
