Playwright MCP
About
Automate web interactions and perform web scraping tasks using the Playwright framework.
Details
- Author
- faruklmu17
- Categories
- Web Scraping, Automation, Developer Tools
Jump to
Setup
Install Playwright MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/faruklmu17/playwright_mcp
Follow the installation instructions in the repository README, then restart your MCP client.
Automate web interactions and perform web scraping tasks using the Playwright framework.
This repository contains everything needed to launch and connect to a working Playwright MCP (Model Context Protocol) server.
This setup allows you to automate and inspect web pages usingstructured datainstead of screenshots — ideal for LLM-powered tools like Claude, Cursor, and VS Code AI agents.
One of the following MCP-compatible clients:
- VS Code or VS Code Insiders
- Cursor
- Claude Desktop
- .vscode/settings.json— VS Code configuration to launch Playwright MCP
- package.json— Includes required MCP dependencies
- README.md— This file
- .gitignore— Basic Node project ignore rules
git clone https://github.com/faruklmu17/playwright_mcp.git cd playwright-mcp-config
This installs all required packages, including@playwright/mcp.
You can change the port if needed, e.g.--port=4000
Add this to your.vscode/settings.json:
{ "mcpServers": { "playwright": { "command": "npx", "args": [ "@playwright/mcp@latest", "--port=3550" ] } } }
This tells VS Code (or Cursor) how to launch and connect to the MCP server.
5. Optional: Use Persistent or Isolated Sessions
The browser state is preserved across sessions.
{ "mcpServers": { "playwright": { "command": "npx", "args": [ "@playwright/mcp@latest", "--isolated", "--storage-state=storage/state.json" ] } } }
You can enhance your MCP server using optional flags:
You donotneed to installplaywrightor runnpx playwright installseparately. The MCP package handles everything required for browser automation.
Pull requests and suggestions are welcome!
Official Playwright MCP server for browser automation, page inspection, screenshots, and web interaction from Claude, Cursor, and other AI agents.
Render website screenshots with ScreenshotOne
Attaches to existing browser sessions using the Chrome DevTools Protocol for automation and interaction.
Help your AI agent finish more browser tasks.
Automate remote browsers using the BrowserCat API.
Remote browser automation using the BrowserCat API.
Take screenshots and read console logs from web pages using Playwright.
Automate browser tasks using the Browser Use API.
A Node.js server that enables AI assistants to control the Chrome browser via WebSocket. Requires the CodingBaby Chrome Extension.
A configurable MCP server for browser automation using Puppeteer.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.


