BrowserHive
Integrates with Bitwarden vault to securely retrieve and inject credentials into web forms, ensuring passwords are never exposed to the AI agent.
Enables exporting telemetry (traces, metrics, logs) to Datadog via OpenTelemetry for monitoring and analytics.
Enables exporting telemetry (traces, metrics, logs) to Grafana via OpenTelemetry for observability.
Enables exporting telemetry (traces, metrics, logs) to Jaeger via OpenTelemetry for tracing and analysis.
Click 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., "@BrowserHiveLaunch an isolated session and check my Gmail inbox"
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.
BrowserHive
Local-first, Isolated, stealthy browser sessions for AI agents, with safe password logins!
Quick start · Documentation · MCP clients · Tools · Security
BrowserHive is a local Model Context Protocol server that gives any agent harness (Claude Code, Claude Desktop, Cursor, VS Code, your own) many parallel browser sessions. Each session is its own Chromium process with its own cookies, storage and service workers. Agents log in through your password manager without ever handling the password, hand the page to a human when they get stuck, and leave a replayable audit trail you can inspect on a built-in dashboard.
Everything runs on your machine. Nothing leaves it unless you turn telemetry on.
Why
Agents that browse need more than a headless browser:
They run in parallel and must not leak cookies or logins into each other.
Websites push back. A bare automation browser announces itself.
They need to log in, and a password in the prompt is a password in the transcript.
They get stuck on CAPTCHAs, 2FA prompts and judgment calls.
You need to see what they did, after the fact and live.
BrowserHive handles all of that behind 43 MCP tools and a best in class admin dashboard.
Related MCP server: Browser MCP Server
Features
Isolated sessions. One Chromium process and context per session: separate cookies, local storage, IndexedDB and service workers. In-memory by default, persistent profiles on request, saved logins you can restore.
Stealth, honestly scoped. Full Chromium in new-headless mode, Patchright, automation flags removed, a coherent user agent and client hints derived from your real host, optional display fingerprint and human-like input. No invented OS, GPU or location, and the limits are documented.
Vault credential injection the model never sees. The agent names a Bitwarden entry and the form fields. BrowserHive checks the origin, session and principal, optionally asks you to confirm, types the credential and returns only a status. Tool results are redacted and Playwright traces exclude the keystrokes.
Human takeover.
request_attentionblocks the agent while you watch its browser live and drive it with your own mouse and keyboard, then resolve with a message back.Audit trail and trace replay. Every tool call, navigation, vault access and blocked URL goes to SQLite, and every session can record a Playwright trace you open in the built-in Trace Viewer.
Operator dashboard. Overview, sessions with live view and timeline, attention queue, visited websites, blocklist, vault policies and log, server logs, system status and effective configuration with provenance.
OpenTelemetry. Opt-in OTLP export of traces (one per tool call), metrics and logs to Grafana, Jaeger, Honeycomb, Datadog or any collector, with deep links from the dashboard.
One port. MCP, REST API, WebSocket and dashboard share
127.0.0.1:9876, with one bind rule and one authentication surface. Non-loopback binds require bearer tokens.Guardrails. URL blocklist with hot reload, launch-argument deny-list, per-session ownership, configurable result recording and retention.
Quick start
Requires Bun 1.4 or newer.
bun add -g browserhive # or: npm i -g browserhive / pnpm add -g browserhive
browserhive init # downloads Chromium, creates the data directory, checks the host
browserhive --admin # MCP at http://127.0.0.1:9876/mcp, dashboard at http://127.0.0.1:9876/The first start prints a one-time dashboard password. Then connect your agent.
Claude Code:
claude mcp add --transport http browserhive http://127.0.0.1:9876/mcpAny MCP client (Cursor, VS Code, …):
{
"mcpServers": {
"browserhive": {
"type": "http",
"url": "http://127.0.0.1:9876/mcp"
}
}
}Prefer a single client with no daemon? Use stdio:
{
"mcpServers": {
"browserhive": { "command": "browserhive", "args": ["--transport", "stdio"] }
}
}Then ask your agent to launch a session and browse:
launch_session({ "slug": "research" }) // → { "session_id": "research-a1b2c3d4", ... }
navigate({ "session_id": "research-a1b2c3d4", "url": "https://example.com" })
snapshot({ "session_id": "research-a1b2c3d4" })
close_session({ "session_id": "research-a1b2c3d4" })Exposing BrowserHive beyond localhost, bearer tokens and client-specific setup are covered in Connecting MCP clients and Security.
Documentation
Start | |
Use | Dashboard · Vault · Human takeover · Stealth · Telemetry |
Operate | Configuration · Security model · CLI · Upgrading · Troubleshooting · FAQ |
Embed | |
Reference | Tools · Configuration keys · Errors · REST API · WebSocket |
Requirements
Bun ≥ 1.4. Bun is the only supported runtime; installing with npm or pnpm is fine.
macOS, Linux or Windows.
Chromium, installed by
browserhive init(never during package install).Bitwarden CLI (
bw), only for the vault.
Contributing
Contributions are welcome. BrowserHive is specified before it is coded: read CONTRIBUTING.md, the architecture overview and the decision log first.
bun install
bun run init:browsers
bun run checkReport security issues privately as described in SECURITY.md.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
- TabfleetOAuthcom.tabfleet
Launch, inspect, control, and share isolated cloud browsers for your agents.
Undetectable cloud browser sessions for AI agents and scrapers. Navigate, extract, click, captcha.
Related MCP Servers
- AlicenseAqualityAmaintenanceGives your AI agent a persistent browser identity with anti-detection, credential vault, and multi-persona support for automated web browsing, login, and signup.31213 npm9MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to control browsers with human-like behavior, stealth anti-detection, and 70 tools for navigation, interaction, and monitoring.8 npm1MIT
- AlicenseAqualityAmaintenanceEnables AI agents to drive your real, logged-in Chrome browser with existing sessions and cookies, bypassing CAPTCHA and anti-bot measures, with support for multi-session and human-in-the-loop workflows.4046MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to securely control a user's existing Chrome profile locally, providing typed browser actions, form and editor support, WordPress workflows, terminal automation, and Figma inspection with policy-based authorization and redacted auditing.MIT