Provides CSS Modules integration for component styling as an alternative or complement to Tailwind CSS.
Enables bidirectional synchronization between development environments and Figma for design system management, including extraction of design tokens, components, icons and images from Figma, and synchronization of React components back to Figma.
Generates React components with TypeScript based on design system specifications, including support for variants, interactive states, and automatic documentation.
Automatically generates Storybook stories for React components to showcase variants and interactive states.
Supports styling of generated components with Tailwind CSS, including analysis and mapping of styles for bidirectional synchronization with design tools.
Creates React Testing Library tests for generated components to ensure proper functionality.
Generates TypeScript definitions and typed components, ensuring type safety across the design system.
MCP Design System Bridge
A Model Context Protocol (MCP) for bidirectional synchronization between IDE and Figma for Design System management.
Features
1. React Component Generation
- Generate React components with TypeScript
- Support for variants using class-variance-authority
- Interactive states (hover, focus, disabled, loading)
- Forwarded refs for composition
- Styled with Tailwind CSS + CSS Modules
- Complete JSDoc documentation
- Automatic Storybook stories
- React Testing Library tests
- Barrel exports
2. Figma Component Generation
- Create component frames
- Apply design tokens
- Generate variants automatically
- Create responsive auto-layout
- Integrated documentation
3. Figma → IDE Extraction
- Design tokens (colors, typography, shadows, spacing, borders)
- Icons (optimized SVG, multiple formats)
- Images (PNG, JPG, WebP with optimization)
- Components (structure, props, variants)
4. IDE → Figma Synchronization
- React component analysis
- Props and variants extraction
- Tailwind/CSS style analysis
- Interactive state detection
- Design token mapping
5. Bidirectional Synchronization
- Automatic change detection
- Confirmation prompts
- Visual diff
- Sync history
- Rollback capability
Installation
Configuration
Create a .mcp-config.json
file in your project root:
Usage
Generate React Component
Extract from Figma
Sync to Figma
Sync from Figma
Project Structure
Development
Prerequisites
- Node.js 18+
- npm 8+
- Figma account with access token
- React 18+ project
Setup
- Clone the repository
- Install dependencies:
- Create
.mcp-config.json
with your Figma credentials - Start development:
Testing
Building
Contributing
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
License
MIT
Support
For support, please open an issue in the GitHub repository.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables bidirectional synchronization between IDEs and Figma for Design System management, allowing developers to generate React components and synchronize design tokens, icons, and components across platforms.
Related MCP Servers
- AsecurityFlicenseAqualityEnables seamless interaction with Figma via the Model Context Protocol, allowing LLM applications to access, manipulate, and track Figma files, components, and variables.Last updated -2106TypeScript
- -securityFlicense-qualityConverts Figma designs to React Native components, allowing users to extract components from Figma designs and generate corresponding React Native components with proper typing and styling.Last updated -1111TypeScript
- -securityFlicense-qualityA bridge between Figma designs and React implementations that enables pixel-perfect conversion of Figma designs into React applications by processing Figma file data into React-friendly format.Last updated -1,2841TypeScript
- -securityAlicense-qualityA Model Context Protocol server that integrates Figma design files with AI coding tools like Cursor, Windsurf, and Cline, allowing AI tools to access and understand Figma design data for generating more accurate code.Last updated -1246TypeScriptMIT License