# Cursor

Add Lockpick to Cursor so it can check your site and fix what Lockpick found in your project.

Connecting an assistant lets it check your sites, read your reports and help you fix what Lockpick found, using your own Lockpick account. It never runs a scanner itself. It asks Lockpick, which runs the same limited, read-only checks as the web app.

## Connect Cursor

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=lockpick&config=eyJ1cmwiOiJodHRwczovL21jcC5sb2NrcGljay5hcHAvbWNwIn0%3D)

Cursor opens and asks to add Lockpick. Sign in when it asks.

Or add this to `.cursor/mcp.json` in your project.

```
{
  "mcpServers": {
    "lockpick": {
      "url": "https://mcp.lockpick.app/mcp"
    }
  }
}
```

Sign in from your terminal, the window where developers type commands. You approve it in your browser.

```
npx lockpicks login --host https://www.lockpick.app
```

Then add this to `.cursor/mcp.json` in your project.

```
{
  "mcpServers": {
    "lockpick": {
      "command": "npx",
      "args": [
        "-y",
        "lockpicks",
        "mcp"
      ],
      "env": {
        "LOCKPICK_HOST": "https://www.lockpick.app"
      }
    }
  }
}
```

## Try it

Once it's connected, ask something like this.

```text title="Prompt"
Use Lockpick to check my site and explain the most important fix in plain words.
```

[Prompts that work well](/docs/ai/prompts) has more, and [permissions](/docs/mcp/permissions) explains what the assistant can and can't do.