Skip to main content
MCP server CX Codex

playwrightselectorguard-mcp — Claude Code MCP server setup

Evaluates Playwright selector risks, provides automated healing recommendations, and tracks approval receipts. Helpful for stabilizing flaky browser tests.

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http playwrightselectorguard-mcp https://playwrightselectorguard.clauxel.com/mcp
Open on GitHub

What playwrightselectorguard-mcp does

This MCP server links an assistant to an external service dedicated to Playwright selector inspection. It exposes tools including check_selector_risk to spot fragile locators and suggest_selector_healing to formulate safer replacements.

Workflow management includes request_human_approval for operator sign-offs, record_action_receipt to log execution confirmations, and export_selector_failure for debugging broken locators. The endpoint operates over HTTP using Streamable HTTP transport.

Access requires a paid account. Production calls fail with an authorization error unless sent with an API bearer token generated from the product website.

What it helps with

  • detect fragile Playwright locators before test execution
  • generate resilient replacement selectors for broken elements
  • request human operator approval prior to browser actions
  • export diagnostics for failed selector evaluations

Example prompts for the agent

  • Inspect selectors in tests/checkout.spec.ts using check_selector_risk
  • Find a replacement for the broken locator div > button.primary
  • Export details for the failed element using export_selector_failure

How to install playwrightselectorguard-mcp

Platform CLI: remote server

claude mcp add --transport http playwrightselectorguard-mcp https://playwrightselectorguard.clauxel.com/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about playwrightselectorguard-mcp

How to install playwrightselectorguard-mcp in Claude Code?

Run claude mcp add --transport http playwrightselectorguard-mcp https://playwrightselectorguard.clauxel.com/mcp. You must also configure the bearer token header for production calls.

What does playwrightselectorguard-mcp do?

It audits Playwright selectors for stability risks, suggests fixes, exports failure details, and manages human approval prompts.

Does playwrightselectorguard-mcp require an API token?

Yes, it is a paid hosted endpoint. Any request sent without a valid Authorization: Bearer <token> header returns a JSON error response.

Similar MCP servers

All MCP servers for Testing and QA →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor