Back to Browse

Browser Director MCP Server

Developer ToolsUse Caution4.2MCP RegistryLocal
Free

Server data from the Official MCP Registry

Operate a site, then direct a narrated demo from one MCP server.

About

Operate a site, then direct a narrated demo from one MCP server.

Security Report

4.2
Use Caution4.2High Risk

browser-director is a Playwright-based browser automation MCP server whose core purpose requires broad browser and network access, and it includes SSRF protections (scheme allowlist, private-IP and metadata blocking, credential-in-URL rejection) and path restrictions for screenshots and uploads. The main concerns are that the evaluate tool runs arbitrary JavaScript in the page origin, that the --no-sandbox Chromium flag weakens browser isolation, and that the DNS-resolution check is subject to rebinding; the visible code shows no exfiltration or hardcoded secrets, but the truncated portion was not reviewed. Supply chain analysis found 15 known vulnerabilities in dependencies (1 critical, 7 high severity). Package verification found 1 issue.

4 files analyzed · 23 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

env_vars

Check that this permission is expected for this type of plugin.

process_spawn

Check that this permission is expected for this type of plugin.

browser_control

Check that this permission is expected for this type of plugin.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "browser-director": {
      "command": "uvx",
      "args": [
        "browser-director==0.3.0"
      ]
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

browser-director

PyPI CI License: MIT

Pick this over Playwright MCP or Vercel agent-browser when the agent should both operate the site and direct a narrated demo of it — spotlight, zoom, voiceover, and cursor — from the same server.

The clip is browser-director on the English Wikipedia article for the Model Context Protocol: search, a ring spotlight on the opening paragraph, a zoom, then a focus spotlight on an infobox row. The mp4 is 50 seconds at 1280×720. The gif is a 13.6 second highlight. The voice is OpenAI tts-1-hd, voice nova, mixed with render_demo. MP4.

The GitHub repository is abhinav-nigam/browser-director.

Install

pip install browser-director
playwright install chromium

ffmpeg is required for render_demo. The Wikipedia demo’s voiceover uses generate_voiceover(provider="openai", voice="nova"), which reads OPENAI_API_KEY. media_duration on an audio file needs mutagen, so install the extra:

pip install 'browser-director[video]'

uvx browser-director mcp starts the server from PyPI without a separate install. Version 0.4.0 lists 35 tools. Older names are available only when BROWSER_DIRECTOR_LEGACY_TOOLS=1.

MCP config

Copy one of these. They all run uvx browser-director mcp. Add --allow-private to the args only when the agent should open localhost or another private address.

Claude Desktop

claude_desktop_config.json:

{
  "mcpServers": {
    "browser-director": {
      "command": "uvx",
      "args": ["browser-director", "mcp"]
    }
  }
}

Cursor

.cursor/mcp.json:

{
  "mcpServers": {
    "browser-director": {
      "command": "uvx",
      "args": ["browser-director", "mcp"]
    }
  }
}

Claude Code

claude mcp add browser-director -- uvx browser-director mcp

Recipes

Run these from a checkout after pip install -e . and playwright install chromium. Details are in examples/README.md.

Recipe
Scrape and summariseRead example.com and print the title, first paragraph, and word count.
Form fillFill the public httpbin form and check the echo.
ScreenshotSave a viewport PNG of example.com.
Narrated demoWikipedia search, ring and focus spotlights, zoom, cursor, OpenAI nova (espeak-ng if OPENAI_API_KEY is unset), render_demo.

Comparison

Checked against the Playwright MCP README and the Vercel agent-browser README plus its video-recording notes, in November 2026. "Not documented" means I did not find it there. It is not a claim that the feature can never exist.

browser-directorPlaywright MCPVercel agent-browser
Drive a browser (open, click, type, read)YesYes. Tool list in its README.Yes. Rust CLI; snapshot returns refs such as @e1.
MCP serverYes. uvx browser-director mcp.Yes.Yes. Docs say agent-browser mcp.
Save a video of the sessionrecording with action start or stop.browser_start_video / browser_stop_video. Also chapter cards and action callouts.record start / record stop to webm or mp4. --cursor draws a pointer.
Spotlight, camera zoom, and a voiceover on that same serverYes. spotlight, camera (action=zoom), generate_voiceover or your own audio, then render_demo.Not in the tool list I read.Not in the recording docs I read.

Tools

The server registers 35 tools. CI checks this sentence against the registered list (``). Set BROWSER_DIRECTOR_LEGACY_TOOLS=1 to also list the 0.3 names. Those aliases are removed in 0.5. The mapping is in docs/plans/0.4-tool-consolidation.md.

They cover navigation, interaction, one wait, read, assert, and the demo tools: spotlight, camera, recording, generate_voiceover, and render_demo. evaluate runs JavaScript in the page.

Security

Private-network access is off unless the server is started with --allow-private.

  • Schemes other than http and https are rejected, including file, javascript, and data.
  • Hostnames that resolve to loopback, link-local, or private ranges are rejected, including 169.254.169.254.
  • URLs with embedded usernames or passwords are rejected.
  • Screenshot and export paths have to stay inside the working directory.

evaluate is arbitrary JavaScript in the page's origin. Private-IP blocking does not make that safe.

License

MIT. See LICENSE. Author: Abhinav Nigam.

Reviews

No reviews yet

Be the first to review this server!