Skip to content
← All MCP servers

Is the Agent Browser MCP server safe? What it can reach

What the Agent Browser MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.

Official serverChecked

Agent Browser is a browser automation CLI from Vercel Labs, and agent-browser mcp starts an MCP server over stdio on your machine. It drives a real Chrome and has no sign-in of its own. By default it applies no limits on sites, actions or output, so set a domain allowlist and an action policy before you use it.

Who maintains it

ImplementationKindStatus
agent-browser (Vercel Labs)Officialactive

It runs as a local process on your machine.

How it signs in

The server has no API key or login. It acts through the Chrome session it controls, so it can use any site you are signed in to in that browser profile.

What its tools can do

KindTools
Readagent_browser_tools_profiles, agent_browser_snapshot, agent_browser_screenshot, agent_browser_get_url, agent_browser_wait_for_selector
Writeagent_browser_open, agent_browser_click, agent_browser_fill, agent_browser_type, agent_browser_press, agent_browser_close
Can’t be undoneagent_browser_eval

The docs name these twelve common tools and say --tools all exposes the full CLI surface, without listing the rest. The default core profile is smaller. Click, fill and type can submit forms on live sites. eval runs JavaScript in the page and is listed as destructive because it can do anything the page can.

Built-in limits

OptionWhat it does
--toolsSelects tool profiles: core (default), network, state, debug, tabs, react, mobile, all. Combine with commas.
--configLoads one trusted config file for tool child processes instead of user and project config discovery.
--allowed-domains / AGENT_BROWSER_ALLOWED_DOMAINSBlocks navigation and sub-resource requests to unlisted domains. Off by default. Project config files ignore this key.
--action-policy / AGENT_BROWSER_ACTION_POLICYA JSON file with default, allow and deny rules by action category, such as eval, download and upload. A missing or invalid file blocks all commands.
--confirm-actions / AGENT_BROWSER_CONFIRM_ACTIONSHolds the listed action categories until you approve them. Off by default.
--content-boundaries / AGENT_BROWSER_CONTENT_BOUNDARIESMarks page content in output so the client can tell it from tool output. Off by default.

The risks

  • Page text can carry injected instructions, and with click, fill and type available an agent could submit forms or post content on any site your browser profile is signed in to.
  • agent_browser_eval runs JavaScript in the page, which can read cookies and storage and call internal APIs, and the docs advise denying eval when you use the domain allowlist.
  • With no allowlist set, the agent can navigate anywhere, so data it reads on one site can be typed into another.
  • The saved auth vault and browser state sit on your disk, and anything the session can see goes to your LLM provider in snapshots and screenshots.

Limit it in Claude Code

Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:

claude mcp add agent-browser -- agent-browser mcp

Claude Code names MCP tools mcp__agent-browser__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:

{
  "permissions": {
    "deny": [
      "mcp__agent-browser__agent_browser_eval"
    ],
    "ask": [
      "mcp__agent-browser__agent_browser_open",
      "mcp__agent-browser__agent_browser_click",
      "mcp__agent-browser__agent_browser_fill",
      "mcp__agent-browser__agent_browser_type",
      "mcp__agent-browser__agent_browser_press"
    ]
  }
}

Limit it in Codex

Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:

[mcp_servers.agent-browser]
command = "agent-browser"
args = ["mcp"]
disabled_tools = ["agent_browser_eval"]

Checklist

  • Set AGENT_BROWSER_ALLOWED_DOMAINS to the sites the task needs.
  • Write an action policy that denies eval, upload and download.
  • Use a fresh browser profile with no saved logins.
  • Put allowlist and policy in ~/.agent-browser/config.json, not the project file.

Checked against the vendor documentation on November 25, 2026. agent-browser README · agent-browser commands, MCP server section · agent-browser security controls

What Excellent covers

Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server

Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing