Show HN: Web-eval-agent – 让 Coding Agent 自行调试
Operative-Sh / web-eval-agent Public
一个可以自主评估 Web 应用程序的 MCP 服务器。
License
377 stars 18 forks Branches Tags Activity
Operative-Sh/web-eval-agent
main
文件夹和文件
| 名称 | 名称 | 最后提交消息 | 最后提交日期 | | :------------------------------------------------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------ | :----------- | :----------- | | .cursor/rules | .cursor/rules | | | | webEvalAgent | webEvalAgent | | | | .gitignore | .gitignore | | | | Dockerfile | Dockerfile | | | | LICENSE | LICENSE | | | | README.md | README.md | | | | __init__.py | __init__.py | | | | demo.gif | demo.gif | | | | pyproject.toml | pyproject.toml | | | | requirements.txt | requirements.txt | | | | smithery.yaml | smithery.yaml | | | | uv.lock | uv.lock | | |
查看所有文件
🚀 operative.sh web-eval-agent MCP Server
让 Coding Agent 自行调试,你还有更重要的事情要做。
🔥 增强你的调试能力
operative.sh 的 MCP Server 启动了一个由浏览器驱动的 Agent,可以在你的代码编辑器中直接自主执行和调试 Web 应用。
⚡ 功能
- 🌐 使用 BrowserUse 导航你的 Web 应用 (使用 operative 后端速度提升 2 倍)
- 📊 捕获网络流量 - 请求经过智能过滤并返回到上下文窗口
- 🚨 收集控制台错误 - 捕获日志和错误
- 🤖 自主调试 - Cursor Agent 调用 Web QA Agent MCP Server 来测试它编写的代码是否按预期端到端工作。
🏁 快速开始 (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
- 在获取 API Key (免费) 后,运行安装程序
# 欢迎查看安装脚本,如下所示:
# 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
- 访问你最喜欢的 IDE 并重启以应用更改
- 在聊天模式下发送提示以调用 Web Eval Agent 工具!
🛠️ 手动 Windows 安装 (Cline)
# 1. 在 operative.sh 获取你的 API Key
# 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 释放 Agent (可能需要重启 Cline)
🚨 Issues
- 初始工具调用 Playwright 问题,修复已于 4/14 推送,
npm install -g playwright
Playwright 在工具调用时出现问题。 - 如有任何问题,请随时在此 repo 上打开 Issue!
📋 示例 MCP Server 输出报告
📊 Web Evaluation Report for http://localhost:5173 complete!
📝 Task: 测试API-Key删除流程,方法是导航到 API Key 部分,删除一个 Key,并判断 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.
Built with <3 @ operative.sh
关于
一个可以自主评估 Web 应用程序的 MCP 服务器。
主题
debugging qa mcp debugging-tool playwright mcp-server modelcontextprotocol vibe-coding vibe-testing
资源
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published