Playwright Debug Server
БесплатноНе проверенSupercharges AI-assisted debugging of Playwright tests by parsing trace files to extract failures, action history, network logs, screenshots, and suggesting fix
Описание
Supercharges AI-assisted debugging of Playwright tests by parsing trace files to extract failures, action history, network logs, screenshots, and suggesting fixes.
README
An MCP (Model Context Protocol) server designed to supercharge AI-assisted debugging of Playwright tests.
Instead of manually downloading and scrubbing through trace.zip files to find why a test failed, simply point this MCP server to your trace file or Playwright results directory. The server instantly parses the exact failing action, action history, network failures, DOM snapshots, and screenshots so your AI assistant (like Claude, Cursor, Cline, or Antigravity) can instantly pinpoint the failure and suggest a code fix.
Features
- 🐛
analyze_trace: Automatically extracts the exact action that hung or failed, the selector used, DOM snapshots, and Base64 screenshots. - 📜
get_action_history: Extracts a full chronological timeline of every user action performed during the test. - 🌐
get_network_log: Filters network requests inside the trace to find exactly what APIs returned 4xx or 5xx right before the crash. - 🖼️
get_screenshots_around_time: Visual timeline extraction tool for the AI to view the exact state of the browser before and after any given timestamp. - 🛠️
suggest_fix: A built-in logic engine mapping common Playwright errors to actionable fixes.
Usage for the Public (VS Code, Cursor, Claude Desktop)
This server can be used out-of-the-box by any MCP-compatible AI agent without needing to clone or configure anything locally.
Using in Cursor
- Go to Cursor Settings > Features > MCP Servers
- Click + Add New MCP Server
- Set Type to
command - Set Name to
playwright-debug - Set Command to:
npx -y github:aakarshitsharma06/playwright-debug-mcp
Using in VS Code (with Cline / RooCode extension)
Open your MCP configuration file (usually in ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json) and add:
{
"mcpServers": {
"playwright-debugger": {
"command": "npx",
"args": ["-y", "github:aakarshitsharma06/playwright-debug-mcp"]
}
}
}
Using in Claude Desktop
Open your Claude Desktop config file (~/Library/Application Support/Claude/claude_desktop_config.json) and add:
{
"mcpServers": {
"playwright-debugger": {
"command": "npx",
"args": ["-y", "github:aakarshitsharma06/playwright-debug-mcp"]
}
}
}
How to Build Locally
If you want to modify or run the code locally:
npm install
npm run build
node dist/index.js
Установка Playwright Debug Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/aakarshitsharma06/playwright-debug-mcpFAQ
Playwright Debug Server MCP бесплатный?
Да, Playwright Debug Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Playwright Debug Server?
Нет, Playwright Debug Server работает без API-ключей и переменных окружения.
Playwright Debug Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Playwright Debug Server в Claude Desktop, Claude Code или Cursor?
Открой Playwright Debug Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Playwright
Browser automation, scraping, screenshots
автор: MicrosoftPuppeteer
Browser automation and web scraping.
автор: modelcontextprotocolopentabs-dev/opentabs
Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a
автор: opentabs-devrobhunter/agentdeals
1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan
автор: robhunterCompare Playwright Debug Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории browse
