Browser Use MCP Server

Automates browser interactions using Python scripts for tasks like screenshot capture, HTML retrieval, JavaScript execution, and console log

Local serverstdioPython 23

What is the Browser Use MCP server?

If you already use Browser Use, the browser use mcp server is the piece that lets your assistant work with it directly. Automates browser interactions using Python scripts for tasks like screenshot capture, HTML retrieval, JavaScript execution, and console log extraction.

What the server does

A Model Context Protocol server for browser automation using Python scripts. For use with Cline

Available tools

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

  • Screenshot — Parameters: - url: The webpage URL (required) - full_page: Whether to capture the full page or just the viewport (optional, default: false) - steps
  • Timeout — Default timeout is 5 minutes (300000 ms). Modify the TIMEOUT constant in build/index.js to change this

Installation

Installation goes through your MCP client rather than a global install: point it at @smithery/cli on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Credentials and setup notes

Configuration is passed through the environment: GLHF_API_KEY, GROQ_API_KEY, OPENAI_API_KEY, OPENROUTER_API_KEY, GITHUB_API_KEY, DEEPSEEK_API_KEY, GEMINI_API_KEY, OLLAMA_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  1. (Optional but recommended) Install Xvfb for headless browser automation: ```bash

Where it fits

Among the browser automation options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Browser Use's toolset — Screenshot, Timeout — is a fair guide to whether it matches your workflow. It is maintained by ztobs; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
ScreenshotParameters: - url: The webpage URL (required) - full_page: Whether to capture the full page or just the viewport (optional, default: false) - steps: Comma-separated actions or sentences describing steps to take after pag
TimeoutDefault timeout is 5 minutes (300000 ms). Modify the TIMEOUT constant in build/index.js to change this.

How to install the Browser Use MCP server

{
  "mcpServers": {
    "browser-use-5": {
      "command": "npx",
      "args": ["-y", "@smithery/cli"],
      "env": {
        "GLHF_API_KEY": "your-value",
        "GROQ_API_KEY": "your-value",
        "OPENAI_API_KEY": "your-value",
        "OPENROUTER_API_KEY": "your-value",
        "GITHUB_API_KEY": "your-value",
        "DEEPSEEK_API_KEY": "your-value",
        "GEMINI_API_KEY": "your-value",
        "OLLAMA_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  1. (Optional but recommended) Install Xvfb for headless browser automation: ```bash
VariableDescriptionRequired
GLHF_API_KEYCredential the server authenticates with.Yes
GROQ_API_KEYCredential the server authenticates with.Yes
OPENAI_API_KEYCredential the server authenticates with.Yes
OPENROUTER_API_KEYCredential the server authenticates with.Yes
GITHUB_API_KEYCredential the server authenticates with.Yes
DEEPSEEK_API_KEYCredential the server authenticates with.Yes
GEMINI_API_KEYCredential the server authenticates with.Yes
OLLAMA_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Browser Use to Screenshot.
  • Use Browser Use to Timeout.

Frequently asked questions

Browser Use is a tool that automates browser interactions using Python scripts. It allows you to perform tasks like taking screenshots, retrieving HTML, executing JavaScript, and fetching console logs.