playwriter

Drive your own logged-in Chrome from an agent via CLI or MCP

Local

Install

See setup instructions on playwriter.dev

What it does

Playwriter is a browser automation tool that lets an agent drive the Chrome instance you already use, rather than spawning a fresh automated browser. It connects through a Chrome extension, so existing cookies, sessions, extensions and logins are available to the agent. Installation starts with the extension from the Chrome Web Store; clicking its icon on a tab indicates a connection. A global CLI (npm i -g playwriter) then runs JavaScript in named, stateful sessions, each with isolated state while tabs are shared. Sessions can be assigned Chrome tab groups for tidiness.

The CLI exposes Playwright's API plus raw CDP sessions, network interception, breakpoints, live code editing, accessibility-labeled screenshots, and RTMP tab streaming. A separate skill install lets an agent learn the CLI, and MCP server configuration is documented for clients that prefer that route. It targets developers and agent builders who need automation inside authenticated sites.

Limitations: it depends on Chrome and the extension being connected; there is no default page, so scripts create or locate tabs themselves; and MCP details live in off-repo documentation.

Compatibility and authentication

Connection
Local
Transports
Unspecified
Authentication
Unknown

Security and permissions

  • When you run the server locally, it runs with your user permissions.
  • Authentication type: Unknown.

Repository data

Stars
4,120
Last push
Nov 21, 2026
License
MIT
Archived
No

Other Playwright MCP servers

Compare servers

FAQ

What license does playwriter use?
MIT
Does playwriter run locally or remotely?
It runs locally.
Is playwriter an official server?
It is listed as a community server.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/mcp/playwriter"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options