# Cursor

> Add Cozy to Cursor with one click, or in mcp.json.

## Add to Cursor [#add-to-cursor]

<Steps>
  <Step title="Open Cursor's page in Cozy">
    In **Connectors → Agents → Cursor**, choose **Add to Cursor**. You need
    Cursor on your computer.
  </Step>
  <Step title="Install">
    In Cursor, choose **Install**, then **Connect** beside Cozy in **Tools &
    MCP**.
  </Step>
  <Step title="Allow access">
    Sign in to Cozy if you need to and choose **Allow access**.
  </Step>
</Steps>

## Add it in mcp.json [#add-it-in-mcpjson]

Add this to `~/.cursor/mcp.json`, or merge it into the file:

```json
{
  "mcpServers": {
    "cozy": {
      "url": "https://cozy.cloud/mcp"
    }
  }
}
```

Leave out any Authorization header. Cursor starts the sign-in the first time
it connects.

## Check it works [#check-it-works]

Find `cozy` in Cursor's MCP settings and check it's connected. Then ask the
agent to list your Cozy workspaces.

For a workspace URL with a token, see [Credentials](/docs/credentials#cursor).

