🚀 operative.sh web-eval-agent MCP 服务器
让编码代理自行调试,您有更好的事情要做。
🔥 增强你的调试能力
operative.sh的 MCP 服务器启动一个由浏览器支持的代理,直接在代码编辑器中自主执行和调试 Web 应用程序。
⚡ 功能
- 🌐 使用 BrowserUse浏览你的 web 应用(使用可操作的后端时速度提高 2 倍)
- 📊捕获网络流量- 请求被智能过滤并返回到上下文窗口
- 🚨收集控制台错误- 捕获日志和错误
- 🤖自主调试- Cursor 代理调用 Web QA 代理 mcp 服务器来测试它编写的代码是否按预期端到端工作。
🏁 快速启动(macOS/Linux)
- 先决条件:brew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"``brew install npm
),jq: brew install jq
- 获取 API 密钥(免费)后运行安装程序
# Feel welcome to inspect the installer script like so:
# curl -LSf https://operative.sh/install.sh | less -N
# Download, install, and remove the installer script
curl -LSf https://operative.sh/install.sh -o install.sh && bash install.sh && rm install.sh
- 访问您最喜欢的 IDE 并重新启动以应用更改
- 以聊天模式发送提示来调用网络评估代理工具!
🛠️ 手动 Windows 安装(Cline)
# 1. Get your API key at operative.sh
# 2. Install 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. Unleash the agent in Cline with web_eval_agent (may have to restart Cline)
🔃 更新
🚨 问题
- 初始工具调用 Playwright 问题,修复推送至 4/14,
npm install -g playwright
playwright 工具调用问题。 - 如有任何问题,请随时在此 repo 上打开问题!
变更日志
- 4/29 - 代理覆盖更新 - 暂停/播放/停止浏览器中的代理运行
📋 MCP 服务器输出报告示例
📊 Web Evaluation Report for http://localhost:5173 complete!
📝 Task: Test the API-key deletion flow by navigating to the API Keys section, deleting a key, and judging the UX.
🔍 Agent Steps
📍 1. Navigate → http://localhost:5173
📍 2. Click “Login” (button index 2)
📍 3. Click “API Keys” (button index 4)
📍 4. Click “Create Key” (button index 9)
📍 5. Type “Test API Key” (input index 2)
📍 6. Click “Done” (button index 3)
📍 7. Click “Delete” (button index 10)
📍 8. Click “Delete” (confirm index 3)
🏁 Flow tested successfully – UX felt smooth and intuitive.
🖥️ Console Logs (10)
1. [debug] [vite] connecting…
2. [debug] [vite] connected.
3. [info] Download the React DevTools …
…
🌐 Network Requests (10)
1. GET /src/pages/SleepingMasks.tsx 304
2. GET /src/pages/MCPRegistryRegistry.tsx 304
…
⏱️ Chronological Timeline
01:16:23.293 🖥️ Console [debug] [vite] connecting…
01:16:23.303 🖥️ Console [debug] [vite] connected.
01:16:23.312 ➡️ GET /src/pages/SleepingMasks.tsx
01:16:23.318 ⬅️ 304 /src/pages/SleepingMasks.tsx
…
01:17:45.038 🤖 🏁 Flow finished – deletion verified
01:17:47.038 🤖 📋 Conclusion repeated above
👁️ See the “Operative Control Center” dashboard for live logs.
星史
使用< 3@operative.sh构建