AI Skill Hub 强烈推荐:mcp-playwright MCP工具 是一款优质的MCP工具。已获得 5.5k 颗 GitHub Star,AI 综合评分 8.5 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
基于Playwright的MCP服务器,用于自动化浏览器操作和API调用。支持跨浏览器自动化测试、网页爬取、端到端测试等场景。适合开发者、测试工程师和自动化脚本编写者使用。集成度高,TypeScript原生支持。
mcp-playwright MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
基于Playwright的MCP服务器,用于自动化浏览器操作和API调用。支持跨浏览器自动化测试、网页爬取、端到端测试等场景。适合开发者、测试工程师和自动化脚本编写者使用。集成度高,TypeScript原生支持。
mcp-playwright MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/executeautomation/mcp-playwright
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"mcp-playwright-mcp--": {
"command": "npx",
"args": ["-y", "mcp-playwright"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 mcp-playwright MCP工具 执行以下任务... Claude: [自动调用 mcp-playwright MCP工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"mcp-playwright_mcp__": {
"command": "npx",
"args": ["-y", "mcp-playwright"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
You can install the package using either npm, mcp-get, or Smithery:
Using npm:
npm install -g @executeautomation/playwright-mcp-server
Using mcp-get:
npx @michaellatman/mcp-get@latest install @executeautomation/playwright-mcp-server Using Smithery
To install Playwright MCP for Claude Desktop automatically via Smithery:
npx @smithery/cli install @executeautomation/playwright-mcp-server --client claude
Using Claude Code:
claude mcp add --transport stdio playwright npx @executeautomation/playwright-mcp-server
Install the Playwright MCP server in VS Code using one of these buttons:
<img src="https://img.shields.io/badge/VS_Code-VS_Code?style=flat-square&label=Install%20Server&color=0098FF" alt="Install in VS Code"> <img alt="Install in VS Code Insiders" src="https://img.shields.io/badge/VS_Code_Insiders-VS_Code_Insiders?style=flat-square&label=Install%20Server&color=24bfa5">
Alternatively, you can install the Playwright MCP server using the VS Code CLI:
```bash
The Playwright MCP Server automatically installs browser binaries when you first use it. When the server detects that a browser is missing, it will:
No manual setup required! Just start using the server, and it handles browser installation for you.
If you prefer to install browsers manually or encounter any issues with automatic installation:
```bash
npx playwright install
npx playwright install chromium npx playwright install firefox npx playwright install webkit ```
playwright-mcp-server --port 8931 ```
The server will start and display available endpoints:

code --add-mcp '{"name":"playwright","command":"npx","args":["@executeautomation/playwright-mcp-server"]}'
bash
code-insiders --add-mcp '{"name":"playwright","command":"npx","args":["@executeautomation/playwright-mcp-server"]}' ```
After installation, the ExecuteAutomation Playwright MCP server will be available for use with your GitHub Copilot agent in VS Code.
mcp-playwright 是一个基于 Model Context Protocol (MCP) 标准构建的服务端实现,旨在为 AI 助手提供强大的浏览器自动化能力。通过集成 Playwright,该项目允许 Claude 等 AI 模型直接操控浏览器进行网页交互、截图及数据抓取,将 AI 的理解能力与真实的 Web 自动化执行力完美结合。
在最新的 v1.0.10 版本中,我们持续优化了 Playwright MCP Server 的稳定性与功能。该版本增强了与 Claude Desktop 的集成体验,提升了自动化脚本的执行效率,并确保在复杂的 Web 环境下能够提供更精准的上下文反馈,为开发者提供更智能的自动化测试与数据采集能力。
您可以通过多种方式安装此包。推荐使用 npm 进行全局安装:`npm install -g @executeautomation/playwright-mcp-server`;或者使用 mcp-get 工具:`npx @michaellatman/mcp-get@latest install @executeautomation/playwright-mcp-server`。此外,您还可以通过 Smithery 实现 Claude Desktop 的自动化配置,实现一键部署。
在使用 Playwright Server 时,您需要根据实际环境进行相关配置。对于集成到 Claude Desktop 的场景,需在配置文件中正确指定 MCP Server 的路径与运行参数。请确保您的环境允许执行 Node.js 进程,并根据需要配置相关的环境变量以确保浏览器驱动的正常调用。
详细的 API 文档已托管在官方文档网站上。开发者可以通过查阅 [Documentation](https://executeautomation.github.io/mcp-play) 获取关于 MCP 协议接口、可用工具函数以及参数定义的完整说明,以便更好地将 Playwright 的能力集成到您的 AI 工作流中。
如果在安装或运行过程中遇到问题,请参考 FAQ 章节进行排查。常见的故障包括浏览器二进制文件下载失败、权限不足或 MCP 配置路径错误。特别需要注意的是,本项目具备自动安装浏览器功能,初次运行时请留意控制台的安装进度提示。
业界成熟的浏览器自动化方案,MCP集成完善,文档齐全。GitHub高热度证明生产级质量,适合企业级自动化需求。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,mcp-playwright MCP工具 是一款质量优秀的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | mcp-playwright |
| 原始描述 | 开源MCP工具:Playwright Model Context Protocol Server - Tool to automate Browsers and APIs in。⭐5.5k · TypeScript |
| Topics | 浏览器自动化PlaywrightMCP测试框架API自动化 |
| GitHub | https://github.com/executeautomation/mcp-playwright |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-05-14 · 更新时间:2026-05-16 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端