browsme-mcp
Enables local browser automation and control of Brave (Chromium) via the Browsme extension and native messaging bridge.
Provides full local control of Google Chrome via CDP, accessibility tree inspection, DOM automation, workflow recording, and GIF capture.
Enables local browser automation and control of Vivaldi (Chromium) via the Browsme extension and native messaging bridge.
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.
Browsme gives AI agents, MCP clients, CLI scripts, and human operators full local control over Chromium browsers through Chrome DevTools Protocol (CDP), Accessibility Tree inspection, DOM automation, workflow recording, scheduled shortcuts, and animated GIF capture — all running strictly on your machine.
Key Features
Native-Host-First Architecture: Chrome spawns
com.browsme.hostoverstdio, and the Native Host embeds the local HTTP/CLI/MCP bridge athttp://127.0.0.1:9229automatically — no separate background daemon required.Optional WebSocket & Hybrid Modes: Switch between Native Host (default), WebSocket (for remote/Docker/VM setups), or Both directly in Options.
38 Local Automation Tools: Full mouse/keyboard input (including Unicode & macOS text editing chords), HTML5 drag-and-drop, CSS-selector / ref / coordinate targeting, set-of-marks screenshots, multi-step batching, cross-frame accessibility refs (heuristic DOM tree or Chrome's real accessibility tree), semantic element search (any script, incl. Turkish), JS execution with top-level
awaitin any frame (incl. cross-origin iframes, CSP-safe), console/network diagnostics, clipboard, browser storage/cookies/downloads (with completion waiting), PDF export, and GIF recording.Agents stay out of your tabs: every agent session (each MCP client window, the CLI, a named script) is bound to its own tab group named after it — e.g.
Claude Code · 3fa2— and can only see and target tabs inside that group (the Claude in Chrome model). Share a tab with an agent by dragging it into its group; drag it out to revoke. The group title shows ⌛ working / 🔔 needs approval / ✅ done. (Options → Agents work only in their own tabs turns confinement off.)Take over at any time: "Take over" in the page banner or Side Panel pauses the agent (its calls wait, then get a
pausederror) while you use the page; "Resume" hands control back. Stop aborts immediately.Localized UI: Side Panel, Options, page overlays and notifications follow the browser language (English / Türkçe).
Safety & Permission Guardrails: Supports
autonomous,confirm_sensitive, andask_per_domainapproval modes with visual crosshair target previews, wildcard allow/block URL patterns, and sensitive parameter redaction in network logs.Live Indicators & Auto Tab Grouping: Highlights automated tabs with an in-page focus border, a status banner naming the current action (with a Stop button), a phantom cursor, a
RUNbadge on the toolbar icon (visible even when the agent works in a background tab), a live "Agent active" strip in the Side Panel, and a dedicatedBrowsmetab group so automated tabs stay separated from your personal tabs.Live Workflow Recorder & Calendar Schedules: Record real clicks, typing (passwords masked as
{{password}}), selects, keys, scrolls, file uploads ({{file_path}}variable) and navigations into reusable shortcuts that replay by CSS selector (with coordinate fallback) scheduled viachrome.alarms(interval,once,daily,weekly,monthly,annually).
Related MCP server: BrowserUse
Architecture
MCP Client / CLI / Local Script
│
▼ HTTP (http://127.0.0.1:9229)
┌─────────────────────────────────────────┐
│ Native Host (com.browsme.host) │ ◄── Default: spawned automatically by Chrome
│ Embedded BrowsmeBridgeServer (stdio) │
└─────────────────────────────────────────┘
▲
│ Chrome Native Messaging (32-bit length-prefixed JSON over stdio)
▼
┌─────────────────────────────────────────┐
│ Browsme Chrome MV3 Extension │
│ Side Panel · Options · Service Worker │
│ CDP Engine · Permissions · Shortcuts │
└─────────────────────────────────────────┘
▲
│ Optional WebSocket (ws://127.0.0.1:9229/browsme)
▼
Standalone Bridge Daemon (for Docker/remote use)Workspace Structure
browsme/
├── package.json # npm workspaces root scripts
├── tsconfig.base.json # shared strict TypeScript config
├── LICENSE # Apache License 2.0
├── shared/ # @browsme/shared — types, wire protocol, 32 tool schemas, scheduling, workflow compiler, matching
├── bridge/ # @browsme/bridge — Native Host (embedded HTTP bridge), optional WS daemon, CLI & MCP server
└── extension/ # @browsme/extension — Chrome MV3 service worker, CDP engine, content scripts, Side Panel, Options, testsInstallation & Quick Start
Option A — Chrome Web Store + Local Bridge (Recommended for Users)
Install Browsme from the Chrome Web Store (coming soon) and copy its Extension ID from
chrome://extensions.Build the local bridge & register the Chrome Native Messaging host (requires Node.js 20+ on macOS or Linux):
git clone https://github.com/halilugur/browsme.git cd browsme npm install npm run build -w @browsme/shared && npm run build -w @browsme/bridge node bridge/dist/installNativeHost.js --extension-id <CHROME_EXTENSION_ID>Reload the extension in
chrome://extensions(or open the Side Panel and click the Native pill). Chrome will launchcom.browsme.hostautomatically and exposehttp://127.0.0.1:9229.
Option B — Load Unpacked from Source (Developers)
Install dependencies and build all workspaces:
npm install npm run buildOpen
chrome://extensions, enable Developer mode, click Load unpacked, and selectextension/dist.Install the Native Messaging host manifest (automatically computes the unpacked extension ID for
extension/dist). On macOS/Linux it is written for Google Chrome and for every installed Chrome Beta/Dev/Canary, Chromium, Brave, Edge and Vivaldi profile; on Windows it registersHKCUkeys for Chrome, Chromium, Edge, Brave and Vivaldi. Pass--extension-id <id>for a Web Store install:npm run install-native-hostReload Browsme in
chrome://extensionsand pressCmd+E(Ctrl+Eon Windows/Linux) to open the Side Panel.
CLI & MCP Usage
CLI
Once the Native Host is connected (or the standalone WebSocket daemon is running):
# Check bridge status & connected extension metadata
npm run browsme -- status
# List all 38 registered tools
npm run browsme -- tools
# Inspect interactive elements on the active tab
npm run browsme -- read_page '{"filter":"interactive"}'
# Capture a screenshot to disk
npm run browsme -- computer '{"action":"screenshot","scale":1}' --out shot.pngEnvironment variables:
BROWSME_BRIDGE_URL(defaulthttp://127.0.0.1:9229)BROWSME_SESSION/--session NAME— agent session name, also the title of its tab group (CLI defaultCLI; the MCP server defaults to the client name plus a short id, e.g.Claude Code · 3fa2). HTTP callers may send"session"in the body or anX-Browsme-Sessionheader.BROWSME_TOKEN— Bearer token, required when an API Token is set in Options → Bridge & MCP (the extension hands that token to the Native Host, so the HTTP API, CLI and MCP all require it). For a standalonebrowsme-bridgedaemon the env variable itself sets the token.
MCP Server (browsme-mcp)
Add Browsme to your MCP client configuration (stdio transport):
{
"mcpServers": {
"browsme": {
"command": "node",
"args": ["/absolute/path/to/browsme/bridge/dist/mcp.js"],
"env": { "BROWSME_TOKEN": "<only if you set an API token>" }
}
}
}Or connect over Streamable HTTP without spawning a process — the bridge serves MCP at http://127.0.0.1:9229/mcp (JSON responses; send Authorization: Bearer <token> if an API token is set):
{
"mcpServers": {
"browsme": { "type": "http", "url": "http://127.0.0.1:9229/mcp" }
}
}Agent Skill (SKILL.md)
A ready-to-use agent skill is included at .agents/skills/browsme/SKILL.md so AI coding agents know when and how to drive your real Chrome browser over http://127.0.0.1:9229:
mkdir -p ~/.gemini/config/skills
ln -sfn "$(pwd)/.agents/skills/browsme" ~/.gemini/config/skills/browsmeWire Protocol (v1.0)
Both Native Messaging (stdin/stdout 32-bit little-endian framing) and WebSocket share the same JSON envelope:
Extension handshake:
{ "type": "hello", "protocolVersion": "1.0", "client": "browsme-extension", "extensionVersion": "1.0.0", "apiToken": "<optional, native transport only>", "tools": [] }Incoming tool request:
{ "type": "tool_request", "id": "req-1", "tool": "read_page", "args": { "filter": "interactive" } }Tool response:
{ "type": "tool_response", "id": "req-1", "tool": "read_page", "result": { "success": true, "output": "..." } }
All 38 Automation Tools
Category | Tools | Highlights |
Interaction |
| Click/drag (incl. HTML5 drag-and-drop)/hover/scroll by |
DOM & JS |
| A11y tree with |
Navigation & Tabs |
| Background auto-grouping into |
Diagnostics |
| Console/network capture with sensitive header & query redaction, response body inspection, CDP |
Media & Files |
| Offscreen canvas action-overlay GIF export ( |
Browser Data |
| Full local cookie, |
Workflows & Shortcuts |
| Live event recording with password masking ( |
Privacy, Security & Permissions
Local bridge hardening: The HTTP API and WebSocket on 127.0.0.1:9229 reject any request that carries a web-page Origin (only chrome-extension:// and Origin-less CLI/MCP clients are accepted) and any non-loopback Host header, and send no CORS headers. A website you visit therefore cannot drive your browser through the bridge (CSRF / DNS rebinding). Set an API Token in Options (or BROWSME_TOKEN for a standalone daemon) to additionally require a bearer token from every local caller.
Zero Telemetry / Local-Only: Browsme does not include analytics, tracking, ads, or remote servers. All DOM inspection, screenshots, recordings, settings, and execution logs remain strictly inside your browser and your local machine (127.0.0.1 loopback / local Native Messaging stdio).
Chrome Extension Permissions Justification (for Chrome Web Store Review)
Permission | Purpose |
| Displays Browsme's primary Side Panel UI for manual tool control, inspection, workflows, and approval prompts. |
| Stores user preferences, trusted domains, saved workflows/shortcuts, and temporary captured screenshots/GIF frames locally. |
| Inspects, switches, creates, closes, and organizes automated tabs into a dedicated |
| Injects content scripts for accessibility refs, visual automation indicators, live workflow recording, and navigation tracking. |
| Powers precise mouse/keyboard synthesis, console/network diagnostics, JS evaluation, and PDF printing via Chrome DevTools Protocol ( |
| Executes user-scheduled shortcuts and shows approval prompts with Allow / Deny buttons. |
| Renders multi-frame animated GIF recordings with action overlays and performs clipboard access in an isolated MV3 offscreen document. |
| Implements the explicit |
| Communicates locally over |
| Exposes explicit user/agent tools ( |
| Allows automation, DOM inspection, and visual indicators on user-selected websites, subject to configured allow/block patterns and per-domain approval rules. |
Full privacy details and Chrome Web Store submission notes: PRIVACY.md · docs/CHROME_WEB_STORE.md.
Packaging for Chrome Web Store
npm run package:extensionThis validates extension/dist/manifest.json and writes release/browsme-v<version>.zip ready for upload to the Chrome Web Store Developer Dashboard. See docs/CHROME_WEB_STORE.md for the complete Store listing copy, permission justifications, and GitHub Actions auto-publish (release.yml) setup.
Development & Testing
npm run typecheck # Strict TypeScript checks across shared, bridge, extension
npm run test # Vitest unit & integration suite (mocked Chrome APIs)
npm run test:e2e # Real-Chrome end-to-end test: loads extension/dist into Chrome and drives it
npm run build # Builds @browsme/shared, @browsme/bridge, and @browsme/extensionThird-Party Notices & License
Licensed under the Apache License, Version 2.0.
Bundles
gif.js(0.2.0) (extension/public/gif.jsandextension/public/gif.worker.js), copyright Johan Nordberg, licensed under the MIT License.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Unofficial Browserless MCP — wraps the Browserless headless-Chromium REST API (browserless.io)
Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
Official Browserless MCP server: browser automation, scraping, screenshots and PDFs for AI agents.
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Related MCP Servers
- 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
- AlicenseBqualityBmaintenanceEnables MCP clients to drive the Chrome or Edge tabs you already have open and signed in, by pairing with a local browser extension instead of launching a remote debugging port or a separate automation browser. Exposes 20 tools for accessibility-tree snapshots, clicking and filling, navigation, uploads, screenshots, JavaScript evaluation, and console and network log reading.24919 npm4MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents and MCP clients to pair with and drive selected local Chrome, Edge, or Chromium profiles, providing browser automation, screenshots, DOM/network inspection, JavaScript debugging, and extension management.Apache 2.0