Team mode

Point every tool on your team at a shared KeyRouter server in one command.

Already have KeyRouter on a team server? Use the connect command to configure your local CLI tools to talk to it without starting a local server.

For shared use, narrow each API key to the combos and models you want the holder to reach, and expose the server over a reverse proxy, Tailscale, or KeyRouter's remote access tunnel. Keys and logs stay in your own data directory.

Pick tools interactively
npx keyrouter connect http://<server>:20131
Choose tools in advance
npx keyrouter connect http://<server>:20131 --tools claude,codex

This logs in with the dashboard password, creates an API key named cli-<hostname>, and writes each tool's config while backing up the original once as *.bak-keyrouter.

Undo (remove configs)
npx keyrouter connect --reset --tools claude,codex

Supported tools

claude, codex, opencode, droid, crush, kilo, cline, pi, omp, or all.