适合谁
- 需要在 Claude Desktop、VS Code 等客户端中自动化浏览器的开发者
- 从事 Web 测试与爬取的用户
一个功能成熟的 Playwright 浏览器自动化 MCP 服务器(v1.0.10),支持多客户端、stdio 与 HTTP 两种模式、自动浏览器安装和 143 种设备模拟预设。文档完善、MIT 许可,适合需要 AI 驱动浏览器自动化的开发者。
executeautomation 维护的一个模型上下文协议(MCP)服务器,通过 Playwright 提供浏览器自动化能力。它使大语言模型能够操作网页、截图、生成测试代码、抓取页面内容,并在真实浏览器环境中执行 JavaScript。支持 Claude Desktop、Cline、Cursor IDE、VS Code 等客户端。
通过 npm 全局安装:npm install -g @executeautomation/playwright-mcp-server;也可使用 mcp-get 或 Smithery(npx @smithery/cli install @executeautomation/playwright-mcp-server --client claude)。在 Claude Desktop 中使用 stdio 模式,配置为 {"mcpServers":{"playwright":{"command":"npx","args":["-y","@executeautomation/playwright-mcp-server"]}}}。VS Code 可通过 code --add-mcp '{"name":"playwright","command":"npx","args":["@executeautomation/playwright-mcp-server"]}' 安装。首次使用时服务器会自动下载浏览器二进制文件,也可手动运行 npx playwright install。
{"mcpServers":{"playwright":{"command":"npx","args":["-y","@executeautomation/playwright-mcp-server"]}}}