
Playwright CDP
STDIO支持CDP的Playwright浏览器自动化服务器
支持CDP的Playwright浏览器自动化服务器
A Model Context Protocol server that provides browser automation capabilities using Playwright with Chrome DevTools Protocol (CDP) support. This server enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment, with the ability to connect to existing Chrome instances via CDP.
This is a fork of executeautomation/mcp-playwright v0.2.7, enhanced with CDP support for connecting to running Chrome instances.
You can install the package using either npm or Smithery:
To install MCP Playwright CDP for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @lars-hagen/mcp-playwright-cdp --client claude
Using npm:
npm install
Add this to your Claude Desktop configuration file:
{ "mcpServers": { "playwright": { "command": "node", "args": ["/path/to/mcp-playwright/dist/index.js"] } } }
Replace /path/to/mcp-playwright
with your actual path to the repository.
This fork adds the ability to connect to an existing Chrome instance via CDP. To use this feature:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
This project is a fork of executeautomation/mcp-playwright, enhanced with CDP support for connecting to running Chrome instances.
This project is licensed under the MIT License - see the LICENSE file for details.