Step-by-step installation guide
安装过程可分为三个关键阶段:
- environmental preparation::
- 安装Node.js(v16+)
- 确保Git可用(用于代码克隆)
- 下载Claude Desktop客户端
- Project deployment:通过npm全局安装核心组件:
npm install -g @executeautomation/playwright-mcp-server
- Client Configuration::
- 定位Claude配置文档(claude-desktop-config.json)
- 添加MCP服务器配置段,指定启动命令为npx playwright-mcp-server
- 重启客户端后可见”Attach from MCP”功能按钮
注意:使用Smithery工具链可一键式安装(npx @smithery/cli install),适合初学者。
This answer comes from the articleMCP Playwright: an MCP service that provides browser automation operationsThe