mcp-playwright
View on GitHubPlaywright Model Context Protocol Server - Tool to automate Browsers and APIs in Claude Desktop, Cline, Cursor IDE and More 🔌
MCP server that exposes Playwright browser automation to LLM clients: navigate, click, screenshot, scrape, run JS, generate test code, and emulate 143 devices. Runs over stdio or standalone HTTP, installed via npx in Claude Desktop, Cursor, Cline and VS Code.
Use Cases
Let LLMs drive a real browserScrape web page content for agentsCapture page screenshotsGenerate Playwright test codeExecute JavaScript inside a live pageEmulate 143 mobile/desktop devicesTest web apps across Chromium/Firefox/WebKitAutomate web APIs from an agentRun headed browsers on headless remote servers via HTTP modeIntegrate browser tooling into Claude Desktop, Cursor, Cline, VS Code Copilot
Built With
- Language
- TypeScript
- Frameworks
- Playwright · Model Context Protocol SDK · Express · Jest · Node.js · TypeScript · Docker · Smithery
Tags
playwright · browser-automation · mcp-server · model-context-protocol · web-scraping · screenshots · codegen · javascript-execution · device-emulation · e2e-testing · claude-desktop · cursor · vscode · http-transport · stdio · docker