
Switchboard
io.github.wkoverfieldPublished by GitHub account wkoverfieldv0.2.3Updated Nov 5, 2026
One firewall and password manager for all your AI coding agents' MCP servers and secrets.
Overview
Local CLI that acts as a firewall and password manager for AI coding agents' MCP servers, scoping tool access and moving secrets into the OS keychain.
- What you can do
- Scan a repo to see which MCP servers and tokens agents can reach, including bypass routes
- Import and consolidate Claude/Codex MCP config into one guarded route, with backups and rollback commands
- Store secrets as named keychain refs and manage them (set, list, remove, doctor)
- Grant, inspect and revoke expiring scoped passes, with approvals and a tool surface listing
- Run allowed provider commands with pass-scoped credentials, and read the local audit log or dashboard
- Report repo authority posture and emit versioned JSON for harnesses and subagent systems
- When to use it
- Useful when coding agents in a repo already hold plaintext tokens or direct MCP routes and you want them behind named keychain refs with short-lived, tool-scoped passes and a local audit trail. Also suited to harnesses that need a pass-scoped stdio MCP endpoint.
- Requirements
- Runs locally as an npm package (global install or npx) and needs Node 22 or newer. Daily use is on macOS; Linux is used in CI and a Windows keychain backend exists but is less tested. No account, hosted service or telemetry.
Installation
In SourceWeft
- Open Switchboard in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Switchboard
A firewall and password manager for your AI coding agents.
Switchboard controls what Claude Code and Codex can reach in a repo. It finds the MCP servers and tokens your agents can already touch, gets secrets out of plaintext config and behind named keychain refs, and puts each agent on a scoped pass that expires on its own.
Everything runs locally. No account, no hosted service, no telemetry.
What it does
switchboard scanshows which MCP servers and tokens agents can reach in this repo, and which routes bypass Switchboard entirely.switchboard importconsolidates scattered Claude/Codex MCP config into one Switchboard route, with timestamped backups and exact rollback commands.- Secrets live in your OS keychain as named refs. Config files carry
secretRef: "github/ci/token", never the token itself. switchboard grantputs the agent on a pass: named tools reachable, everything else denied, gone in a few hours.switchboard statusanswers whether a pass is live right now.switchboard revokeends one early.- Every tool call routed through Switchboard lands in a local audit log.
switchboard logsreads it.
Install
Or without installing:
Requires Node 22 or newer. Daily use is on macOS, CI runs on Linux, and a Windows keychain backend exists but gets less exercise.
Quickstart
Start in a repo where your agents already work:
That high-risk finding is a GitHub token sitting in plaintext in .mcp.json.
Move it behind Switchboard:
Import rewrites client config to a single Switchboard route, replaces the
plaintext token with a named keychain ref, and leaves a backup plus the exact
rollback command. Import never reads secret values itself; the secrets set
step is where the token actually enters your keychain. Then scope the agent:
You get the pass above. When you want it gone early:
switchboard doctor tells you the next thing to fix at any point. If a repo
has no MCP config yet, switchboard setup github-ci starts from a safe
provider template instead.
What Switchboard does not do
- It is not a sandbox. Switchboard governs the paths routed through it:
Switchboard MCP endpoints and
switchboard run. An agent with raw shell access, a provider CLI, a browser session, or a direct MCP route can bypass it.switchboard scanreports those bypass routes so you can clean them up or accept them deliberately. - Backups keep your old config exactly as it was. If a token was in plaintext before import, the backup still contains it. Rotate old tokens after migrating, and keep backups private.
- A pass only binds routed agents.
switchboard grantsays so itself when no client is wired up yet, andswitchboard install <claude|codex>closes the gap. - It is alpha software. Local-first workflows, conservative claims, rough edges. The pass and audit contracts are versioned JSON, but expect change.
Commands
Commands that report state take --json for scripts and harnesses, with
versioned schemas. switchboard <command> --help has the rest.
How it works
Switchboard reads layered YAML config (global, then .switchboard.yaml, then
.switchboard.local.yaml). Each profile names an upstream MCP server and the
secret refs it needs. At runtime, Switchboard mounts permitted profiles as one
MCP endpoint, resolves secret refs from the OS keychain only at launch, and
namespaces every tool so a pass can allow github_ci_* and deny everything
else. Passes, approvals, and audit entries are plain local files that reference
secrets by name, never by value.
Secret storage uses OS keychain backends by default. Plaintext fallbacks exist
for dev machines and CI, and require an explicit
SWITCHBOARD_ALLOW_UNSAFE_SECRET_BACKENDS=1 opt-in.
For harnesses and subagent systems
switchboard pass create --from github-ci --json returns a
workspaceLease.mcpLaunch payload: the exact command to launch a
pass-scoped stdio MCP endpoint, plus the pass policy and lease. Switchboard
grants and audits authority; your harness owns scheduling, retries, and agent
processes. JSON contracts are documented in
docs/use-cases/harness-json-contracts.md.
Alternatives
- Project MCP config alone works, but it is static wiring with tokens in files. Switchboard imports that wiring, moves the tokens, and adds scoped expiring access on top.
- Docker MCP Gateway and MCP runtimes run and package MCP servers well. Switchboard is the local authority layer above them, deciding which profile, tools, and lease an agent gets for a task. A gateway can be an upstream behind a Switchboard profile.
- Hosted tool platforms (Composio, Arcade) offer managed OAuth and broad SaaS coverage. Switchboard is local-first for coding-agent repos: local secrets, local audit, no hosted dependency.
- Just giving the agent a token is fast until the token is broad, live, or copied into the wrong file. That is the failure mode Switchboard exists for.
Development
Contributions are welcome; see CONTRIBUTING.md, and report vulnerabilities privately per SECURITY.md.
Smoke tests and fresh-agent evals live in scripts/; CI runs the full set.
The top demo is a VHS tape: brew install vhs && pnpm build && vhs examples/switchboard.tape.
Deeper docs: quickstart,
threat model,
provider safety templates,
roadmap.
Agents can read these docs over MCP:
npx -y @switchboard-mcp/docs-mcp serves list_docs, read_doc, and
search_docs, and llms.txt is kept current. The landing and docs
site lives in site/ (static build, pnpm --filter @switchboard-mcp/site build).
License
MIT. See LICENSE.
Source: README.md at commit 4893b61
Tools
0Version history
2- v0.2.3LatestOct 15, 2026
- v0.2.2Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts