One router for every coding agent
Stop switching tools by hand. Harness Router gives your MCP host one
code tool and routes each task through the best configured
account, CLI, local model, or API fallback.
Three surfaces, one routing policy
Every surface reads the same model-first config and shared SQLite state. Full README
MCP host
Claude Desktop, Claude Code, Cursor, Codex, or another MCP host
calls one code tool. Harness Router chooses the
route and returns the selected agent response.
Model-first config
Put the model outcome first, then list the subscription and metered routes that can serve it. Adding another CLI does not change the host surface.
Inspectable state
The dashboard and MCP resources show route reachability, quota assumptions, breaker state, and recent dispatch decisions without adding more MCP tools.
Agent and API fallback
Use Claude Code, Codex, Cursor, Gemini CLI, opencode, Copilot CLI, generic CLIs, local OpenAI-compatible servers, and hosted APIs behind one policy.
Get started
Requires Node.js 22 or newer and at least one configured route. Use
npx for MCP host launch, or install globally for the
onboarding, doctor, dashboard, and install commands.
Try it
FAQ
The questions people ask before putting a router in front of their coding agents.
What is Harness Router?
code
tool, and Harness Router chooses between Claude Code, Codex,
Cursor, Gemini CLI, opencode, Copilot CLI, generic CLIs, and API
model routes.
How do I install Harness Router?
npx -y harness-router for stdio MCP server launch,
or install it globally with npm install -g harness-router
and run harness-router onboard. Harness Router requires
Node.js 22 or newer.