Playwright MCP Agents
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π Playwright AI Agentic Testing Framework
A production-ready Quality Engineering test framework leveraging Playwright, Model Context Protocol (MCP), VS Code, and GitHub Copilot AI Agents for unified UI and REST API automation.
ποΈ Architecture & Core Components
Agentic Loop (Plan β Generate β Heal): Autonomous test creation, specification generation, and self-healing broken locators via MCP.
Hybrid Test Capabilities: Cross-browser UI automation + Schema-validated REST API contract testing via
Zod.VS Code Native MCP Integration: Connects Copilot Chat directly to Playwright's local browser runtime context via standard I/O.
Related MCP server: RunAutomation MCP Server
π Quickstart Guide
Prerequisites
Node.js 18+ installed
VS Code with GitHub Copilot & Playwright extensions enabled
Setup Commands
# 1. Install dependencies & browsers
npm install
npx playwright install
# 2. Initialize Playwright MCP Agents
npm run agents:initπ€ Using Playwright AI Agents
In VS Code Copilot Chat, interact with the agentic loop:
Planner Agent:
@playwright-test-planner draft test specs for specs/ui-shopping-flow.md using tests/seed/seed.spec.tsGenerator Agent:
@playwright-test-generator write TypeScript tests for specs/ui-shopping-flow.md into tests/ui/checkout.spec.tsHealer Agent:
@playwright-test-healer diagnose and repair failing tests in tests/ui/checkout.spec.ts
π§ͺ Running Tests
# Run all tests (UI + API)
npm run test
# Run UI tests only
npm run test:ui
# Run API tests only
npm run test:api
# View HTML Report
npm run test:reportTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Approved test intent, reviewed Playwright automation and run evidence, inside your editor.
Build, run, debug, test and ship Chrome, Firefox, Edge and Safari extensions from your AI agent.
Playwright browser automation β navigate, click, fill forms, extract, screenshot β 17 agent tools.
Write, run and check natural-language browser tests of your web app from your AI assistant.
Related MCP Servers
- AlicenseAqualityDmaintenanceGenerates intelligent Playwright locators with reliability rankings, creates Page Object Models, and runs test automation scripts directly from your IDE or AI assistant.510 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to execute browser automation, perform QA tasks, and generate test code through natural language commands using Playwright.7MIT
- AlicenseAqualityBmaintenanceEnables AI agents to drive Playwright-based browser automation for UI testing, returning JSON/HTML reports with screenshots without server-side LLM or test scripts. https://easy-ui-mcp.vercel.app/16261MIT
- AlicenseAqualityBmaintenanceEnables AI coding assistants to generate, score, run, and auto-heal Playwright E2E tests while enforcing domain-driven page object architecture and anti-flakiness rules.854 npmMIT