Playwright
Multi-browser automation via Playwright — Chrome, Firefox, WebKit; richer than Puppeteer.
34,516 stars 2,866 forks Last commit today Language TypeScript License MIT
Install
npm install -g @playwright/mcp Maintainer? Add the badge
[](https://prismix.dev/mcp/playwright) Claude Desktop / Cursor config
Drop into your claude_desktop_config.json or Cursor MCP settings. Replace the ${…} placeholders with your own values.
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@playwright/mcp@latest"]
}
}
} About
Microsoft's official Playwright-based MCP server. Same shape as the Puppeteer reference server but with multi-browser support (Chrome, Firefox, WebKit), proper iframe + popup handling, and built-in trace recording for debugging.
Recent releases (5)
All releases →- v0.0.76 Latest Jun 10, 2026
## What's New ### New Tools - **`browser_video_show_actions` / `browser_video_hide_actions`** — Overlay action annotations on the recorded video, or hide them again ([#40914](https://github.com/microsoft/playwright/pull/40914)) ### Tool Improvements - **Remote endpoint** — `remoteEndpoint` now accepts a `ConnectOptions` object, not just a URL string ([#40964](https://github.com/microsoft/playwright/pull/40964)) - **`--output-max-size`** — Cap the size of tool responses, with post-response disk eviction of oversized output ([#41031](https://github.com/microsoft/playwright/pull/41031)) - **`--browser`** — Support `moz-firefox` BiDi channels ([#41126](https://github.com/microsoft/playwright/pull/41126)) ## Bug Fixes - Support `remoteHeaders` for the remote browser endpoint ([#40828](https://github.com/microsoft/playwright/pull/40828), [#41156](https://github.com/microsoft/playwright/pull/41156)) - Use `waitUntil: 'commit'` when navigating back/forward ([#41153](https://github.com/microsoft/playwright/pull/41153)) - Report invalid tool arguments instead of failing opaquely ([#40979](https://github.com/microsoft/playwright/pull/40979)) - Use a writable cache directory for MCP user data instead of the browsers path ([#40961](https://github.com/microsoft/playwright/pull/40961)) - Disconnect the tracked browser when the browser tracker is disposed ([#40967](https://github.com/microsoft/playwright/pull/40967)) - Report a missing `ffmpeg` distinctly from a missing browser ([#40867](https://github.com/microsoft/playwright/pull/40867)) - Don't mark the response as closed when there are no open tabs ([#40743](https://github.com/microsoft/playwright/pull/40743)) - Validate user-provided regex patterns in MCP tools ([#40752](https://github.com/microsoft/playwright/pull/40752)) - Pass the `time` parameter to `page.evaluate` when waiting for a timeout ([#41037](https://github.com/microsoft/playwright/pull/41037)) - Add path-traversal checks to static file serving routes ([#40715](https://github.com/microsoft/playwright/pull/40715))
View on GitHub ↗ - v0.0.75 May 7, 2026
## Bug Fixes - Serialize shared browser launch in `--isolated` mode ([#40709](https://github.com/microsoft/playwright/pull/40709)) - Forward browser-level CDP commands in extension mode ([#40706](https://github.com/microsoft/playwright/pull/40706))
View on GitHub ↗ - v0.0.74 May 6, 2026
## What's New ### Browser Extension - The extension now supports managing multiple tabs when used with `--extension` ([#40678](https://github.com/microsoft/playwright/pull/40678)) ### Tool Improvements - **`browser_take_screenshot`** — Skip the base64 image in the response when `filename` is explicitly provided ([#40577](https://github.com/microsoft/playwright/pull/40577)) ## Bug Fixes - Auto-recover when the remote browser disconnects mid-session ([#40652](https://github.com/microsoft/playwright/pull/40652)) - Recover from page renderer crash ([#40617](https://github.com/microsoft/playwright/pull/40617)) - Anchor aria-ref regex in target resolution ([#40610](https://github.com/microsoft/playwright/pull/40610)) - Propagate abort signal to stop test execution ([#40582](https://github.com/microsoft/playwright/pull/40582))
View on GitHub ↗ - v0.0.73 May 1, 2026
## What's New ### Distribution - Playwright MCP is now published to the official [MCP Registry](https://registry.modelcontextprotocol.io) on each release ([#1585](https://github.com/microsoft/playwright-mcp/pull/1585)) ## Bug Fixes - Resolve extension `channel` and `executablePath` from CLI flags and environment variables ([#40572](https://github.com/microsoft/playwright/pull/40572)) - Propagate `--browser` channel on the `--extension` path ([#40567](https://github.com/microsoft/playwright/pull/40567)) - Handle null viewport in dashboard annotate-screenshot ([#40569](https://github.com/microsoft/playwright/pull/40569))
View on GitHub ↗ - v0.0.72 Apr 30, 2026
## What's New ### Tool Improvements - **`browser_network_requests`** — Now returns a numbered list of requests; use the new `browser_network_request` tool with the index to fetch full details (headers/body) or a single part. Both tools accept a `filename` option to write the output to a file ([#40447](https://github.com/microsoft/playwright/pull/40447), [#40454](https://github.com/microsoft/playwright/pull/40454)) - **`browser_run_code` → `browser_run_code_unsafe`** — Renamed to make the sandbox-escape implication explicit ([#40496](https://github.com/microsoft/playwright/pull/40496)) ## Bug Fixes - Surface unhandled rejections in `browser_run_code_unsafe` instead of crashing the server ([#40452](https://github.com/microsoft/playwright/pull/40452)) - Detect the installed extension in non-default Chrome profiles ([#40471](https://github.com/microsoft/playwright/pull/40471)) - Ignore browser config (channel, headless, viewport, etc.) when attaching to the extension ([#40475](https://github.com/microsoft/playwright/pull/40475))
View on GitHub ↗
Discussion (0)
Sign in to comment →No comments yet. Sign in to start the discussion.