Bab (باب) means door or gateway in Arabic.
Bab is a TypeScript MCP server built on Bun — a gateway between MCP clients and the AI CLI tools behind them. It ships a delegate plugin system, a Vercel AI SDK provider layer, and a full suite of reusable workflow tools.
- Delegate plugins — route prompts to CLI tools like Claude Code, GitHub Copilot, and OpenCode through a manifest-driven plugin system
- Provider registry — connect to OpenAI, Anthropic, Google, OpenRouter, or any compatible endpoint
- Workflow tools —
chat,thinkdeep,codereview,planner,consensus,debug,analyze,refactor,testgen,secaudit, and more - Slash commands —
/bab:chat,/bab:review,/bab:thinkand more via the MCP prompts protocol - Plugin SDK — author and test your own delegate plugins with
@babmcp/bab/sdk
| Repo | Description |
|---|---|
| bab | Core MCP server |
| plugins | First-party delegate plugins (Copilot, Codex, Claude) |
| homebrew-tap | Homebrew tap for installing Bab via brew |
Homebrew (macOS / Linux):
brew install babmcp/tap/babInstall script (macOS / Linux):
curl -fsSL https://raw.githubusercontent.com/babmcp/bab/main/install.sh | bashBinary download: grab the latest from the releases page.
From source:
git clone https://github.com/babmcp/bab.git && cd bab
bun install
bun run build:binary # compiled binary at dist/bab# start the MCP server
bab serve
# install first-party plugins
bab add git@github.com:babmcp/plugins.git