# Connect Cursor

> Documentation index: https://docs.thefaceanalysis.com/llms.txt · HTML version: https://docs.thefaceanalysis.com/mcp/cursor · Updated 2026-10-18

Add a URL or a command to `mcp.json`, for one project or for every project.

## Steps

1. Create (or open) `~/.cursor/mcp.json` for all projects, or `.cursor/mcp.json` in a project root for that project only.
2. Add one of the blocks below inside `mcpServers` and save.
3. In Cursor's settings, open the **MCP** section and check that the server is on and its tools are listed.

## Configuration

**Hosted (recommended)**

```
{
  "mcpServers": {
    "thefaceanalysis": {
      "url": "https://mcp.thefaceanalysis.com/mcp"
    }
  }
}
```

**Local (npx)**

```
{
  "mcpServers": {
    "thefaceanalysis": {
      "command": "npx",
      "args": ["-y", "thefaceanalysis-mcp"]
    }
  }
}
```

## Check it works

Ask: “Using The Face Analysis, what is the median fWHR across your 102 reference faces?” The answer should be 1.78.

Source for the Cursor syntax: [Cursor: MCP](https://cursor.com/docs/context/mcp). Client menus and file locations change; if a step no longer matches, follow that page and tell us on [GitHub](https://github.com/The-Face-Analysis/thefaceanalysis-mcp/issues).

See also the [tool reference](https://docs.thefaceanalysis.com/mcp/tools) and [troubleshooting](https://docs.thefaceanalysis.com/faq#troubleshooting).
