# Cursor (/docs/mcp/connect/cursor)

> Add OmniDimension to Cursor by editing ~/.cursor/mcp.json. OAuth sign-in on first tool call, no API key handling.

Edit `~/.cursor/mcp.json` (create the file if it does not exist):

```json
{
  "mcpServers": {
    "omnidim": {
      "url": "https://mcp.omnidim.io/mcp"
    }
  }
}
```

Restart Cursor.

## First tool call [#first-tool-call]

In Cursor's chat panel, ask:

```
List my OmniDimension agents.
```

The first time you do this, Cursor opens the OmniDimension consent screen in your browser. Approve, return to Cursor, and the tool call completes.

## Remove [#remove]

Delete the `omnidim` entry from `~/.cursor/mcp.json` and restart Cursor. To revoke server-side access, remove the credential at [omnidim.io/api-management](https://omnidim.io/api-management).