Skip to content

Menu

Browser Use MCP Server logo

Browser Use MCP Server

Published

At a glance

GitHub repository
browser-use/browser-use
Watch out for
browser_exec runs in the server process with access to its environment and files, so treat agent-written code with the same care as any local script.

Browser Use ships an MCP server inside its open source browser-use package. You start it with browser-use --cli-mcp, usually by letting your MCP client launch it through uvx, and it runs locally next to the client. The docs name Claude Desktop and Cursor and say any MCP client works.

The design is lean. Instead of a long list of click and type tools, there is one main tool, browser_exec, that runs Python against the browser using Browser Harness helpers and raw CDP. Your client's model writes that code. No MCP tool runs the full browser-use Agent.

By default it drives your own open Chrome, with its tabs, cookies and logins. If Chrome can't be used, it starts a temporary headless Chromium. With a Browser Use Cloud API key you can also start remote cloud browsers from inside browser_exec. The older 0.x --mcp server is deprecated, and the docs tell you to move clients to --cli-mcp.

How it connects

Your AI app

An assistant or agent that supports MCP

Browser Use MCP Server

Runs as

  • Python (uv / pip)

Gives the agent

  • Run browser code
  • Screenshots
  • Cloud sign-in
  • Cloud browsers
  • Feedback

Browser Use

Signs in with

  • API key
Your AI app talks to Browser Use MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

Run browser code
browser_exec(code) runs Python with helpers such as new_tab, goto_url and click_at_xy. The namespace persists across calls and printed output comes back to the agent.
Screenshots
browser_screenshot(full, max_dim) returns the current page as an image. full captures beyond the viewport and max_dim downscales the result.
Cloud sign-in
browser_login(force) opens your browser for approval, then stores the Browser Use Cloud key the server uses for remote browsers.
Cloud browsers
Calling start_remote_daemon() inside browser_exec starts a cloud browser that lasts 30 minutes by default and up to 240 with timeout=<minutes>.
Feedback
browser_feedback(message, category) sends a bug, docs, missing or other report to the Browser Use team. It is turned off when telemetry is off.

Setting it up

Add this to your MCP client's config (Claude Desktop, Cursor or any MCP client): an mcpServers entry named browser-use with "command": "uvx" and "args": ["--from", "browser-use==1.0.6", "browser-use", "--cli-mcp"]. The docs say to keep the exact ==1.0.6 pin because a new release can break your setup. For cloud browsers, add an env block with BROWSER_USE_API_KEY set to your bu_ key, or call the browser_login tool, or reuse a key stored by browser-use login. Desktop-launched clients may not inherit shell exports, so put the key in the config if needed. Set BH_OPEN_LIVE_URL=1 if you want the server to open or return live view and CDP URLs, and BROWSER_USE_ALLOWED_DOMAINS to restrict domains. To use the same helpers from a shell, the CLI installs with uv tool install 'browser-use==1.0.6'.

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • Check a page in your logged-in Chrome session and screenshot the result for a bug report.
  • Script a multi-step form flow in Python through browser_exec while the agent reads printed output between steps.
  • Run a scraping or checking task in a cloud browser on a headless machine.
  • Reproduce a UI issue on a local dev server and capture full-page screenshots.

Limitations and things to watch

  • browser_exec runs in the server process with access to its environment and files, so treat agent-written code with the same care as any local script.
  • No MCP tool runs the full browser-use Agent; the client model has to write the browser code itself.
  • Old 0.x tool names such as browser_navigate now return errors pointing to browser_exec, so configs using --mcp need updating.
  • With domain restrictions set, starting a cloud browser is disabled, and a configured local proxy fails instead of being ignored.
  • Cloud browsers bill until they stop or time out, and http_get() runs from the local machine rather than through the cloud browser's proxy.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…