The repository or configuration that created this release differ from a previous release. View details.
browser-director
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 summarise | Read example.com and print the title, first paragraph, and word count. |
| Form fill | Fill the public httpbin form and check the echo. |
| Screenshot | Save a viewport PNG of example.com. |
| Narrated demo | Wikipedia 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-director | Playwright MCP | Vercel agent-browser | |
|---|---|---|---|
| Drive a browser (open, click, type, read) | Yes | Yes. Tool list in its README. | Yes. Rust CLI; snapshot returns refs such as @e1. |
| MCP server | Yes. uvx browser-director mcp. |
Yes. | Yes. Docs say agent-browser mcp. |
| Save a video of the session | recording 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 server | Yes. 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 (<!-- tool-count: 35 -->). 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
httpandhttpsare rejected, includingfile,javascript, anddata. - 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.
Metadata
Release files for browser-director 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| browser_director-0.4.0.tar.gz | 91.0 kB | With provenance | Details for browser_director-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| browser_director-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for browser_director-0.4.0-py3-none-any.whl |
Total release size: 176.0 kB
Release files / browser_director-0.4.0.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | browser_director-0.4.0.tar.gz |
|---|---|
| Size | 91.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69817f74184f49d9a2c20142d0e9727a268b83e83580801a7b66f656ecae8ed2
|
|
BLAKE2b-256 checksum How to use checksums |
fcde932a4a3b91bd05eb8ad26908618f87ce89f81aa16575f80a4a63b0afcce7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logRelease files / browser_director-0.4.0-py3-none-any.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | browser_director-0.4.0-py3-none-any.whl |
|---|---|
| Size | 85.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
747102f58d9cc21dd7050adb2e4c80b855c115eff186d6e3b8a83f9e750e1650
|
|
BLAKE2b-256 checksum How to use checksums |
940dffc4d06e2b6d837e3282866c0d2fc85bb02d24442c843fdfee4fb94c784d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logSecurity for browser-director 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Change of provenance
The repository and configuration that created this release differ from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Repository
- Removed 0.3.0 github.com/abhinav-nigam/agent-browser
- Added 0.4.0 github.com/abhinav-nigam/browser-director
Attestation for browser_director-0.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.