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

# Cursor

> Add Spiral to Cursor.

**1. Add the hosted server**

Use **Add to Cursor** on the console's Agents & MCP page, or add this to `.cursor/mcp.json`. Cursor reads
`SPIRAL_API_KEY` from your environment.

```json theme={null}
{
  "mcpServers": {
    "spiral": {
      "url": "https://mcp.spiral.ai",
      "headers": { "Authorization": "Bearer ${env:SPIRAL_API_KEY}" }
    }
  }
}
```

**2. Verify**

Open Cursor's MCP settings and check that Spiral is listed and connected.

**3. Try a starter prompt**

```text theme={null}
Find a text-to-image tool, tell me what one image costs, then generate a lighthouse at dawn.
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.