Skip to content
← All MCP servers

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

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

Official serverChecked

Browser Use maintains an MCP server that you run locally through its CLI. It drives a browser and can start a Browser Use Cloud browser. One tool, browser_exec, runs Python in the server process with access to its environment and files. Sign in comes from the browser_login tool or a BROWSER_USE_API_KEY.

Who maintains it

ImplementationKindStatus
browser-use/browser-use (CLI MCP mode)Officialactive

It runs as a local process on your machine.

How it signs in

A Browser Use Cloud API key, stored by browser_login or browser-use login, or set as BROWSER_USE_API_KEY. The key pays for cloud browsers and runs.

What its tools can do

KindTools
Readbrowser_screenshot
Writebrowser_exec, browser_login, browser_feedback
Can’t be undonenone documented

The docs do not label any tool as destructive. browser_exec runs arbitrary Python and can do anything the browser or the machine allows, so treat it as the highest-risk tool. browser_feedback sends your message to the Browser Use team.

Built-in limits

OptionWhat it does
BH_OPEN_LIVE_URLOff by default. Setting it to 1 lets the server open and return live view and CDP URLs, which grant control of the browser.
BROWSER_USE_ALLOWED_DOMAINSDomain restrictions carried over from 0.x. When it is set, starting a cloud browser is disabled.
start_remote_daemon timeoutA cloud browser lasts 30 minutes by default and accepts a timeout of up to 240 minutes. The server stops it when it exits.
ANONYMIZED_TELEMETRYSet to false, or run browser-use telemetry disable, to turn off usage stats. browser_feedback is disabled when telemetry is off.

The risks

  • browser_exec runs Python with the server’s environment and files, so an injected instruction on a web page could read local files or environment variables and send them out.
  • The agent can act in any signed-in session the browser holds, so it can submit forms, post or buy as you.
  • Page content flows straight into the agent, so a hostile page can carry instructions aimed at browser_exec.
  • A cloud browser run bills against your Browser Use key, and the live view and CDP URLs give control of the browser to anyone who gets them.

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 --env BROWSER_USE_API_KEY=... browser-use -- uvx --from browser-use==1.0.6 browser-use --cli-mcp

Claude Code names MCP tools mcp__browser-use__<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": {
    "ask": [
      "mcp__browser-use__browser_exec",
      "mcp__browser-use__browser_login",
      "mcp__browser-use__browser_feedback"
    ]
  }
}

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.browser-use]
command = "uvx"
args = ["--from", "browser-use==1.0.6", "browser-use", "--cli-mcp"]
env_vars = ["BROWSER_USE_API_KEY"]

Checklist

  • Use a browser profile with no saved logins for agent runs.
  • Keep BH_OPEN_LIVE_URL unset.
  • Set BROWSER_USE_ALLOWED_DOMAINS when you can name the sites.
  • Approve each browser_exec call, or run the server in a container.
  • Pin the version the docs name, since newer releases can break the setup.

Checked against the vendor documentation on November 25, 2026. Browser Use docs: MCP server · browser-use/browser-use README

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