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

# Set up with Cursor

> Connect the AI Growth Agent MCP server to Cursor.

Add AI Growth Agent to `~/.cursor/mcp.json`:

```json theme={null}
{
  "mcpServers": {
    "ai-growth-agent": {
      "type": "http",
      "url": "https://mcp.aigrowthagent.co/mcp"
    }
  }
}
```

Save the file and enable the server in Cursor's MCP settings if prompted.

## Signing in

The first time Cursor uses the server, your browser opens the AI Growth Agent
login page on `auth.aigrowthagent.co`:

* Type your AI Growth Agent email and password into the browser page only —
  credentials never pass through the AI.
* Access tokens are short-lived (1 hour) and Cursor refreshes them
  automatically.
* If a token is rejected, restart or re-add the server in Cursor's MCP settings
  to sign in again.

## Try it

Ask Cursor's agent: "List my available AI Growth Agent accounts." It will call
`list_accounts` and answer with your accounts and the session's current
account. See [List available accounts](/tasks/list-accounts) for more.
