Who it is forA team lead or new developer onboarding several machines to Copilot Chat with 9Router on Windows, Linux or macOS.
The problemManual install of the gateway, extension and dashboard across machines takes many steps and is easy to get wrong.
The outcomeThe connector is installed on the machine using the setup script for that platform, ready for the API Key and model selection steps.
What you need first
- Visual Studio Code with GitHub Copilot Chat
- Node.js and npm, needed for `npm install -g 9router` and `npm start`
- A 9Router account or local setup that gives you an API Key from the 9Router dashboard at http://localhost:20128/dashboard
- Ports 20128, 20129 and 5500 free on your machine
Steps
- Open a terminal in the folder where you cloned the repo.
- On Windows, run
scripts\setup.batornpm run setup. - On Linux or macOS, run
chmod +x scripts/setup.shand then./scripts/setup.sh. - Run
9routerin a separate terminal and open http://localhost:20128/dashboard to get your API Key. - In VSCode, run
9Router: Set API Key & Base URLand then choose9Router via Proxyin the Copilot Chat Model Picker.
Prompt for your agent
Using the repo yudaprasetya007/routeVSCODE, run the setup script for this platform (scripts/setup.sh on Linux or macOS, scripts\setup.bat on Windows) and report the output. Verify that the file releases/routevscode.model-connector-2.5.0.vsix was installed into VSCode and that the command `9Router: Status & Info` shows the proxy port 20129.
Caveat. Port 20129 must be free, and the README notes that an older VSCode instance can keep it busy and cause a proxy port conflict.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for yudaprasetya007/routeVSCODE and "Set up the Copilot model connector with one script"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer