Babu
БесплатноНе проверенToken-efficient MCP control for the Chrome session you already use—tabs, cookies, logins, and all.
Описание
Token-efficient MCP control for the Chrome session you already use—tabs, cookies, logins, and all.
README
Token-efficient MCP control for the Chrome session you already use—tabs, cookies, logins, and all. BABU connects any MCP-compatible coding agent to a local Chrome extension instead of launching a separate automation profile.
Why BABU
- Four compact MCP schemas by default instead of twenty repetitive browser tools.
- Progressive disclosure:
browser_readreturns bounded text and compact controls;browser_helpreveals command details only when requested. - Fast actions:
browser_dodispatches navigation, clicks, typing, keys, scrolling, waits, screenshots, JavaScript, and loopback file uploads. - Real browser state: uses your existing Chrome tabs and authenticated sessions.
- Portable: install directly from GitHub with
uvx; every documented client uses standard MCP stdio. - Local-first: the only network listener binds to
127.0.0.1; the extension WebSocket requires a generated pairing token.
The published MCP v2 schemas measure 567 tokens in compact mode versus 2,219
for the legacy twenty-tool surface: 74.45% less schema context per model turn
(o200k_base, canonical JSON, excluding client framing).
Architecture
MCP client
| stdio (client-owned subprocess)
v
BABU Python bridge
| authenticated WebSocket ws://127.0.0.1:8765
v
BABU Chrome extension (MV3) -> your real Chrome tabs
Install
Prerequisites: uv and Chrome 116 or newer.
uvx --from git+https://github.com/ItMeDiaTech/[email protected] babu setup
The command exports the bundled extension to ~/.babu/extension, creates
~/.babu/token, and prints the token once for pairing.
In Chrome:
- Open
chrome://extensions. - Enable Developer mode.
- Select Load unpacked and choose the printed extension directory.
- Open the BABU extension, paste the pairing token, and select Save.
Stable Chrome no longer accepts automated --load-extension installation, so the
one-time manual load is required.
Add BABU to an MCP client
Use this stdio launch definition:
{
"command": "uvx",
"args": [
"--from",
"git+https://github.com/ItMeDiaTech/[email protected]",
"babu",
"mcp"
]
}
Exact commands and config files for Hermes, Codex, Claude Code, Cursor, VS Code, Zed, ZCode, Gemini CLI, OpenCode, Cline, Windsurf, Pi, and Agent Prime are in docs/CLIENTS.md.
Only one BABU process can own WebSocket port 8765 at a time. Close another BABU-enabled harness before starting a new one.
MCP tools
| Tool | Purpose |
|---|---|
browser_health |
Connection, active-tab context, and optional full tab inventory |
browser_read |
Bounded page text and/or compact actionable element indices |
browser_do |
Validated dispatcher for browser actions |
browser_help |
On-demand command and parameter catalog |
browser_do commands:
list_tabs, get_active_tab, open_tab, close_tab, activate_tab, navigate,
get_state, snapshot, click, hover, type, select, press, scroll, extract_text, screenshot,
eval, upload_files, wait_for, back, forward, reload
Recommended flow:
- Call
browser_readwith a relevantquery. - Pass the returned element index to
browser_dowithclickortype. - Re-read after navigation or major DOM changes because indices are document-local.
- Use
browser_helponly when a command's parameters are unclear.
Screenshots are saved to the system temporary directory by default; base64 image
bytes are omitted from model context unless include_data_url=true is explicit.
CLI utilities
babu setup [--force] # export/update extension and create token
babu token # print the current pairing token
babu mcp # stdio MCP server, compact profile
babu relay list_tabs # direct browser command without an MCP client
babu relay navigate '{"url":"https://example.com"}'
babu relay is useful for minimal harnesses that prefer CLI tools over MCP.
Tool profiles
compact(default): the four tools above.legacy: twenty direct browser tools for clients that prefer one schema per action.all: both surfaces.
Select a profile with --tool-profile compact|legacy|all or
BABU_TOOL_PROFILE.
Security
BABU controls the logged-in browser profile, so treat it as a powerful local tool.
- The WebSocket listener binds only to
127.0.0.1; MCP travels over stdio. - Chrome-extension origins and client roles are validated.
- The extension-to-bridge channel uses a 256-bit token stored at
~/.babu/token. - The extension popup can disable all control immediately.
- Password, OTP, and payment fields are redacted from routine reads.
browser_evalexecutes JavaScript in the page's main world by design.- File upload accepts only bounded direct loopback HTTP(S) URLs with no credentials.
Review every MCP tool invocation and use each client's approval controls.
Limitations
- Chrome internal pages, the Web Store, PDF viewer, unloaded tabs, and controls inside iframes or shadow roots cannot be driven.
- Strict page CSP can block
browser_eval; DOM read/click/type tools still work. browser_presssupports Enter, Tab, and synthetic Escape; usebrowser_typefor text.- The unpacked extension must be reloaded from
chrome://extensionsafter an update. - The server is single-client and single-browser-extension by design.
Update
uvx --from git+https://github.com/ItMeDiaTech/[email protected] babu setup --force
Reload BABU on chrome://extensions, then restart the MCP client. Change the Git tag
in your client config when adopting a newer release.
License
MIT
Установка Babu
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/ItMeDiaTech/better-ai-browser-utilitiesFAQ
Babu MCP бесплатный?
Да, Babu MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Babu?
Нет, Babu работает без API-ключей и переменных окружения.
Babu — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Babu в Claude Desktop, Claude Code или Cursor?
Открой Babu на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Playwright
Browser automation, scraping, screenshots
автор: MicrosoftPuppeteer
Browser automation and web scraping.
автор: modelcontextprotocolopentabs-dev/opentabs
Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a
автор: opentabs-devrobhunter/agentdeals
1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan
автор: robhunterhlydecker/ucsc-genome-mcp
MCP server to interact with the UCSC Genome Browser API, letting you find genomes, chromosomes, and more.
автор: hlydecker34892002/bilibili-mcp-js
A MCP server that supports searching for Bilibili content. Provides LangChain integration examples and test scripts.
автор: 34892002achiya-automation/safari-mcp
Native Safari browser automation for AI agents with 80+ tools. No Chrome dependency, optimized for Apple Silicon with 60% less CPU overhead.
автор: achiya-automationagent-infra/mcp-server-browser
Browser automation capabilities using Puppeteer, both support local and remote browser connection.
автор: bytedanceaparajithn/agent-scraper-mcp
Web scraping MCP server for AI agents. 6 tools: clean content extraction, structured scraping with CSS selectors, full-page screenshots via Playwright, link ext
автор: aparajithnapireno/DOMShell
Browse the web using filesystem commands (ls, cd, grep, click). 38 MCP tools map Chrome's Accessibility Tree to a virtual filesystem via a Chrome Extension.
автор: apirenoCompare Babu with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории browse
