# Connect to VS Code Add ToolRouter to VS Code with GitHub Copilot's agent mode. Requires VS Code 1.99+ with Copilot. ## How do I add ToolRouter to VS Code? 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. No API key needed — your account is created automatically on first use. **Requires [Node.js 18+](https://nodejs.org).** ## Related guides - [Quickstart](/docs/quickstart) for a full overview - [Connect to Cursor](/docs/connect-cursor) for Cursor setup - [Connect to Windsurf](/docs/connect-windsurf) for Windsurf setup