---
title: Cursor
description: Connect Cursor to Brilliant. Check its row in MCP connections, restart Cursor, and confirm in Customize. Exact ~/.cursor/mcp.json config included.
section: agents
order: 4
featured: false
related: solutions/ship-to-code, agents/overview, developers/blueprint
---

# Cursor

Check Cursor in Settings, MCP connections, then restart Cursor. Brilliant adds a server to `~/.cursor/mcp.json`, and Cursor's agent can design on your canvas.

Checked against [Cursor's docs](https://cursor.com/docs/context/mcp) on November 6, 2026.

## How do I connect Cursor to Brilliant?

Four steps, once per machine. Keep Brilliant open while Cursor works.

<DocStep n="1" title="Enable Cursor in Brilliant.">

Open Settings (Cmd+, on macOS, Ctrl+, on Windows) and choose MCP connections. Check Cursor.

</DocStep>

<DocStep n="2" title="Restart Cursor.">

Brilliant wrote the entry shown below. Open the AI chat and ask it anything. Nothing happens until a chat starts.

</DocStep>

<DocStep n="3" title="Verify the connection.">

Open Customize in the sidebar: brilliant is listed, with its toggle on. For detail, open the Output panel and choose MCP Logs.

</DocStep>

<DocStep n="4" title="Send a first prompt.">

Ask Cursor: "Design a three-tier pricing section in Brilliant." Native, editable elements land on your canvas. Cursor asks for approval before it uses MCP tools by default.

</DocStep>

## What does Brilliant write to Cursor's config?

Brilliant writes a brilliant entry under mcpServers in `~/.cursor/mcp.json`, with the address in url. Other servers stay as they are.

| Detail | Value |
|---|---|
| File on macOS | `~/.cursor/mcp.json` |
| File on Windows | `%USERPROFILE%\.cursor\mcp.json` |
| Server key | mcpServers |
| Entry fields | url |

```text title="~/.cursor/mcp.json"
{
  "mcpServers": {
    "brilliant": {
      "url": "http://127.0.0.1:3333/mcp"
    }
  }
}
```

A checked tool follows Brilliant's port on every start, so you never toggle again. By hand, use the address at the bottom of MCP connections: 3333, or 3334 or 3335 when 3333 is taken.

By hand, paste the entry into the file.

## How do I connect Cursor to brilliant.design?

Run this once, open brilliant.design in Chrome, Edge or Firefox with WebGPU, and start a chat in Cursor. It needs Node 20 or later. The same entry reaches the desktop app when it is open. Read more in [browser setup](/docs/agents/overview).

```text title="Terminal"
npx -y @brilliant-hq/mcp install cursor
```

## What if Cursor doesn't see Brilliant?

Restart Cursor and send a message in its AI chat. Cursor starts the connection on that first message.

| What you see | What to do |
|---|---|
| You restarted Cursor and nothing changed | Open the AI chat and send a message. |
| brilliant shows an error after Brilliant relaunches | Toggle brilliant off and on in Customize. It reconnects to the running app. |
| Calls fail or the connection is refused | Open Brilliant. Its local server runs only while the app is open. |
| The row reads Another Brilliant instance owns this config | Check the row in the copy of Brilliant you are using, then restart the tool. |
| The row is unchecked, but the file has a brilliant entry | Check the row. It rewrites the address. |

## Where next?

- Compare every tool on [the Use with AI agents overview](/docs/agents/overview).
- See [what the AI can do](/docs/ai/what-the-ai-can-do) once it is connected.
- Prefer no setup? Try [Brilliant's built-in AI chat](/docs/ai/overview).
- Still stuck? Read the [troubleshooting guide](/docs/workspace/troubleshooting).
