About mhmzdev/Figma-Flutter-MCP
mhmzdev/Figma-Flutter-MCP is an MCP server published by mhmzdev in the Data category: an MCP server that provides the coding agents Figma's design token to write Flutter code. Conduid read 13 tools from its source: analyze_figma_component, analyze_full_screen, export_flutter_assets, export_svg_flutter_assets, extract_theme_colors, extract_theme_typography and 7 more. It is published to npm as figma-flutter-mcp and starts with npx.
The repository has 244 stars and 25 forks, is licensed MIT, and its last commit was on 27 Feb 2026. The latest release is v0.3.3 (20 Sep 2025). It follows v0.3.2 (20 Sep 2025), and the 5 most recent releases go back to v0.2.0 (2 Sep 2025). It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Tests present, Dependencies pinned and Scoped permissions. Its topics include flutter, devtools, figma, design and figma-flutter-mcp.
Install
claude mcp add figma-flutter-mcp -- npx -y figma-flutter-mcp --figma-api-key=YOUR-API-KEY --stdionpx -y figma-flutter-mcp --figma-api-key=YOUR-API-KEY --stdiogit clone https://github.com/mhmzdev/figma-flutter-mcpTools (13)
analyze_figma_componentAnalyze a Figma component or component set to extract layout, styling, and structure information for Flutter widget creation. Use analyze_full_screen for complete screen layouts.| Parameter | Type | Description |
|---|---|---|
| autoOptimize | boolean | Auto-optimize style library during analysis (default: true) |
| exportAssets | boolean | Automatically export image assets found in component (default: true) |
| generateFlutterCode | boolean | Generate full Flutter implementation code (default: false) |
| includeVariants | boolean | Include variant analysis for component sets (default: true) |
| input * | string | Figma component URL or file ID |
| maxChildNodes | number | Maximum child nodes to analyze (default: 10) |
| nodeId | string | Node ID (if providing file ID separately) |
| projectPath | string | Path to Flutter project for asset export (defaults to current directory) |
| resetStyleLibrary | boolean | Reset style library before analysis (default: false) |
| useDeduplication | boolean | Use style deduplication for token efficiency (default: true) |
| userDefinedComponent | boolean | Treat a FRAME as a component (when designer hasn't converted to actual component yet) (default: false) |
| variantSelection | array | Specific variant names to analyze (if >3 variants) |
analyze_full_screenAnalyze a complete Figma screen/frame to extract layout, sections, navigation, and structure information for Flutter screen implementation| Parameter | Type | Description |
|---|---|---|
| deviceTypeDetection | boolean | Detect device type and orientation (default: true) |
| extractAssets | boolean | Extract and export screen assets (default: true) |
| extractNavigation | boolean | Extract navigation elements (default: true) |
| input * | string | Figma screen URL or file ID |
| maxSections | number | Maximum sections to analyze (default: 15) |
| nodeId | string | Node ID (if providing file ID separately) |
| projectPath | string | Path to Flutter project for asset export (defaults to current directory) |
export_flutter_assetsExport images from Figma nodes and set up Flutter assets directory with pubspec.yaml| Parameter | Type | Description |
|---|---|---|
| fileId * | string | Figma file ID |
| format | string | Export format (default: png) |
| includeMultipleResolutions | boolean | Generate @2x, @3x variants for different screen densities (default: false) |
| nodeIds * | array | Array of node IDs to export as images |
| projectPath | string | Path to Flutter project (defaults to current directory) |
| scale | number | Export scale (1x, 2x, 3x, 4x) (default: 2) |
export_svg_flutter_assetsExport SVG assets from Figma nodes. Detects SVG content by analyzing vector percentage - nodes with >30% vector content are considered SVG assets. Handles nested GROUP/FRAME structures with mixed content.| Parameter | Type | Description |
|---|---|---|
| fileId * | string | Figma file ID |
| nodeIds * | array | Array of node IDs to export as SVG assets |
| projectPath | string | Path to Flutter project (defaults to current directory) |
extract_theme_colorsExtract colors from a Figma theme frame containing color swatches with labels| Parameter | Type | Description |
|---|---|---|
| fileId * | string | Figma file ID |
| generateThemeData | boolean | Generate Flutter ThemeData class (defaults to false) |
| nodeId * | string | Theme frame node ID containing color swatches |
| projectPath | string | Path to Flutter project (defaults to current directory) |
extract_theme_typographyExtract typography styles from a Figma theme frame containing text samples with different styles| Parameter | Type | Description |
|---|---|---|
| familyVariableName | string | Name for shared font family variable (defaults to 'fontFamily') |
| fileId * | string | Figma file ID |
| generateTextTheme | boolean | Generate Flutter TextTheme class (defaults to false) |
| nodeId * | string | Theme frame node ID containing text style samples |
| projectPath | string | Path to Flutter project (defaults to current directory) |
generate_flutter_implementationGenerate complete Flutter widget code using cached style definitions| Parameter | Type | Description |
|---|---|---|
| componentNodeId * | string | Node ID of the analyzed component |
| includeStyleDefinitions | boolean | Include style definitions in output (default: true) |
| widgetName | string | Custom widget class name |
inspect_component_structureGet a quick overview of component structure, children, and nested components. Use inspect_screen_structure for full screens.| Parameter | Type | Description |
|---|---|---|
| input * | string | Figma component URL or file ID |
| nodeId | string | Node ID (if providing file ID separately) |
| showAllChildren | boolean | Show all children regardless of limits (default: false) |
| userDefinedComponent | boolean | Treat a FRAME as a component (when designer hasn't converted to actual component yet) (default: false) |
inspect_screen_structureGet a quick overview of screen structure, sections, and navigation elements| Parameter | Type | Description |
|---|---|---|
| input * | string | Figma screen URL or file ID |
| nodeId | string | Node ID (if providing file ID separately) |
| showAllSections | boolean | Show all sections regardless of limits (default: false) |
inspect_theme_frameInspect the structure of a theme frame to understand its contents before extraction| Parameter | Type | Description |
|---|---|---|
| fileId * | string | Figma file ID |
| nodeId * | string | Frame node ID to inspect |
inspect_typography_frameInspect the structure of a typography frame to understand its text contents before extraction| Parameter | Type | Description |
|---|---|---|
| fileId * | string | Figma file ID |
| nodeId * | string | Frame node ID to inspect |
list_component_variantsList all variants in a Figma component set to help with variant selection| Parameter | Type | Description |
|---|---|---|
| input * | string | Figma component set URL or file ID |
| nodeId | string | Node ID (if providing file ID separately) |
style_library_statusGet comprehensive status report of the cached style librarySecurity checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.4K words.
- ✓License declaredThe repository declares the MIT license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- ✓No dynamic code executionScanned 51 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPsrc/server.ts:6, src/server.ts:7
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 2 callssrc/services/figma.ts:35, src/tools/flutter/assets/asset-manager.ts:52
- Writes or deletes files
- No file writes or deletes
- Lockfile
- None in the repository
Pattern matches on the source text of 51 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.4K words, fetched a month ago. The original in the repository is authoritative.
Read full README