# Connect VS Code (GitHub Copilot) to Niro

**One command connects VS Code (GitHub Copilot) to Niro:**

```
niro mcp install --client vscode

```

Then restart VS Code (GitHub Copilot), because it reads its settings only when it starts.

You must have run `niro start` first, so that you are signed in. See [Connect your coding agent to Niro](https://help.niroai.dev/cli/connect-your-ai-assistant/).

## What the install writes

- The connection, in VS Code's user `mcp.json`, under `servers`: macOS: `~/Library/Application Support/Code/User/mcp.json`

- Linux: `~/.config/Code/User/mcp.json`

- Windows: `%APPDATA%\Code\User\mcp.json`

## How VS Code (GitHub Copilot) learns to use Niro

- Nothing beyond the connection.

## Check that it works

Ask it a question about your code, such as "which routes does this project serve?". An answer from Niro starts with "Answered from the local graph on this machine (niro-local)."

## Things to know

- This is GitHub Copilot inside VS Code, using VS Code's own MCP support. It is not Copilot's pull request review, which Niro does not support (see [Review bots and Niro](https://help.niroai.dev/cli/connect-review-bots/)).

## Remove it

```
niro mcp uninstall --client vscode

```

If something goes wrong, see [FAQ: coding agents and MCP](https://help.niroai.dev/cli/faq-assistants-and-mcp/).