mcpField
P
Playwright E2E MCP

Playwright E2E MCP

Remote
github.comDeveloper Tools0Updated 6d ago

About Playwright E2E MCP

playwright-e2e-mcp is an open-source MCP server for diagnosing and fixing failing Playwright tests. The repository has moved to xsignon-secure/E2E; the npm package name remains unchanged.

Key features

  1. 01Diagnose failing Playwright tests
  2. 02Analyze traces
  3. 03Verify locator fixes
  4. 04Rank flaky tests
  5. 05MIT-licensed open source

Use cases

  1. 01Investigate a failing Playwright test
  2. 02Review trace data during debugging
  3. 03Prioritize flaky tests for investigation

MCP support

It is an MCP server for Playwright test diagnosis and repair. The repository and MCP Registry entry have moved to xsignon-secure/E2E.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://playwright-e2e-mcp.vercel.app/api/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Packages
npmplaywright-e2e-mcp0.2.2

Tools

11
ParameterTypeRequiredDescription
argsarrayNoExtra Playwright flags from an allowlist, as --flag or --flag=value (e.g. --repeat-each=3, --shard=1/2, --trace=on)
grepstringNoOnly run tests whose title matches this regex
configstringNoplaywright.config path or 1-based index when the project has several configs
headedbooleanNoRun with a visible browser window
browserenumNoPlaywright project name to run (matched against playwright.config projects)chromium | firefox | webkit
retriesintegerNo
workersintegerNo
testFilesarrayNoTest files/directories relative to the project root; "file:line" is supported. Omit to run the whole suite.
timeoutMsintegerNoHard wall-clock limit for the whole run; the process tree is killed past it (default 120000)
backgroundbooleanNoReturn a run id at once; poll get-run-status
lastFailedbooleanNoOnly re-run tests that failed in the previous run (Playwright --last-failed) — the fast fix → re-run loop
projectRootstringNoProject directory; defaults to the server working directory
testTimeoutMsintegerNoPer-test timeout passed to Playwright
retryOnFailurebooleanNoAuto retry failing tests once before reporting failure (default true; ignored when retries is set)

Details

From the project README

playwright-e2e-mcp has moved

This repository is no longer maintained. playwright-e2e-mcp now lives at github.com/xsignon-secure/E2E.

The latest release is 0.4.2. To set it up in your project:

npx -y playwright-e2e-mcp init

The npm package name is unchanged, so existing installs keep working; run the command above (or npm install -D playwright-e2e-mcp@latest) to pick up the newest version.

Issues, pull requests, releases and the .mcpb Claude Desktop bundle are all at the new home:

playwright-e2e-mcp is, and stays, fully open source and free under the MIT license.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.