W/ Browser Use MCP Server

FastAPI server implementing MCP protocol Browser automation via browser-use library.

Local serverstdioPython

What is the W/ Browser Use MCP Server?

FastAPI server implementing MCP protocol Browser automation via browser-use library.

What the server does

This repository provides a production-ready wrapper around the browser-use automation engine. It exposes a single MCP tool (run_browser_agent) that orchestrates a browser session, executes the browser-use agent, and returns the final result back to the client. The refactored layout focuses on keeping configuration in one place, improving testability, and keeping browser-use upgrades isolated from MCP specific code.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Optional — Claude Desktop or another MCP-compatible client for integration testing
  • Provider — specific API keys and endpoints (ANTHROPIC_API_KEY, OPENAI_API_KEY, DEEPSEEK_API_KEY, GOOGLE_API_KEY, AZURE_OPENAI_API_KEY, etc.)
  • Requirements — The Requirements tool exposed by this server
  • Installation — Copy sample.env to .env (or export the variables in another way) and update the values for the providers you plan to use
  • Debugging — For interactive debugging, use the MCP Inspector:

Credentials and setup notes

  • Python 3.11+ - Google Chrome or Chromium (for local automation) - uv for dependency management (recommended) - Optional: Claude Desktop or another MCP-compatible client for integration testing

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • Python 3.11+ - Google Chrome or Chromium (for local automation) - uv for dependency management (recommended) - Optional: Claude Desktop or another MCP-compatible client for integration testing
VariableDescriptionRequired
MCP_MODEL_PROVIDERConfiguration value read at startup.Optional
MCP_MODEL_NAMEConfiguration value read at startup.Optional
ANTHROPIC_API_KEYCredential the server authenticates with.Yes
OPENAI_API_KEYCredential the server authenticates with.Yes
DEEPSEEK_API_KEYCredential the server authenticates with.Yes
GOOGLE_API_KEYCredential the server authenticates with.Yes
AZURE_OPENAI_API_KEYCredential the server authenticates with.Yes
BROWSER_USE_PROXY_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use W/ Browser Use to Optional.”
  • “Use W/ Browser Use to Provider.”
  • “Use W/ Browser Use to Requirements.”

Frequently asked questions

Python 3.11+, Google Chrome or Chromium, and `uv` for dependency management.