Figma Flutter

Design and media

An MCP server that provides the coding agents Figma's design token to write Flutter code.

Your AI app calls the Figma Flutter MCP server, which does the design and media work and sends the result back to the chat.

About Figma Flutter

Figma Flutter is a community MCP server from mhmzdev, filed in our directory under design and media. An MCP server that provides the coding agents Figma's design token to write Flutter code.

At a glance

Publisher
mhmzdev (community)
Runs
See the README for setup
Written in
TypeScript
License
MIT
GitHub stars
244

How to set up Figma Flutter

  1. Follow the install steps in the Figma Flutter README; it is written in TypeScript, so have that toolchain ready.
  2. Check the Figma Flutter README for keys or settings; the registry lists none that Figma Flutter requires.
  3. Add Figma Flutter to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Figma Flutter tools to confirm the connection.
  5. Run one read-only task with Figma Flutter first, and keep your app asking before each tool call until the results look right.

Figma Flutter compared with similar servers

  • ITASCA by yusong652 has fewer GitHub stars than Figma Flutter (243 against 244); both are community servers, and both run locally.
  • Antd Components by zhixiaoqiang has more GitHub stars than Figma Flutter (247 against 244); both are community servers, and both run locally.
  • Altium by coffeenmusic has fewer GitHub stars than Figma Flutter (242 against 244); both are community servers, and both run locally.

Before you connect Figma Flutter

  • Give Figma Flutter its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Figma Flutter tool call until you trust what it does with them.
  • Treat text that Figma Flutter fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Figma Flutter on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Figma Flutter

How marketing and sales teams put Figma Flutter to work, by company size. Pick the size closest to yours and start Figma Flutter on one use case.

Small business

  • A small business can use Figma Flutter to resize and adapt one design for every channel instead of hiring for each version.
  • Owners can ask Figma Flutter to pull brand assets and make quick ad and social variations that still look on brand.
  • Figma Flutter runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Creative teams can connect Figma Flutter so agents produce variants for testing while designers keep control of the master files.
  • Marketing teams can use Figma Flutter to hand off designs to web and ads with specs attached, cutting review rounds.
  • Start Figma Flutter on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can use Figma Flutter with brand rules and approved assets only, so generated work stays inside the brand system.
  • Large creative ops teams can use Figma Flutter to localize and version assets for many markets with review built in.
  • Figma Flutter is a community server, so have security review the code and pin a version before Figma Flutter touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Figma Flutter README

From mhmzdev/figma-flutter-mcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Figma to Flutter MCP Server

🌐 Available in: 한국어 (Korean) | 日本語 (Japanese) | 简体中文 (Simplified Chinese) | 繁體中文 (Traditional Chinese)

Utilize Figma's rich data in your coding agent.
Implement designs in Flutter way!


Use Cursor or other AI-powered tools to access Figma's rich files, data, components and much more using MCP server.

📋 Table of Contents

  • 🦋 Observable Flutter #70
  • 🎥 Short Video Demo
  • 📝 Getting Started
  • 📚 How it works
  • 🛠️ Usage
    • 🔑 Figma API Key
    • 🏹 MCP in Cursor
    • 🚀 Quick Start for Local Testing
  • 🧱 Basic Workflow
    • 🤖 AI Coding Agent Assistance
    • ⚠️ If SVG assets don’t work with screen generation
  • ⚠️ Disclaimers
  • 🙌🏼 Acknowledgments
  • 🧱 Other framworks
  • 🔑 License
  • 🙋‍♂️ Author
    • Muhammad Hamza

🦋 Observable Flutter #70

Featured on Observable Flutter with enhanced explanation and demo:

🎥 Short Video Demo

Showcased almost all the features of Figma Flutter MCP with real figma design.

📝 Getting Started

You may explore the detailed getting started docs or the demo video as quick-start. As its a First Release hence there's a lot of room for improvements so you can checkout the issues to see what else there's to work or to improve.

📚 How it works | Details Here

  1. Components/Widgets
  • ✅ Extract Figma node data: Layout, styling, dimensions, colors, text content, etc.
  • ✅ Analyze structure: Child elements, nested components, visual importance
  • ✅ Provide guidance: Suggest Flutter widgets and implementation patterns
  • ❌ NOT generating actual Flutter code files
  1. Screens
  • ✅ Extract screen metadata: Device type, orientation, dimensions
  • ✅ Identify sections: Header, footer, navigation, content areas
  • ✅ Analyze navigation: Tab bars, app bars, drawers, navigation elements
  • ✅ Provide Scaffold guidance: Suggest Flutter screen structure
  • ❌ NOT generating actual Flutter screen

Since its just helping AI write Flutter code so it means the better your prompt will be the better results you'll get.

🛠️ Usage

Following steps shows a minimal usage and setup instructions:

🔑 Figma API Key

You will need to create a Figma access token to use this server. Instructions on how to create a Figma API access token can be found help.figma.com/hc/en-us/articles.

🏹 MCP in Cursor

Once you've the FIGMA API KEY, you can setup the MCP in cursor as follows:

  1. Press CMD + Shift + P (Ctrl on Windows)
  2. Type "Open MCP Settings"
  3. Click on "Add new MCP"
  4. Paste the below json object
MacOS/Linux
{
  "mcpServers": {
    "Figma Flutter MCP": {
      "command": "npx",
      "args": ["-y", "figma-flutter-mcp", "--figma-api-key=YOUR-API-KEY", "--stdio"]
    }
  }
}
Windows
{
  "mcpServers": {
    "Figma Flutter MCP": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "figma-flutter-mcp", "--figma-api-key=YOUR-API-KEY", "--stdio"]
    }
  }
}

