agent-browser
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.
agent-browser-guard
A browser for a person's AI agents, with the person's own signed-in profile, behind rules the agent cannot switch off.
It wraps Microsoft's Playwright MCP server and sits in front of it as a filter.
Rules
Only Playwright's bundled Chromium, never the person's Chrome or Edge.
One fixed profile folder per person. No option chooses another browser, profile or debugging port.
On Windows the native sign-in dialog is off (
--disable-features=WebAuthenticationUseNativeWinApi), and an empty virtual authenticator is added before the first page, so an agent cannot make a passkey or security-key prompt appear on the person's screen.Agents never type passwords or one-time codes:
a call that types into a field named as a secret is refused before it reaches the browser;
a script in every page makes password and one-time-code fields read-only in agent sessions;
the tools that run arbitrary script (which could undo 2) are removed.
The person signs in themselves. The agent calls
browser_human_sign_inwith the page address: the agent's browser is closed, a visible window opens on the same profile with no agent connected, and the agent continues when the person closes it.
Related MCP server: browser-guard-mcp
Install for yourself
Windows: powershell -ExecutionPolicy Bypass -File install\install.ps1
macOS / Linux: sh install/install.sh
No administrator rights. It needs Node.js 18 or newer, copies the tool into your own application-data folder, fetches the Playwright MCP server and Playwright's own Chromium, registers the tool server agent-browser in Claude Code and Codex when they are installed, and ends with one line that begins with OK or NOT OK. -CheckOnly / --check-only repeats the check; -NoRegister / --no-register skips the registration. Run it yourself: it is your tool and your profile.
Use from a checkout
npm ci
npx playwright install chromium
node agent-browser-guard.mjs checkRegister node /path/to/agent-browser-guard.mjs mcp as a stdio MCP server in your agent tool.
Command | What it does |
| the tool server (stdin/stdout) |
| opens a window for the person to sign in |
| one line: is everything in place |
| the version |
Profile folder: %LOCALAPPDATA%\AgentBrowser\profile (Windows), ~/Library/Application Support/AgentBrowser/profile (macOS), ~/.local/share/agent-browser/profile (Linux). AGENT_BROWSER_PROFILE overrides it (used by the tests for a throwaway profile). Agent sessions run without a window; AGENT_BROWSER_HEADED=1 shows it.
Tests
npm test runs the rule and filter tests without a browser. npm run test:browser drives the real launcher against a local page and judges from what the test server receives; it runs on Linux CI.
Limits
The check on field names is a word list; the read-only guard in the page is the real barrier.
Not yet confirmed: whether every sign-in provider keeps a session in a browser without a window.
A site can always ask for a secret in a way no guard recognises (a plain text field). Do not give agents secrets to type.
MIT licence.
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
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Let your AI agent operate any website through a real, logged-in browser session.
Your own browser in the cloud, logged in to your sites, shared by you and your AI.
Let AI agents work in your own signed-in Chrome, with approvals and verified results.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceDrives a real Chromium browser with Playwright, providing a live, clickable view of the page for the model to browse and the user to interact with.2-
- AlicenseAqualityBmaintenanceEnables AI agents to automate browsers through Playwright behind multi-layer safety guards, restricting navigation to allowed domains, defaulting to read-only actions, and recording all behavior in audit logs.7MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients such as Claude Desktop, Claude Code and IDE agents to call a tool that drives a real Playwright browser to complete web tasks, with sensitive actions automatically refused when no human is available to approve them.MIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to control an existing Chromium browser or isolated Playwright profile through 50 tools for reading, interacting with, navigating, capturing, transferring files, and coordinating tabs, with per-site permissions and one-use approvals.5MIT