Skip to main content
Glama
refreshdotdev

WebEvalAgent MCP Server

Official

🚀 operative.sh web-eval-agent MCP 服务器

让编码代理自行调试,您有更好的事情要做。

演示

🔥 增强你的调试能力

operative.sh的 MCP 服务器启动一个由浏览器支持的代理,直接在代码编辑器中自主执行和调试 Web 应用程序。

Related MCP server: agnt

⚡ 功能

  • 🌐 使用 BrowserUse浏览你的 Web 应用程序(使用可操作的后端时速度提高 2 倍)

  • 📊捕获网络流量- 请求被智能过滤并返回到上下文窗口

  • 🚨收集控制台错误- 捕获日志和错误

  • 🤖自主调试- Cursor 代理调用 Web QA 代理 mcp 服务器来测试它编写的代码是否按预期端到端工作。

🧰 MCP 工具参考

工具

目的

web_eval_agent

🤖 自动化 UX 评估器,可驱动浏览器、捕获屏幕截图、控制台和网络日志,并返回丰富的 UX 报告。

setup_browser_state

🔒 打开一个交互式(非无头)浏览器,以便您可以登录一次;保存的 cookies/本地存储将被后续的web_eval_agent运行重复使用。

关键论点

  • web_eval_agent

    • url(必需) – 正在运行的应用程序的地址 (例如http://localhost:3000 )

    • task(必需) ——用自然语言描述要测试的内容(“运行注册流程并记录任何用户体验问题”)

    • headless_browser(可选,默认为false ) – 设置为true以隐藏浏览器窗口

  • setup_browser_state

    • url(可选) – 首先打开的页面(方便直接进入登录屏幕)

您可以直接从 IDE 聊天中触发这些工具,例如:

Evaluate my app at http://localhost:3000 – run web_eval_agent with the task "Try the full signup flow and report UX issues".

🏁 快速启动(macOS/Linux)

  1. 先决条件(通常不需要):

  • brew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

  • npm:( brew install npm

  • jq: brew install jq

  1. 获取 API 密钥(免费)后运行安装程序

    • 安装剧作家

    • 安装 uv

    • 将 JSON 插入到您的代码编辑器(Cursor/Cline/Windsurf)中!

curl -LSf https://operative.sh/install.sh -o install.sh && bash install.sh && rm install.sh
  1. 访问您最喜欢的 IDE 并重新启动以应用更改

  2. 在聊天模式下发送提示来调用网络评估代理工具!例如

Test my app on http://localhost:3000. Use web-eval-agent.

🛠️ 手动安装

  1. 在 operative.sh 获取您的 API 密钥

  2. 安装 uv

curl -LsSf https://astral.sh/uv/install.sh | sh)
  1. 安装剧作家:

npm install -g chromium playwright && uvx --with playwright playwright install --with-deps
  1. 使用 API 密钥将以下 JSON 添加到相关代码编辑器

  2. 重新启动代码编辑器

🔃 更新

  • uv cache clean

  • 刷新 MCP 服务器

    "web-eval-agent": {
      "command": "uvx",
      "args": [
        "--refresh-package",
        "webEvalAgent",
        "--from",
        "git+https://github.com/Operative-Sh/web-eval-agent.git",
        "webEvalAgent"
      ],
      "env": {
        "OPERATIVE_API_KEY": "<YOUR_KEY>"
      }
    }

Operative Discord 服务器

🛠️ 手动安装(Mac + Cursor/Cline/Windsurf)

  1. 在 operative.sh 获取您的 API 密钥

  2. 安装 uv

curl -LsSf https://astral.sh/uv/install.sh | sh)
  1. 安装剧作家:

npm install -g chromium playwright && uvx --with playwright playwright install --with-deps
  1. 使用 API 密钥将以下 JSON 添加到相关代码编辑器

  2. 重新启动代码编辑器

手动安装(Windows + Cursor/Cline/Windsurf)

我们正在改进这一点,如果您有任何问题,请提出问题!

  1. 在代码编辑器终端中完成所有这些操作

  2. curl -LSf https://operative.sh/install.sh -o install.sh && bash install.sh && rm install.sh

  3. 在 operative.sh 获取您的 API 密钥

  4. 安装 uv (curl -LsSf https://astral.sh/uv/install.sh | sh)

  5. uvx --from git+https://github.com/Operative-Sh/web-eval-agent.git playwright install

  6. 重启代码编辑器

🚨 问题

  • 代码编辑器未收到更新,请更新或重新安装最新版本:运行uv cache clean获取最新版本

  • 如有任何问题,请随时在此 repo 或 discord 中打开问题!

  • 5/5 - 未更改的静态应用程序无法进行屏幕录制,已修复! uv clean + 重启即可修复

变更日志

  • 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构建

Available Tools

2 tools
setup_browser_stateA

Sets up and saves browser state for future use.

This tool should only be called in one scenario:

  1. The user explicitly requests to set up browser state/authentication

Launches a non-headless browser for user interaction, allows login/authentication, and saves the browser state (cookies, local storage, etc.) to a local file.

Args: url: Optional URL to navigate to upon opening the browser. ctx: The MCP context (used for progress reporting, not directly here).

Returns: list[TextContent]: Confirmation of state saving or error messages.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlNo

TDQS

A4.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes key behaviors: launches a non-headless browser for user interaction, allows login/authentication, saves browser state to a local file, and returns confirmation/error messages. However, it lacks details on permissions needed, file storage location, rate limits, or error conditions. It compensates somewhat but not fully for the annotation gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured and concise: it starts with a clear purpose statement, provides specific usage guidelines, details the tool's behavior, and lists parameters and returns. Each sentence adds value without redundancy. The formatting with sections (Args, Returns) enhances readability without unnecessary length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (involving browser automation and state saving) and lack of annotations or output schema, the description does a good job covering key aspects: purpose, usage, behavior, parameters, and returns. It explains the return type ('list[TextContent]') and what it contains. However, it could improve by detailing error handling or state file management to be fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds meaningful context for the 'url' parameter: 'Optional URL to navigate to upon opening the browser.' This clarifies its purpose beyond the schema's basic title. With 0% schema description coverage and only one parameter, the description adequately compensates. The mention of 'ctx' as an MCP context for progress reporting adds useful semantic insight, though it's not in the input schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Sets up and saves browser state for future use' with specific actions like launching a non-headless browser, allowing login/authentication, and saving state to a file. It distinguishes from the sibling 'web_eval_agent' by focusing on state setup rather than evaluation. However, it doesn't explicitly contrast with the sibling beyond implied different use cases.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit usage guidelines: 'This tool should only be called in one scenario: 1. The user explicitly requests to set up browser state/authentication.' This clearly defines when to use it and implicitly suggests alternatives (e.g., not for general browsing). It offers strong guidance without misleading information.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

web_eval_agentA

Evaluate the user experience / interface of a web application.

This tool allows the AI to assess the quality of user experience and interface design of a web application by performing specific tasks and analyzing the interaction flow.

Before this tool is used, the web application should already be running locally on a port.

Args: url: Required. The localhost URL of the web application to evaluate, including the port number. Example: http://localhost:3000, http://localhost:8080, http://localhost:4200, http://localhost:5173, etc. Try to avoid using the path segments of the URL, and instead use the root URL. task: Required. The specific UX/UI aspect to test (e.g., "test the checkout flow", "evaluate the navigation menu usability", "check form validation feedback") Be as detailed as possible in your task description. It could be anywhere from 2 sentences to 2 paragraphs. headless_browser: Optional. Whether to hide the browser window popup during evaluation. If headless_browser is True, only the operative control center browser will show, and no popup browser will be shown.

Returns: list[list[TextContent, ImageContent]]: A detailed evaluation of the web application's UX/UI, including observations, issues found, and recommendations for improvement and screenshots of the web application during the evaluation

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYes
taskYes
headless_browserNo

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden. It discloses that the tool performs tasks and analyzes interaction flow, uses a browser (with optional headless mode), and returns evaluations with screenshots. However, it lacks details on permissions, rate limits, error handling, or whether it's read-only/destructive. The description doesn't contradict annotations (none exist).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized and front-loaded with the core purpose. Each sentence adds value: purpose, prerequisites, parameter explanations, and return format. Some minor redundancy exists (e.g., repeating 'evaluate' concepts), but overall it's well-structured with zero wasted sentences.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 3 parameters with 0% schema coverage and no output schema, the description does a good job explaining inputs and outputs. It details parameter usage and describes the return format (list of text and image content with observations, issues, recommendations). For a tool with no annotations, it's reasonably complete, though could benefit from more behavioral context like error cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It provides detailed semantics for all 3 parameters: 'url' (required, localhost URL with port examples, avoid path segments), 'task' (required, specific UX/UI aspect with examples and length guidance), and 'headless_browser' (optional, controls browser window visibility). This adds substantial meaning beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Evaluate the user experience / interface of a web application' and 'assess the quality of user experience and interface design'. It specifies the verb ('evaluate', 'assess') and resource ('web application'), but doesn't explicitly differentiate from the sibling tool 'setup_browser_state', which likely has a different function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use this tool: 'Before this tool is used, the web application should already be running locally on a port.' It also gives examples of tasks like 'test the checkout flow' or 'evaluate the navigation menu usability'. However, it doesn't explicitly state when NOT to use it or mention the sibling tool as an alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 2 tool updates
    • First observedsetup_browser_state
    • First observedweb_eval_agent

TDQS

A3.9/5.0
Disambiguation5/5

The two tools have completely distinct purposes with no overlap. setup_browser_state handles browser authentication and state saving, while web_eval_agent performs UX/UI evaluation of web applications. An agent would never confuse these tools as they serve different phases of the workflow.

Naming Consistency5/5

Both tools follow a consistent verb_noun pattern with snake_case naming. setup_browser_state and web_eval_agent use clear action-oriented verbs followed by descriptive nouns, creating a predictable naming convention throughout the server.

Tool Count2/5

With only 2 tools, this server feels severely under-equipped for its apparent purpose of web evaluation. A comprehensive web evaluation system would typically need tools for navigation, interaction simulation, accessibility testing, performance measurement, and result analysis beyond just setup and evaluation.

Completeness2/5

The tool surface is severely incomplete for web evaluation. While setup and evaluation are covered, there are significant gaps: no tools for configuring evaluation parameters, managing browser sessions, analyzing results programmatically, testing specific components, or handling different evaluation methodologies. The server provides only basic endpoints without supporting the full evaluation workflow.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to debug frontend applications by providing direct access to browser DevTools, React state, DOM inspection, and runtime debugging capabilities. Bridges the gap between AI and complex web applications for autonomous debugging and issue resolution.
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Bridges AI coding agents with the browser to provide visual debugging, real-time error capture, screenshot capabilities, DOM inspection, and interactive wireframing through a reverse proxy with injected developer tools.
    58
    19
    Apache 2.0
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to automate and debug real Chromium browsers with capabilities like screenshots, video recording, performance analysis, visual regression testing, and OCR text extraction.
    13
    -

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/refreshdotdev/web-eval-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server