frontend-review-mcp
An MCP server that performs a visual review of a UI edit request. Ask your agent to screenshot the page before and after the edit, and then call this tool to review the edit.
Usage
Cursor
- To install in a project, add the MCP server to your
.cursor/mcp.json
:
- To install globally, add this command to your Cursor settings:
Windsurf
- Add the MCP server to your
~/.codeium/windsurf/mcp_config.json
file:
Tools
Currently, the only tool is reviewEdit
.
Your Agent will call this tool with the following arguments:
beforeScreenshotPath
: The absolute path to the screenshot of the page before the edit.afterScreenshotPath
: The absolute path to the screenshot of the page after the edit.editRequest
: A detailed description of the UI edit request made by the user.
The tool will return a response with either a yes
or no
response, indicating whether the edit visually satisfies the edit request. If no, it will provide a detailed explanation of why the edit does not satisfy the request so you can continue to work on it.
Review Model
Currently, the review model is Qwen/Qwen2-VL-72B-Instruct
from Hyperbolic. It will automatically retry the request with these models if it fails:
Fallback order:
Qwen/Qwen2-VL-72B-Instruct
Qwen/Qwen2-VL-7B-Instruct
meta-llama/Llama-3.2-90B-Vision-Instruct
mistralai/Pixtral-12B-2409
If you want to use a different model as the first model, you can add the MODEL
arg to the command:
It will try the specified model first, and then try the others if it fails.
Taking Screenshots
You can use any MCP server to take screenshots. I've been using https://github.com/AgentDeskAI/browser-tools-mcp which has a takeScreenshot
tool, among other useful tools for frontend development.
AI Instructions
You can include the following instructions in your AI's prompt to make it take screenshots and review the edit:
Tips
Make sure YOLO mode is on and MCP tools protection is off in your Cursor settings for the best experience.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
編集前と編集後のスクリーンショットを比較して UI 編集要求を視覚的に確認し、変更がユーザーの要求を満たしていることを確認する MCP サーバー。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityTypeScript-based MCP server designed to enhance code editing experiences by providing features such as hover information, code completion, and diagnostics.Last updated -324MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that provides AI vision capabilities for analyzing UI screenshots, offering tools for screen analysis, file operations, and UI/UX report generation.Last updated -261ISC License
- AsecurityFlicenseAqualityAn MCP server that provides web development tools including taking screenshots of screens, enabling AI agents to capture and analyze visual content during development.Last updated -2608
- -securityAlicense-qualityAn MCP tool server that enables generating and editing images through OpenAI's image models, supporting text-to-image generation and advanced image editing (inpainting, outpainting) across various MCP-compatible clients.Last updated -66MIT License