<!-- enhance-docs page=setup/cursor -->
<!-- enhance-docs release-sha256=7ff3d88e90f9dd4fa5ee87960f993597885d25e92abc5665bd2ecbc70cd6621b -->

# Cursor

Connect Cursor to Enhance's hosted MCP server. This needs no plugin marketplace listing or local runtime installation.

1. Open your personal `~/.cursor/mcp.json` configuration. Add the following `enhance` entry inside `mcpServers`, preserving any existing servers:

   ```json
   {
     "mcpServers": {
       "enhance": {
         "url": "https://api.enhancelabs.ai/mcp"
       }
     }
   }
   ```

2. Save the file and restart Cursor. Open **Customize → MCPs** and enable **enhance**.
3. Select **Connect** or **Authenticate** and complete Enhance's browser sign-in.
4. Ask the agent to list your canvases, then inspect and render one. Confirm it shows the expected account before treating setup as complete.

This connects remote canvas operations and feedback without the four packaged workflow skills. The hosted server cannot read a build directory or source files on your computer. Publishing a local build or applying a design to local source needs a local plugin in a supported host.

If you use the **Codex extension inside Cursor**, follow [Codex setup](/docs/setup/codex). Cursor's native agent and the Codex extension manage their connections separately.

## Recovery

If sign-in opens an unrelated page, return to **Customize → MCPs** and reconnect **enhance**. Complete the Enhance sign-in page, then ask the agent to list your canvases again. For connection errors, inspect **MCP Logs** in Cursor's Output panel.

See [Cursor's MCP configuration guide](https://cursor.com/help/customization/mcp) for configuration locations and troubleshooting.
