PolarHub
  • Agents
  • MCP Servers
  • Skills
  • PolarBear
PolarHub © 2026
MCP Serversbrowser-automationMCP前端审查工具
返回「browser-automation」

MCP前端审查工具

modelscope·@zueai/frontend-review-mcp

browser-automation0下载LocalModelScope

简介

一种MCP服务器,通过对比编辑前后截图来直观审查UI编辑请求,确保更改满足用户需求。

MCP Server 详情

来自 ModelScope 索引

frontend-review-mcp

一个执行UI编辑请求视觉审查的MCP服务器。请您的代理在编辑前后截取页面截图,然后调用此工具进行审查。

用法

Cursor

  • 要在一个项目中安装,请将MCP服务器添加到你的.cursor/mcp.json文件中:
{
    "mcpServers": {
        "frontend-review": {
            "command": "npx",
            "args": ["frontend-review-mcp HYPERBOLIC_API_KEY=<YOUR_API_KEY>"],

        }
    }
}
  • 若要全局安装,请将此命令添加到您的Cursor设置中:
npx frontend-review-mcp HYPERBOLIC_API_KEY=<your-hyperbolic-api-key>

Windsurf

  • 将MCP服务器添加到你的~/.codeium/windsurf/mcp_config.json文件中:
{
    "mcpServers": {
        "frontend-review": {
            "command": "npx",
            "args": ["frontend-review-mcp HYPERBOLIC_API_KEY=<YOUR_API_KEY>"]
        }
    }
}

工具

目前唯一的工具是reviewEdit。

您的代理将使用以下参数调用此工具:

  • beforeScreenshotPath: 编辑前页面截图的绝对路径。
  • afterScreenshotPath: 编辑后页面截图的绝对路径。
  • editRequest: 用户提出的UI编辑请求的详细描述。

该工具将返回一个响应,其中包含yes或no来指示编辑是否在视觉上满足了编辑请求。如果答案为否,则会提供详细的解释说明为什么编辑不满足请求,以便您可以继续对其进行改进。

审查模型

当前使用的审查模型是来自Hyperbolic的Qwen/Qwen2-VL-72B-Instruct。如果请求失败,它将自动使用这些模型重试:

回退顺序:

  1. Qwen/Qwen2-VL-72B-Instruct
  2. Qwen/Qwen2-VL-7B-Instruct
  3. meta-llama/Llama-3.2-90B-Vision-Instruct
  4. mistralai/Pixtral-12B-2409

如果您想使用不同的模型作为首选模型,可以在命令中添加MODEL参数:

npx frontend-review-mcp HYPERBOLIC_API_KEY=<your-hyperbolic-api-key> MODEL=<your-model>

它将首先尝试指定的模型,如果失败则尝试其他模型。

截图

您可以使用任何MCP服务器来截取屏幕截图。我一直在使用https://github.com/AgentDeskAI/browser-tools-mcp,它有一个takeScreenshot工具以及其他对前端开发有用的工具。

AI指令

您可以在AI的提示中包含以下指令,使其能够截取屏幕截图并审查编辑:

When making frontend edits:

- Before making any changes, call the mcp_takeScreenshot function to save the current state of the page.
- After making your change, call the mcp_takeScreenshot function again to save the new state of the page.
- Screenshots will be saved to /screenshots folder.
- Run this command to get the absolute paths of the 2 most recent screenshots in the /screenshots folder:


find screenshots -type f -name "*.png" -exec stat -f "%m %N" {} \; | sort -nr | head -n 2 | awk '{print $2}' | xargs realpath | awk 'NR==1 {print "before path: ", $0} NR==2 {print "after path: ", $0}'


- Call the mcp_reviewEdit function to have your changes visually reviewed.
- Use the following format for the tool call:

{
  "beforeScreenshotPath": string, // Absolute path to the second-most recent screenshot
  "afterScreenshotPath": string, // Absolute path to the most recent screenshot
  "editRequest": string // Describe the edit request from the user in a couple of sentences
}

- You should summarize my edit request into a couple of sentences so that the frontend reviewer understands the changes you made.

- The tool will either return "yes" if your changes are good, or "no" with a brief explanation if the changes don't satisfy the edit request. Keep editing with the same process until the reviewer returns "yes".

提示

为了获得最佳体验,请确保在Cursor设置中开启YOLO模式并关闭MCP工具保护。

相关 MCP Servers(来自「browser-automation」)

快递100 MCP Server

快递100 MCP Server提供快递信息查询、快递运费预估比价、快递时效查询(含发货前时效查询与在途动态时效查询)等功能。

kuaidi100/kuaidi100-mcp

网页截图

暂无描述。

bingal/webshot-mcp

网页开发MCP

一个提供网页开发工具的MCP服务器,例如屏幕捕捉功能,可以让AI代理获取并处理用户屏幕的截图。

@ZukAi-MCP/webdev-mcp

网页内容提取器

一个从网站提取有意义内容并将HTML转换为高质量Markdown的MCP服务器,使用Mozilla的Readability引擎。

@tolik-unicornrider/mcp_scraper

微软Playwright

一种模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页交互,而无需使用视觉模型或截图。

@microsoft/playwright-mcp

消息通知(MCP&Agent挑战赛)

桌面通知、个性化声音、ntfy 手机应用通知、邮件通知和 API 推送,减少 AI 任务等待焦虑,舒适地享用一杯咖啡。​

gimjin/message_mcp-MCP_Agent_Challenge

自动安装

点击按钮会唤起 PolarBear 客户端,并把当前 MCP Server 的 Markdown 详情文档地址传给客户端。

/api/mcps/zueai-frontend-review-mcp/markdown
打开 PolarBear 安装查看 Markdown 文档

手动安装

在 PolarBear 或其他支持 MCP 的客户端中,新建 MCP Server,并参考下方来源或安装提示配置。

- 若要全局安装,请将此命令添加到您的Cursor设置中: ```bash npx frontend-review-mcp HYPERBOLIC_API_KEY=<your-hyperbolic-api-key>

基本信息

分类
browser-automation / image-and-video-processing
运行方式
No
许可证
Unknown
详情文件
zueai-frontend-review-mcp.md