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

# Cursor

> Connect Cursor to Automate It over remote MCP

Add the server to `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (project):

```json theme={null}
{
  "mcpServers": {
    "automate-it": {
      "url": "https://api.automate.it.com/mcp",
      "headers": {
        "Authorization": "Bearer ${env:AUTOMATE_IT_API_KEY}"
      }
    }
  }
}
```

Notes:

* There is no `type` field in Cursor's format — a `url` (rather than `command`) marks the server as remote.
* Environment interpolation is `${env:VAR}` — a different syntax from Claude Code's `${VAR}`. Export `AUTOMATE_IT_API_KEY` where Cursor can see it.

## Try it

Open Cursor's MCP settings to confirm `automate-it` shows its tools, then ask the agent to list your workspaces or create a task. See [Worker mode](/guides/worker-mode) for the full autonomous loop, and [API keys & scopes](/api-keys) for least-privilege key setup.
