# Connect an AI app

> Ask Clearlook questions from Claude, Cursor, VS Code, ChatGPT and other AI apps over MCP.

Clearlook runs an MCP server at `https://app.clearlook.dev/mcp`. Any AI app that speaks MCP can connect to it. You sign in in your browser and pick what it may see; no key is pasted anywhere.

## Claude Code

```sh
claude mcp add --transport http clearlook https://app.clearlook.dev/mcp
```

Then type `/mcp` in Claude Code and sign in.

## Claude (claude.ai and the desktop app)

Settings › Connectors › Add custom connector, with the address `https://app.clearlook.dev/mcp`.

## Cursor, VS Code, Windsurf

Add to the tool's MCP config (`.cursor/mcp.json`, `.vscode/mcp.json`), keeping what is already there:

```json
{ "mcpServers": { "clearlook": { "url": "https://app.clearlook.dev/mcp" } } }
```

## What you choose when you connect

| Permission | What it allows | Default |
|---|---|---|
| Analytics | Visitors, pages, sources, goals, funnels, investigations | On |
| Errors | Errors, releases and their impact | On |
| Uptime | Monitors and incidents | On |
| Links | Short links and their clicks | On |
| Replays | Lists and text summaries of recordings | Off |
| Make changes | Goals, alerts, monitors, short links, chart notes: each only after you confirm | Off |
| Raw rows and people | Individual events and who did them; off means totals only | Off |
| SQL | Read-only SQL over your events (needs raw rows) | Off |

You also pick which projects it can see. Settings › AI lists every connected app with what it may do and what it supports, and **Disconnect** stops it at once.

## Changes are always confirmed

When an AI app wants to change something, Clearlook shows you exactly what will change first. Apps that can show a form get one you can edit; others show a preview and need a second call after you agree. Removals ask you to type the item's name. Things an AI app created can be undone for 7 days in Settings › AI.
