简介
Playwright MCP 是 Playwright 浏览器自动化的官方 MCP 服务器,GitHub 3,000+ stars。让 Claude Code 等 AI Agent 完全控制浏览器 — 导航页面、填写表单、点击按钮、截图和端到端测试。适合需要 AI 辅助 Web 测试、抓取或工作流自动化的开发者。
Official Playwright MCP server that gives AI agents full browser control — navigate pages, fill forms, click buttons, take screenshots, and run end-to-end tests. 3,000+ stars.
这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。
将以下配置添加到 .mcp.json:
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@anthropic/mcp-playwright"]
}
}
}Playwright MCP 是 Playwright 浏览器自动化的官方 MCP 服务器,GitHub 3,000+ stars。让 Claude Code 等 AI Agent 完全控制浏览器 — 导航页面、填写表单、点击按钮、截图和端到端测试。适合需要 AI 辅助 Web 测试、抓取或工作流自动化的开发者。
Built on Playwright by Microsoft. Licensed under Apache 2.0.
playwright — ⭐ 70,000+