article
README
🚀 operative.sh web-eval-agent MCP 服务器
让代码自行修复,你还有更重要的事情要做。

🚀 快速开始
macOS/Linux 系统
- 安装依赖:
- 安装 brew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - 安装 npm:使用
brew install npm - 安装 jq:
brew install jq
- 安装 brew:
- 获取 API 密钥并运行安装程序:在 这里 获取免费 API 密钥,然后执行以下命令:
# 欢迎检查安装脚本内容如下:
# curl -LSf https:// operative.sh/install.sh | less -N
# 下载、安装并删除安装脚本
curl -LSf https:// operative.sh/install.sh -o install.sh && bash install.sh && rm install.sh
- 启动代理:在 Cursor Agent Mode 中启动代理,使用 web_eval_agent(刷新工具或重启 Cursor)。
- 问题排查:如有任何问题,请查看下方问题部分。
Windows 系统(手动安装,适用于 Cline)
# 1. 在 operative.sh 获取你的 API 密钥
# 2. 安装 uv (curl -LsSf https://astral.sh/uv/install.sh | sh)
# 3. uvx --from git+https://github.com/Operative-Sh/web-eval-agent.git playwright install
# 4. 在 Cline 中使用 web_eval_agent 启动代理(可能需要重启 Cline)
✨ 主要特性
operative.sh 的 MCP 服务器通过 LLM(大型语言模型)驱动的代理,能在你的代码编辑器中直接执行和调试 web 应用程序,为你的代码 IDE(如 Cline、Cursor)带来了全新的体验:
- 🌐 导航你的 web 应用:使用 BrowserUse(配合 operative 后端,速度提升 2x)。
- 📊 捕获网络流量:所有请求/响应尽在掌握。
- 🚨 收集控制台错误:让错误无处遁形。
- 🤖 自主调试:Cursor 代理调用 web QA 代理 mcp 服务器,测试代码是否按预期实现端到端功能。
📦 安装指南
macOS/Linux 系统
按照上述“快速开始”中的 macOS/Linux 部分进行操作。
Windows 系统(手动安装,适用于 Cline)
按照上述“快速开始”中的 Windows 部分进行操作。
🚨 注意事项
⚠️ 重要提示
- 工具初次调用 Playwright 可能出现的问题,已修复于 4/14,运行
npm install -g playwright可解决 Playwright 相关问题。- 如有任何问题,请随时在此仓库中提交 Issue!
由衷制作 @ operative.sh
微信扫一扫