babu
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@babuwhat's on the current tab?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Better AI Browser Utilities (BABU)
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).
Related MCP server: cc-chrome
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 tabsInstall
Prerequisites: uv and Chrome 116 or newer.
uvx --from git+https://github.com/ItMeDiaTech/better-ai-browser-utilities@v0.1.0 babu setupThe 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/better-ai-browser-utilities@v0.1.0",
"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 |
| Connection, active-tab context, and optional full tab inventory |
| Bounded page text and/or compact actionable element indices |
| Validated dispatcher for browser actions |
| 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, reloadRecommended 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/better-ai-browser-utilities@v0.1.0 babu setup --forceReload BABU on chrome://extensions, then restart the MCP client. Change the Git tag
in your client config when adopting a newer release.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
A real Chromium browser agents pay for per action in USDC via x402 — hosted MCP, free local stdio.
Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
Connect AI agents to your own Chrome with scoped access, approvals, and verified task results.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn extension-based MCP server that enables AI assistants to control your browser, leveraging existing sessions and login states for automation and content analysis. It provides over 20 tools for semantic tab search, interactive element manipulation, and network monitoring directly within your daily Chrome environment.MIT
- AlicenseBqualityCmaintenanceEnables browser control through your existing signed-in Chrome profile, letting MCP clients like Claude Code manage tabs, navigate, inspect pages, and perform real user interactions via tool calls. Works with any model backend without needing Playwright or a fresh browser profile.21MIT
- AlicenseNot gradedqualityAmaintenanceEnables an AI agent to read and operate the Chrome or Edge tabs you are already using — titles, URLs, text, HTML, screenshots, clicks, typing, scrolling, and tab management — via a browser extension and native messaging, without restarting the browser, switching profiles, or opening a debug port. It exposes these capabilities as 19 MCP tools, with access limited to explicitly shared tabs and hardened by per-tab, origin-bound grants plus domain allow/deny lists.1MIT

Dooza Browserofficial
AlicenseNot gradedqualityCmaintenanceGives AI agents a single shared, logged-in Chrome they can drive over MCP or plain HTTP: open and read tabs, click, type, upload files, run short Playwright scripts, hand off whole web tasks to a cheaper model, and keep per-site memory. Agents work in background windows they own without stealing the user's mouse or closing their tabs.MIT