# Cursor

> Connect GetIntel's MCP server to Cursor with a remote HTTP entry in mcp.json, then enable it in Cursor's settings.

Source: https://getintel.ai/docs/mcp/clients/cursor/

<Steps>

1. **Create a token** in GetIntel under **Integrations**.

2. **Add GetIntel to Cursor.** Edit `~/.cursor/mcp.json` for every project, or `.cursor/mcp.json` in one project:

   ```json title="~/.cursor/mcp.json"
   {
     "mcpServers": {
       "getintel": {
         "url": "https://app.getintel.ai/mcp",
         "headers": { "Authorization": "Bearer YOUR_TOKEN" }
       }
     }
   }
   ```

3. **Enable it.** Open **Settings → MCP** and switch **getintel** on. A green status means the tools loaded.

4. **Try it** in Agent mode: *"Using GetIntel, list my top On-Page tasks."*

</Steps>

If the server shows an error, check the token was pasted in full after `Bearer `. See [MCP troubleshooting](/docs/mcp/troubleshooting/).

## Or connect without a token

Cursor also supports sign-in. Add the URL with no `headers`:

```json title="~/.cursor/mcp.json"
{
  "mcpServers": {
    "getintel": {
      "url": "https://app.getintel.ai/mcp"
    }
  }
}
```

Enable **getintel** under **Settings → MCP** and Cursor opens GetIntel's sign-in page, then an approval page where you pick a brand and choose whether to allow actions. The access token it gets lasts 2 hours and refreshes itself automatically.
