Supports the detection and extraction of styling information from components implemented using CSS Modules.
Enables extracting design specifications—including dimensions, spacing, colors, and typography—from Figma URLs to validate implementation compliance.
Allows for the review of component changes across git branches, facilitating structural analysis and visual diffs of modified files.
Provides capabilities to parse React components (TSX/JSX) to extract props, child component trees, and structural metadata for analysis.
Supports the detection and extraction of styling information from components implemented using styled-components.
Enables the detection and extraction of styling information from components utilizing Tailwind CSS utility classes.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Component ReviewCompare src/Button.tsx with the Figma specs and show any visual diffs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Component Review
An MCP (Model Context Protocol) server for reviewing React component changes. Analyzes structural differences, generates visual diffs, and validates implementations against Figma designs.
Features
Structural Analysis: Parse React components (TSX/JSX) and extract props, children, and styles
Style Detection: Support for Tailwind CSS, styled-components, and CSS Modules
Visual Diff: Screenshot components and generate pixel-level diff images
Figma Integration: Extract design specs and validate implementation compliance
Branch Review: Analyze all changed components in a git branch
Installation
Usage
With Claude Desktop
Add to your claude_desktop_config.json:
With Claude Code
Available Tools
analyze_component
Analyze a single React component file.
Output:
Component name and props
Component tree structure
Extracted styles (colors, spacing, typography)
compare_components
Compare two component files and get a structured diff.
Output:
Text content changes
Child component additions/removals
Prop changes
Style changes (colors, spacing, typography)
visual_diff_components
Generate visual diff screenshots.
Output:
Screenshots of old and new components
Diff image highlighting changes
Combined side-by-side view
get_figma_specs
Extract design specifications from Figma.
Output:
Dimensions (width, height)
Spacing (padding, margin, gap)
Colors (background, text, border)
Typography (font-size, font-weight, line-height)
Border (radius, width)
validate_design_implementation
Compare Figma specs with implementation.
Output:
review_branch
Review all changed components in a git branch.
Output:
Summary of all changed components
Structural analysis for each component
Visual diffs for modified components
Figma validation scores
Getting a Figma Token
Go to Figma → Settings → Account
Scroll to "Personal access tokens"
Click "Create new token"
Copy the token (starts with
figd_)
Example Workflow
Design Review Automation
PR Review Automation
Development
License
MIT
Contributing
Contributions are welcome! Please read the contributing guidelines before submitting a PR.