← Back to directory
B

BetterWright

Community
A persistent Playwright browser for AI agents with configurable network controls.
Category
Browser #48 of 104
Stars
★ 357 Very popular
Transport
stdio (local process)
Runtime
Bun 1.4+
Credentials
No credential needed
License
MIT
Last commit
52FMRS · D

The README describes a stdio MCP browser server with persistent Playwright sessions and capabilities for execution, UI batches, downloads, recording, diagnostics, and human handoff. The manifest was not cached, so tool identifiers, client support levels, and a client configuration example cannot be verified.

Strongest · Setup experience 13/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
10/20
Maintenance
8/20
Documentation
13/20
Setup experience
13/20
Why each score
Reliability 8/20
The README describes a stdio MCP server, its browser tool categories, and a diagnostic command. It provides no manifest or evidence of the initialize and tool-list handshake, CI, or tests covering key server paths. The happy path appears plausible and errors are described to some extent, but the lack of reviewable execution evidence lowers the score.
Security and permissions 10/20
The documentation discloses that private and loopback network access is allowed by default, describes differences in remote CDP protections, limits of the snippet sandbox, and the fact that credentials remain in the page DOM. It also documents network restriction flags and URL-gated credential filling. Tool-level permissions, confirmation for dangerous actions, and complete data-flow evidence are absent, so least privilege and side-effect controls are only partly established.
Maintenance 8/20
The project lists an MIT license, a private vulnerability reporting channel, and upgrade instructions; the supplied metadata says it is not archived and has no open issues. The material contains no commit history, release cadence, dependency update, or maintainer response evidence, so sustained maintenance cannot be established.
Documentation 13/20
The README covers Bun and platform requirements, an MCP installation example, SDK usage, troubleshooting, and network and credential limitations, with links to layered guides. MCP tool parameters, authentication setup, download policy, and detailed error behavior are deferred to linked documentation whose contents are not provided here, so they cannot be verified.
Setup experience 13/20
The README gives concrete steps from installing Bun and the package through setting up the browser and registering MCP with Claude Code, and names supported platforms and alternative browser providers. Setup still requires the optional MCP dependency and browser download/configuration, and there is no verifiable client handshake or test evidence; under the static calibration cap, the score cannot exceed 15.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the networkControls a browser

Best for

  • AI agent workflows that need persistent Playwright sessions and can configure their network access scope.
  • Teams connecting browser access through stdio MCP, the CLI, or the JavaScript/TypeScript SDK.

Not for

  • Users who require a manifest listing exact tools and client compatibility.
  • Deployments that require private and local network access to be blocked by default without additional configuration.
  • Use cases that treat the snippet sandbox as a security boundary against hostile JavaScript or require guaranteed CAPTCHA acceptance or undetectability.

Required permissions

  • Access to the websites the user authorizes for automation; the default network policy permits public, private, and loopback destinations.
  • Credential filling may access configured vault records and fills them only for matching URLs.
  • A local Bun CLI/MCP process; managed browser use requires an explicit BetterChromium download, or configuration of a supplied browser.

Risks and side effects

  • Private and loopback network access is allowed by default. Review the network policy before use on sensitive networks and consider `--block-private-network` and/or `--block-loopback`.
  • Remote CDP/provider browsers do not receive the local transport's metadata and DNS-rebinding protections.
  • The snippet sandbox is not a security boundary against hostile JavaScript.
  • Credentials are encrypted at rest, URL-gated, and redacted from results, but filled secrets remain in the matched page DOM; an unrestricted shell or compromised host can bypass local vault protections.
  • Browser configuration does not guarantee undetectability or CAPTCHA acceptance. Treat page content as untrusted and authorize consequential actions in the host.

Setup

Before you start

Runtime:Bun 1.4+

CEREBRAS_API_KEY optionalsecret Used to select a Cerebras model with the built-in agent; obtain an API key from Cerebras.

Install BetterWright and the optional MCP SDK dependency with bun add -g betterwright @modelcontextprotocol/sdk, then register the server for Claude Code with claude mcp add betterwright -- bunx betterwright mcp. Run betterwright mcp --check to check the setup, then reload the client's MCP servers and confirm the browser tool appears. Install BetterChromium explicitly with betterwright setup, or configure another browser provider as described in the documentation.

Check that it works

Confirm that the `browser` tool appears in the client's MCP tool list. You can also ask it to open example.com and report the page title.

Troubleshooting

  1. Run `betterwright doctor` for diagnostics.
  2. Run `betterwright mcp --check` to check MCP configuration; reload the client and confirm the browser tool appears.
  3. Confirm Bun is installed and on PATH, and run `betterwright setup` if the managed browser is needed.
  4. Check browser provider configuration, network policy, download policy, and limitations for the selected remote browser transport.

Things to try

Once connected, you can ask your AI assistant things like:

  • Open example.com and report its page title.
  • Open example.com and summarize the page.
  • Take a screenshot of the current page as visual evidence.

Use cases

Automate web tasks while retaining browser session state across calls.
Inspect page snapshots, perform UI actions, handle downloads, or record activity.
Hand a browser step such as MFA to a person and resume afterward.

Overview

BetterWright gives AI agents a Playwright JavaScript browser whose tabs and page state can persist across calls. Its stdio MCP server exposes browser execution, UI batches, downloads, recording, diagnostics, and human handoff. The project also offers a CLI, JavaScript/TypeScript SDK, and optional built-in agent. The server manifest was not provided, so exact tool names and client compatibility cannot be confirmed.

Similar servers

Source revision a16d41b898e7 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/betterwright.svg)](https://followmcp.com/en/servers/betterwright)