NOTE: If you've installed this MCP as npm package make sure to keep it updated to latest version. Sometimes, it caches the old version and keep showing you error like "Not being able to use tool call" or "Figma API key setup is not working" etc.

🚀 Quick Start for Local Testing
Prerequisites
  • Node.js 18+
  • Figma API Key (Access Token)
  • Cursor AI IDE with MCP support
  • Flutter SDK

For quick local testing, you can run the server via HTTP instead of stdio:

# Clone and setup
git clone <your-repo-url> figma-flutter-mcp
cd figma-flutter-mcp
npm install

# Create .env file with your Figma API key
echo "FIGMA_API_KEY=your-figma-api-key-here" > .env

# Start HTTP server for local testing
npm run dev

Then add this to your MCP client configuration:

{
  "mcpServers": {
    "local-figma-flutter": {
      "url": "http://localhost:3333/mcp"
    }
  }
}

See CONTRIBUTING.md for detailed instructions.

🧱 Basic Workflow

🤖 AI Coding Agent Assistance

For better results you can setup some instructions in following files as per your AI Coding Agent:

  • Cursor: .cursor/rules/fluttering.mdc
  • Claude: CLAUDE.md
  • Gemini CLI: GEMINI.md

This way your AI agent will use the MCP's output and ensure the flutter code is as per your project requirements and structure. You can checkout an example of cursor rules that I used for testing this out.

  1. Setup Theme & Typography: The most efficient way, put two frames in Figma with Theme colors and Typography samples on it. For instance:
  • Figma Desktop: Select the frame and press CMD + L or Ctrl + L
  • Figma Web: Select the frame and copy the URL

💡 HINT: The valid URL will contain a FILE ID and NODE ID params

"Setup flutter theme from <figma_link> including Colors and Typography.
  1. Widget Generation: The most efficient way, use COMPONENTS in figma. For example:

This one has 2 variants with enabled and disabled states.

"Create this widget in flutter from figma COMPONENT link: <figma_link>, use named constructors for variants and break the files in smaller parts for code readability."

If you do not have COMPONENTS in figma, you can use FRAME just prompt the AI that you want this to be a widget and it will handle the rest.

  1. Full Screen Generation: If there are any IMAGE ASSETS (.png, .jpeg, .jpg etc.) available, it will export them and put them in assets/ along with pubspec.yaml
"Design this intro screen from the figma link <figma_link>, ensure the code is readable by having smaller files."
  1. Assets Export:
  • Image Assets: Will work automatically when generating screens
"Export this image asset from figma link: <figma_link>
  • SVG Assets: Will NOT work automatically if they are scrambled or are ungrouped, explained below.
"Export this as an SVG asset from Figma link: <figma_link>"
⚠️ If SVG assets don’t work with screen generation
  • In Figma vectors include icons and pen-tool shapes, so bulk exports may grab unintended nodes;
    • Recommend exporting SVGs separately i.e. to take them out an an independent FRAME or GROUP
    • Here's how the separation of SVGs looks like:

  • Here's an example of identifying a GOOD vs BAD svg while exporting them:

⚠️ Disclaimers

  • Use Case: At this stage, its highly recommend to NOT use it to develop scalable apps rather try and play it with MVPs, smaller and explanatory tasks.
  • Figma Design: Since we're using Figma's API to fetch the node and its details, so the better design you have the more better it will interpret for the AI to consume i.e. auto layouts, frame usage over group usage, consistently aligned across the board.
  • Rate limiting: Heavy usage may trigger Figma rate limits (e.g., HTTP 429). The server includes retry with backoff, but it does not bypass Figma limits. If you encounter rate limits, wait a few minutes and reduce the request volume.

🙌🏼 Acknowledgments

I came across Figma Context MCP by Graham Lipsman that sparks this motivation for me to develop Figma to Flutter explicitly having features like:

  • Assets exports
  • Colors and Theme setups
  • Widget tree and full screen building

Others coming soon...

🧱 Other framworks

If you want to develop this for React, Angular, React Native, Vue or any other framework. I've added a detailed doc Figma Framework MCP that you can explore and get started. Meanwhile I'll maintain a list here if someone's already doing this for framework specific Figma's MCP servers.

  • ...
  • ...

🔑 License

This project is licensed under the MIT License - see the LICENSE file for details

🙋‍♂️ Author

Muhammad Hamza

You can also follow my GitHub Profile to stay updated about my latest projects:

If you liked the repo then kindly support it by giving it a star ⭐!

Copyright (c) 2025 MUHAMMAD HAMZA

Built with ❤️ for designers and developers who want to bridge the gap between design and code.

Questions about Figma Flutter

What is the Figma Flutter MCP server?

An MCP server that provides the coding agents Figma's design token to write Flutter code. Figma Flutter is maintained by mhmzdev on GitHub at mhmzdev/figma-flutter-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Figma Flutter MCP server?

Figma Flutter doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (mhmzdev/figma-flutter-mcp). Like most servers, Figma Flutter ends with a command or URL you paste into your AI app's MCP config.

Does Figma Flutter need an API key?

The registry lists no required keys for Figma Flutter. Check the Figma Flutter README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Figma Flutter an official MCP server?

No. Figma Flutter is a community server maintained by mhmzdev. Community servers can be excellent; read the code and the open issues before you give Figma Flutter access to company data.

What license is Figma Flutter under?

Figma Flutter is released under the MIT license, according to its GitHub repository. The license covers the code of Figma Flutter; the service it connects to has its own terms.