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.
What the install writes
- The connection, in VS Code's user
mcp.json, underservers:- macOS:
~/Library/Application Support/Code/User/mcp.json - Linux:
~/.config/Code/User/mcp.json - Windows:
%APPDATA%\Code\User\mcp.json
- macOS:
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).
Remove it
niro mcp uninstall --client vscode
If something goes wrong, see FAQ: coding agents and MCP.