home / mcp / mcp component review server
Provides automated analysis, visual diffs, and Figma-based validation for React components.
Configuration
View docs{
"mcpServers": {
"igorvieira-mcp-component-review": {
"command": "node",
"args": [
"/path/to/mcp-component-review/dist/index.js"
]
}
}
}You can run the MCP Component Review server locally and expose its capabilities to your client or automation tool. This server analyzes React components, performs visual diffs, integrates with design specs from Figma, and helps you review changes across branches or files. It is designed to be invoked by an MCP client that points to the server executable, enabling automated design and implementation reviews.
You will run the MCP server locally and connect to it from your MCP client. The server exposes a set of endpoints and tools that let you analyze a single component, compare two components, generate visual diffs, extract Figma specs, validate designs against implementations, review all changes on a branch, and produce auto-fix instructions when needed.
Prerequisites: you need Node.js and npm installed on your system.
Step 1: Clone the repository containing the MCP Component Review server.
Step 2: Change into the project directory.
Step 3: Install dependencies.
Step 4: Build the project.
Step 5: Run the server so it can be connected to by your MCP client.
Use this local runtime to expose the MCP Component Review server to your client or automation tool. The following configuration shows how to register the server as a local, stdio-based MCP server.
{
"mcpServers": {
"component-review": {
"command": "node",
"args": ["/path/to/mcp-component-review/dist/index.js"]
}
}
}If you are using Claude as your MCP client, you can add the server configuration to Claude’s setup. For Claude Desktop, include the server as a new MCP entry with the node runtime and the path to the built index file. For Claude Code, use the appropriate command to register the server so your agent can invoke its tools.
Design review workflow: connect to the server, then request analysis of a component, followed by a visual diff if changes are detected, and finally validate the implementation against Figma specs.
Analyze a single React component file to extract component name, props, tree structure, and extracted styles.
Compare two component files and produce a structured diff including text changes, added/removed children, prop changes, and style updates.
Generate visual diff screenshots, including old vs new component images and a diff overlay.
Extract design specifications from a Figma file, including dimensions, spacing, colors, typography, and borders.
Compare Figma specs with an implementation to report alignment and deviations.
Review all changed components in a git branch and produce summaries, diffs, and Figma validation scores.
Validate a component against design specs and provide auto-fix instructions with exact Tailwind/CSS changes if needed.