gamba-browser
Enables an optional Jira recipe via GAMBA_JIRA_BASE_URL, allowing the browser automation server to target a Jira instance for browser-driven workflows.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
gamba-browser
Drive your real Chrome (with your real sessions) from scripts and AI agents, with a Playwright harness built for hostile SPAs.
Runs over Chrome DevTools Protocol on a local profile: no cookies to export, no cloud browser, no per-action API cost.
Ships an MCP server so Claude Code, Codex, Cursor or any MCP client can call it as native tools.
Adds the helpers raw Playwright lacks: controlled inputs, split buttons, floating portals, blocked-button diagnostics.
Status: alpha. The driver is measured; the site recipes are examples, not guarantees. Expect rough edges.
Why
Raw Playwright is fine until a React/Vue app fights back: inputs revert, a hidden duplicate node receives the click, a portal menu never becomes "visible", a button is disabled for a reason that only exists inside React Fiber. gamba-browser packages the fixes for those cases and exposes them as one-call helpers.
Related MCP server: chrome-mcp
Install
git clone https://github.com/OscarJRM/gamba-browser.git
cd gamba-browser
npm installRequires Node 18+. Chrome, Chromium, Brave or Edge must be installed.
Quick start
# 1. Verify the environment
node src/cli.js doctor
# 2. Log in once (the session stays in the profile directory)
node src/cli.js login https://x.com 3
# 3. Run Playwright against that live browser
node bin/gamba-exec -e 'await page.goto("https://example.com"); return await page.title()'
# 4. Target a specific tab
node bin/gamba-exec -e 'return page.url()' --target-url github.comMCP server
node src/mcp.jsClient configuration:
{
"mcpServers": {
"gamba-browser": {
"command": "node",
"args": ["/absolute/path/to/gamba-browser/src/mcp.js"]
}
}
}Tools: gamba_status, gamba_list_tabs, gamba_open, gamba_inspect_state, gamba_smart_fill, gamba_smart_click, gamba_smart_select, gamba_explain_disabled, gamba_screenshot.
The server keeps one CDP connection alive, so a multi-step agent loop does not pay process startup per call.
Harness helpers
Helper | Problem it solves |
| React/Vue/Angular controlled inputs that revert synthetic values |
| Hidden duplicates, overlays, coordinate interception; three fallback tiers |
| React Select / Radix / Meta portal comboboxes that otherwise hang for 30s |
| ARIA/HTML disabled, |
| Compact page snapshot: modal, buttons, inputs, alerts |
| Sticky dialogs, cookie banners, upsell popups |
| Native |
| Reuse a tab instead of piling up new ones |
All helpers are attached to the page (page.smartClick(...)) and to gamba-exec.
Configuration
Variable | Default | Purpose |
| auto-detected | Browser executable |
|
| Chrome profile (cookies/sessions) |
|
| DevTools port |
| unset | Enables the optional Jira recipe |
Measured latency (not a marketing claim)
Same machine, same Playwright script, alternating runs, local fixture:
Workload | CDP driver (this project) | Extension relay ( |
Process startup + connect | ~1.2 s | ~0.10 s |
Click | ~36 ms | ~280 ms |
Type 197 chars ( | ~0.4 s | ~15.3 s |
Type 197 chars ( | ~0.08 s | ~0.66 s |
End-to-end X draft flow (trending -> profile -> compose -> text -> image -> save draft): 19.7 s vs 39.7 s in favor of this project, almost entirely because the relay charges a round-trip per keystroke. With insertText the gap shrinks to ~13%.
What this does not mean: that agents complete tasks better here. browse ships session handoff (2FA/CAPTCHA), recording, tab adoption and a mature MCP surface. This project is a faster local driver with a stronger SPA harness.
Methodology and raw fixture: bench/README.md.
Security
The DevTools port gives full control of a logged-in browser and has no authentication. Read SECURITY.md before using a profile with privileged accounts.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Give AI agents a real cloud Chrome: open sessions, navigate, read pages, click, type and screenshot.
Browserless MCP — wraps the Browserless headless-Chromium REST API (browserless.io)
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables MCP clients to drive a real, logged-in Chrome browser for web automation tasks like navigation, clicking, typing, and screenshotting.2 npmMIT
- AlicenseBqualityCmaintenanceEnables MCP clients to drive a real Chromium browser for automation, including navigation, JavaScript execution, CDP commands, network capture, and multi-tab control.7GPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to control Chrome/Edge browsers via CDP, including page navigation, element interaction, snapshots, network debugging, script execution, and performance tracing.AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables any MCP client to drive the user's real Chrome profile through a Chrome extension bridge, with tools for navigation, accessibility snapshots, ref-based interactions, console/network reading, screenshots, tab management, and restricted script evaluation.1MIT