Skip to content

Connect to VS Code

Add ToolRouter to VS Code with one click. Works with GitHub Copilot's agent mode (VS Code 1.99+).

Install automatically

Click the button below to install ToolRouter directly into VS Code:

Install ToolRouter in VS Code

VS Code will add the MCP server and connect automatically. No API key needed — your account is created on first use.

Install manually

Add this to .vscode/mcp.json in your project root:

json
{
  "servers": {
    "toolrouter": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "toolrouter-mcp"]
    }
  }
}

Note: VS Code uses "servers" instead of "mcpServers" and requires a "type": "stdio" field.

Tools appear in Copilot's agent mode automatically.

Requires Node.js 18+.