---
title: Copilot
description: Connect GitHub Copilot in VS Code to Brilliant. Check VS Code in MCP connections, reload, and list servers to confirm. Exact mcp.json config included.
section: agents
order: 6
featured: false
related: solutions/build-feature-ui, agents/overview, developers/blueprint
---

# Copilot

Check VS Code in Settings, MCP connections, then reload VS Code. Brilliant adds a server to your user-profile mcp.json, and GitHub Copilot's chat can design on your canvas.

Checked against [VS Code's MCP docs](https://code.visualstudio.com/docs/copilot/reference/mcp-configuration) on November 6, 2026.

## How do I connect Copilot to Brilliant?

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

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

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

</DocStep>

<DocStep n="2" title="Reload VS Code.">

Brilliant wrote the entry shown below. VS Code may ask you to trust the server before it starts: review it and accept.

</DocStep>

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

Run MCP: List Servers from the Command Palette. brilliant is in the list, where you can start it or show its output.

</DocStep>

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

Ask Copilot Chat: "Design a three-tier pricing section in Brilliant." Native, editable elements land on your canvas. Name Brilliant in the prompt, then check that the tool call came from brilliant.

</DocStep>

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

Brilliant writes a brilliant entry under servers in your user-profile mcp.json, with type http and the address in url. VS Code uses servers, where most other tools use mcpServers.

| Detail | Value |
|---|---|
| File on macOS | `~/Library/Application Support/Code/User/mcp.json` |
| File on Windows | `%APPDATA%\Code\User\mcp.json` |
| Server key | servers |
| Entry fields | type, url |

```text title="mcp.json"
{
  "servers": {
    "brilliant": {
      "type": "http",
      "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, run MCP: Open User Configuration from the Command Palette and paste the entry.

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

Run this once, open brilliant.design in Chrome, Edge or Firefox with WebGPU, and start a Copilot chat in VS Code. 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"
code --add-mcp '{"name":"brilliant","type":"stdio","command":"npx","args":["-y","@brilliant-hq/mcp"]}'
```

On Windows, run npx -y @brilliant-hq/mcp install vscode.

## What if Copilot doesn't see Brilliant?

Reload VS Code, run MCP: List Servers, and start brilliant from there.

| What you see | What to do |
|---|---|
| Copilot has no Brilliant tools | Open Configure Tools in the chat input and turn brilliant on. |
| 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. |

### Which VS Code MCP file does Brilliant use?

The user-profile mcp.json, which MCP: Open User Configuration opens. As read on November 20, 2026, VS Code's [MCP configuration reference](https://code.visualstudio.com/docs/agents/reference/mcp-configuration) calls that file the Local harness format, deprecated and due for removal in February 2027, and names `~/.copilot/mcp-config.json`, with servers under `mcpServers`, as the Copilot user file. To add Brilliant there by hand, see [the Copilot page](/copilot).

## 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).
