DeepChat下配置本地Playwright MCP Server

319 阅读1分钟
  1. mac 已经安装最新版DeepChat
  2. Clone Repository: git clone github.com/executeauto… (我的下载目录为Downlods) 3.Install Dependencies: 在 Downloads/mcp-playwright执行命令npm install
  3. Build Code npm run build npm link
  4. Configure Playwright MCP Server 到DeepChat, 添加MCP Server { "mcpServers": { "playwright": { "command": "npx", "args": [ "--directory", "/Users/xxx/Downloads/mcp-playwright", "run", "@executeautomation/playwright-mcp-server" ] } } }
  5. 启动本地的Playwright MCP Server, 然后在DeepChat 聊天窗口中输入: 使用playwright mcp 打开百度;
  6. 若未打开百度首页,需要安装playwright 的浏览器支持,执行npm install playwright;
  7. 添加浏览器支持: npx playwright install chromium/firefox