# Cursor

Cursor reads MCP servers from `mcp.json`. Add DNS Super there:

.cursor/mcp.json: In your project, or in ~/.cursor/mcp.json for every project.

```json
{
  "mcpServers": {
    "dnssuper": {
      "url": "https://mcp.dnssuper.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
```

Replace `YOUR_API_KEY` with your key and save. Open Cursor's settings, then **MCP**, and check that
`dnssuper` shows as connected with its tools listed.

## Use it

In the agent chat, ask for a check by name or describe what you need: "Is the SPF record for example.com
valid?" Cursor asks before it runs a tool unless you allow it to run tools on its own.

## Keep the key out of your repository

A project-level `.cursor/mcp.json` with a key in it should never be committed. Use the file in your home
folder instead, or add `.cursor/mcp.json` to `.gitignore`.
