
Figma to Flutter MCP Server
Bring Figma design data into your coding agent to implement designs the Flutter way.
Add to your client
Copy the config for your MCP client and paste it into its config file.
npx -y figma-flutter-mcp --figma-api-key=YOUR-API-KEY --stdioPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"figma-to-flutter-mcp-server": {
"command": "npx",
"args": [
"-y",
"figma-flutter-mcp",
"--figma-api-key=YOUR-API-KEY",
"--stdio"
]
}
}
}Step-by-step guides: Add to Claude Desktop · Add to Cursor · Add to Windsurf
Before you start
- Node.js 18+
- A Figma personal access token (free Figma account is enough; no Dev Mode required)
- An MCP-capable AI IDE/agent such as Cursor
- Flutter SDK (to run the generated code)
About Figma to Flutter MCP Server
An MCP server that feeds AI coding agents Figma design data (components, screens, theme colors, typography, assets) and returns Flutter-specific implementation guidance rather than generating code files itself. Built from scratch (not a fork of Figma Context MCP) with a Flutter-first analysis layer that works on unpublished files without a Figma Dev Mode subscription.
Tools & capabilities (10)
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.
list_component_variantsList all variants in a Figma component set to help with variant selection.
analyze_full_screenAnalyze a complete Figma screen/frame to extract layout, sections, navigation, and structure information for Flutter screen implementation.
inspect_screen_structureGet a quick overview of screen structure, sections, and navigation elements.
extract_theme_colorsExtract colors from a Figma theme frame containing color swatches with labels.
inspect_theme_frameInspect the structure of a theme frame to understand its contents before extraction.
extract_theme_typographyExtract typography styles from a Figma theme frame containing text samples with different styles.
inspect_typography_frameInspect the structure of a typography frame to understand its text contents before extraction.
export_flutter_assetsExport images from Figma nodes and set up the Flutter assets directory with pubspec.yaml.
export_svg_flutter_assetsExport SVG assets from Figma nodes. Detects SVG content by vector percentage (nodes with >30% vector content are treated as SVG) and handles nested GROUP/FRAME structures with mixed content.
When to use it
- Set up a Flutter ColorScheme/ThemeData and TextTheme from dedicated Figma theme and typography frames
- Generate reusable Flutter widgets from Figma components, including handling variants via named constructors
- Scaffold a full Flutter screen layout (header, footer, navigation, content areas) from a Figma frame
- Export image and SVG assets from Figma into a Flutter assets/ directory with pubspec.yaml updates
- Speed up MVPs and smaller Flutter tasks by giving the AI agent real design data instead of screenshots
Security notes
Requires a Figma personal access token, passed on the command line via --figma-api-key (or a FIGMA_API_KEY env var for local HTTP testing). Keep the token secret; treat the args/config as sensitive since the key is embedded. Heavy usage can hit Figma rate limits (HTTP 429); the server retries with backoff but does not bypass Figma limits.
Figma to Flutter MCP Server FAQ
Does it generate Flutter code automatically?
No. The server extracts Figma data and provides Flutter-specific guidance; the AI coding agent (e.g. Cursor) writes the actual Flutter code. Better prompts yield better results.
Do I need a paid Figma plan or Dev Mode?
No. A free Figma account with a personal access token is enough. The server reads raw node data via Figma's basic node API, so it works on unpublished files without Dev Mode.
How do I configure it in Cursor?
Open MCP Settings, add a new MCP, and paste the mcpServers config that runs npx -y figma-flutter-mcp --figma-api-key=YOUR-API-KEY --stdio. On Windows wrap it with cmd /c. Replace YOUR-API-KEY with your Figma token.
Why does it sometimes show errors after an update?
If installed as an npm package it can cache an old version; keep it updated to the latest version to avoid errors like tool calls not working or the Figma API key not being recognized.
Why don't my SVG assets export cleanly during screen generation?
In Figma, vectors include icons and pen-tool shapes, so bulk exports may grab unintended nodes. Export SVGs separately by isolating them into their own FRAME or GROUP.
Alternatives to Figma to Flutter MCP Server
Compare all alternatives →Popular community server that feeds Figma layout data to coding agents via a Figma API token.
Generate beautiful, modern UI components from natural-language descriptions inside your IDE.
Give AI assistants full access to shadcn/ui v4 components, blocks, demos, and metadata across React, Svelte, Vue, and React Native.
Compare Figma to Flutter MCP Server with: