mcp-playwright
Playwright Model Context Protocol Server - Tool to automate Browsers and APIs in Claude Desktop, Cline, Cursor IDE and More π
The Playwright MCP server enables AI assistants to automate web browsers and interact with web pages through the Model Context Protocol. It provides tools for navigating websites, taking screenshots, executing JavaScript, generating test code, and web scraping in real browser environments using Playwright. The server supports device emulation with 143 real device presets including iPhones, iPads, and desktop browsers, allowing developers to test responsive designs through natural language commands. It works with Claude Desktop, VS Code GitHub Copilot, Cursor, Cline, and other MCP-compatible clients.
Key Features
Use Cases
- 01Automating web scraping tasks by instructing AI to navigate and extract data from websites
- 02Testing responsive web designs across multiple device profiles without physical hardware
- 03Generating browser automation test scripts through conversational AI interactions
- 04Capturing screenshots of web pages for documentation or debugging purposes
- 05Executing custom JavaScript in browser contexts for advanced web manipulation
- 06Building AI-powered web testing workflows that combine navigation, interaction, and validation
Related MCP Servers
View moremarkitdown
Python tool for converting files and office documents to Markdown.
firecrawl
The context API to search, scrape, and interact with the web at scale. π₯
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source β self-host for your organization with complete privacy.
langflow
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
mcp-playwright β FAQ
What is the Playwright MCP server?+
It's a Model Context Protocol server that gives AI assistants like Claude the ability to control web browsers, take screenshots, scrape content, and automate web interactions using Playwright. It acts as a bridge between AI language models and real browser automation.
How do I install the Playwright MCP server for Claude Desktop?+
Install it globally with npm using 'npm install -g @executeautomation/playwright-mcp-server', then add the server configuration to your Claude Desktop config file with the command 'npx' and args '-y @executeautomation/playwright-mcp-server'. The server automatically installs required browser binaries on first use.
Which AI clients work with this MCP server?+
It works with Claude Desktop, VS Code GitHub Copilot, Cursor IDE, Cline, and any other client that supports the Model Context Protocol. Claude Desktop requires stdio mode, while VS Code and custom clients can use HTTP mode.
Do I need API keys or additional configuration?+
No API keys are required. The server automatically downloads and installs Playwright browser binaries (Chromium, Firefox, or WebKit) when you first use it, storing them in your system's cache directory.
Is the Playwright MCP server free to use?+
Yes, it is free and open source software available on GitHub. You can install it via npm and use it without any licensing costs.
What's the difference between stdio mode and HTTP mode?+
Stdio mode (recommended for Claude Desktop) uses standard input/output for communication and logs to files. HTTP mode runs as a standalone server on a port and is better for VS Code, remote deployments, or when running headed browsers on systems without displays.
How do I install mcp-playwright?+
Open the source repository on GitHub and follow its README. mcp-playwright is a mcp server β MCP Agents Market links you directly to the official repo.
Is mcp-playwright free?+
mcp-playwright is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.