Switchboard
What it does
One firewall and password manager for all your AI coding agents' MCP servers and secrets.
- Connects 在你的电脑上运行
- Account or key No key needed
- Category 开发者工具
安装
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
打开电脑版 Claude 应用的设置文件
SettingsDeveloperEdit Config
粘贴这些设置并保存文件
正在检查命令 · 通过后才会显示复制按钮
退出 Claude 再重新打开
试一试
用 Switchboard 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Switchboard,或回答中出现 Switchboard 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Switchboard
Switchboard 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
你可以改用这些方式
A · 使用能连接 Switchboard 的应用
- 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
- 需要先在电脑上安装 Node.js(只需一次)
- 需要先在电脑上安装 Node.js(只需一次)
- 需要先在电脑上安装 Node.js(只需一次)
B · 开发者工具 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
正在检查命令 · 通过后才会显示复制按钮
在 Claude Code 中输入 /mcp
应能看到 Switchboard 在列表中并显示已连接
试一试
用 Switchboard 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Switchboard,或回答中出现 Switchboard 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
点击这个按钮打开 Cursor
正在检查命令 · 通过后才会显示复制按钮
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 Switchboard 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Switchboard,或回答中出现 Switchboard 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
点击这个按钮打开 VS Code
正在检查命令 · 通过后才会显示复制按钮
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 Switchboard 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Switchboard,或回答中出现 Switchboard 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
开发者专用:终端命令和 JSON 设置
安装在电脑上
Claude Code
正在检查命令 · 通过后才会显示复制按钮
Claude Desktop (claude_desktop_config.json)
正在检查命令 · 通过后才会显示复制按钮
Cursor (~/.cursor/mcp.json)
正在检查命令 · 通过后才会显示复制按钮
VS Code (mcp.json)
正在检查命令 · 通过后才会显示复制按钮
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月13日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 wkoverfield 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于12天前
- ✓ 通过
有许可证
使用 MIT
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 5834 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5834 个服务器的 51% 更新
- 基础检查结果等于或优于此分类中其他 5834 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Switchboard 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于12天前,最新版本(0.2.3)于29天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:REA, GitHub, Serena MCP: the IDE for your agent
同类别的其他选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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
npm install -g @switchboard-mcp/cli
Or without installing:
npx -y @switchboard-mcp/cli@latest scan
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:
$ switchboard scan
This looks like acme-app.
Detected:
- Codex Switchboard route missing
- Claude Switchboard route missing
- Claude direct MCP server "github" detected
Authority bypasses: high claude:github (github; direct-mcp-server, secret-env-name)
Warnings:
- 1 direct MCP bypass finding(s), including 1 high-risk finding(s), were detected.
That high-risk finding is a GitHub token sitting in plaintext in .mcp.json. Move it behind Switchboard:
switchboard import --dry-run # see the plan first
switchboard import --write --cleanup-client switchboard secrets set # store the token; import prints the exact command switchboard install claude --write # route the agent through 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:
switchboard grant --for 4h
You get the pass above. When you want it gone early:
$ switchboard revoke
Revoked pass grant-main (main). The agent's scoped access is off now.
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 installcloses 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
| Command | What it does |
|---|---|
switchboard scan | Show what agents can reach in this repo, including bypass routes |
switchboard import | Consolidate Claude/Codex MCP config into one guarded route |
switchboard grant / revoke | Give the repo's agent an expiring scoped pass, or end it now |
switchboard status | Is a pass live right now, and which config is active |
switchboard doctor | Check the setup and print the next thing to fix |
switchboard setup | Guided setup from a provider safety template (switchboard presets list shows them) |
switchboard auth | Store the provider token for a preset in the keychain |
switchboard secrets | Set, list, remove, and doctor named secret refs |
switchboard run | Run an allowed provider command with pass-scoped credentials and audit |
switchboard install | Route Claude Code or Codex through Switchboard (add --scope user for one server across every repo) |
switchboard pass | Create and inspect task-scoped passes with leases, gates, handoffs |
switchboard approvals | Review and decide approval-gated tool calls |
switchboard tools | List the tool surface a pass exposes |
switchboard logs | Read the local audit log |
switchboard dashboard | Local read-only dashboard: live passes, denials, audit stream |
switchboard audit | Repo authority posture report, exportable as JSONL |
Commands that report state take --json for scripts and harnesses, with versioned schemas. switchboard --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
git clone https://github.com/wkoverfield/switchboard.git
cd switchboard pnpm install pnpm build pnpm switchboard --help pnpm test
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.