VOOZH about

URL: https://apify.com/aman_raj/figma-mcp-server

⇱ Figma MCP Server - Extract Design Data with AI Β· Apify


Pricing

from $10.00 / 1,000 figma-file-extracteds

Go to Apify Store

Extract data from Figma designs using AI. Connect your Figma account to analyze files, export assets, extract components and styles, and manage comments programmatically.

Pricing

from $10.00 / 1,000 figma-file-extracteds

Rating

0.0

(0)

Developer

πŸ‘ Aman Raj mourya

Aman Raj mourya

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

6 months ago

Last modified

Share

Connect AI assistants directly to your Figma designs. Extract design data, analyze layouts, and generate production-ready code for Flutter, React, HTML, Tailwind, and SwiftUI.

What is this?

This is an MCP (Model Context Protocol) server that runs on Apify. It allows AI coding assistants like Claude, Cursor, and VS Code Copilot to directly access your Figma designs and generate code from them.

Instead of manually copying design specs, your AI assistant can:

  • Read component dimensions, colors, and typography
  • Understand layout structure (Flexbox/Auto Layout)
  • Extract design tokens for theme files
  • Generate framework-specific code with proper styling

How It Works

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Claude │────▢│ Figma MCP Server │────▢│ Figma API β”‚
β”‚ Cursor │◀────│(on Apify) │◀────│ β”‚
β”‚ VS Code β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”‚
β–Ό
Generated Code
(Flutter/React/HTML)
  1. You connect your AI assistant to this MCP server
  2. Ask: "Generate Flutter code for this Figma component"
  3. The AI reads the design data and generates accurate code

Quick Setup (5 minutes)

Step 1: Get Your Figma Token

  1. Go to figma.com β†’ Log in
  2. Click your profile icon β†’ Settings
  3. Scroll to Personal access tokens
  4. Click Generate new token β†’ Copy it

Step 2: Start the MCP Server

  1. Enter your Figma token in the input below
  2. Click Save & Start (or enable Standby mode)
  3. Your MCP endpoint will be:
    https://YOUR_USERNAME--figma-mcp-server.apify.actor/mcp

Step 3: Connect Your AI Assistant

For Claude Desktop - Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
"mcpServers":{
"figma":{
"url":"https://YOUR_USERNAME--figma-mcp-server.apify.actor/mcp"
}
}
}

For Cursor - Add to MCP settings:

{
"figma":{
"url":"https://YOUR_USERNAME--figma-mcp-server.apify.actor/mcp"
}
}

For any MCP client - Use the Streamable HTTP transport with the endpoint URL above.

What Can You Ask Your AI?

Once connected, try these prompts:

PromptWhat happens
"Get the design specs for figma.com/file/ABC123"Extracts layout, colors, typography
"Generate Flutter code for node 1:234"Creates Flutter widgets from the design
"Extract all colors from this Figma file"Returns color palette with hex codes
"Find all buttons in this design"Searches for nodes named "button"
"Export this icon as SVG"Returns SVG download URL

Available Tools

The MCP server provides these tools to AI assistants:

Design Analysis

ToolDescription
get_file_infoGet file structure, pages, components, and style counts
get_node_detailsGet detailed layout, dimensions, colors, effects for nodes
search_nodesFind nodes by name or type (FRAME, COMPONENT, TEXT)

Code Generation

ToolDescription
get_component_for_codeGet component data with framework hints (Flutter/React/HTML)
extract_design_tokensExtract colors, typography, spacing, corner radius values

Content & Assets

ToolDescription
get_text_contentExtract all text content from designs
export_node_imageExport nodes as PNG, SVG, JPG, or PDF
get_user_infoGet info about the authenticated Figma user

Example: Figma to Flutter

Your prompt:

"Get the component details for node 1:234 in file ABC123xyz and generate Flutter code"

What the AI receives from get_component_for_code:

{
"name":"PrimaryButton",
"type":"COMPONENT",
"dimensions":{"width":200,"height":48},
"layout":{
"mode":"HORIZONTAL",
"primaryAxisAlignItems":"CENTER",
"counterAxisAlignItems":"CENTER",
"paddingLeft":24,
"paddingRight":24
},
"fills":[{"type":"SOLID","color":"#6366F1"}],
"cornerRadius":8,
"children":[{
"type":"TEXT",
"text":{"characters":"Get Started"},
"fills":[{"color":"#FFFFFF"}]
}],
"frameworkHints":{
"suggestedWidget":"Container",
"layoutWidget":"Row",
"mainAxisAlignment":"MainAxisAlignment.center"
}
}

What the AI generates:

Container(
width: 200,
height: 48,
decoration: BoxDecoration(
color: Color(0xFF6366F1),
borderRadius: BorderRadius.circular(8),
),
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
'Get Started',
style: TextStyle(color: Colors.white),
),
],
),
)

Finding File Keys and Node IDs

From a Figma URL like:

https://www.figma.com/design/ABC123xyz/My-Design?node-id=1:234
  • File Key: ABC123xyz (after /design/)
  • Node ID: 1:234 (from node-id= parameter)

Standby Mode (Recommended)

For the best experience, enable Standby mode in Actor settings. This keeps the server running continuously so AI assistants get instant responses.

  1. Go to Actor Settings β†’ Standby
  2. Toggle Enable Standby mode
  3. Set your Figma token as default input
  4. The server stays ready 24/7

Use Cases

  • Design-to-code workflows - Generate Flutter, React, or HTML from Figma
  • Design system documentation - Extract tokens for theme files
  • Component libraries - Convert Figma components to code
  • Responsive layouts - Understand Auto Layout for Flexbox/Row/Column
  • Asset pipelines - Export icons and images programmatically

Pricing

This Actor uses Apify's standard compute pricing. Standby mode is recommended for production use.

Support


Built for developers who want AI to understand their designs.

You might also like

Figma Mcp Server

bhansalisoft/figma-mcp-server

Figma Mcp Server unique tool for integration Figma design into AI Tool for generate Figma Design to Real Html page

Figma Email Scraper - Advanced, Fast & Cheapest

contacts-api/figma-email-scraper-fast-advanced-and-cheapest

🎨 Figma Email Scraper helps you find designer and team emails from Figma profiles and files πŸš€ Perfect for design outreach and hiring πŸ“§

Figma MCP Server

woundless_vehicle/figma-mcp-server

This Actor establishes a secure MCP server connection between AI assistants and Figma designs. It enables natural language control to query info, extract assets, modify elements, and retrieve project metadata via the Figma API.

Figma Email Scraper

scraper-mind/figma-email-scraper-fast

Figma email scraper to extract emails from Figma profiles, design portfolios, and public listings πŸ“§πŸŽ¨ Perfect for designer outreach, hiring, and building targeted creative professional contact lists.

Figma Email Scraper – Advanced, Cheapest & Reliable πŸ“§βš‘πŸ“·

contactminerlabs/figma-email-scraper---advanced-cheapest-reliable

πŸ” Scrape Figma Emails Enter your search parameters to collect verified contact emails from public Figma profiles, along with profile title, bio, source URL & platform info βœ‰οΈπŸ“Š Perfect for lead generation, influencer outreach & data enrichment in tools like Google Sheets or CRMs⚑🧩

πŸ‘ User avatar

ContactMinerLabs

4

Figma file counter

opesicka/figma-count-files

Simple actor that counts the number of files in a given Figma team.

πŸ‘ User avatar

OndΕ™ej PeΕ‘ička

7

Figma Email Scraper Fast Advanced And Cheapest

scraperoka/figma-email-scraper-fast-advanced-and-cheapest

πŸš€ Figma Email Scraper β€” Fast, Advanced & Affordable. Extract emails from Figma profiles quickly with smart automation. Perfect for B2B lead generation, outreach, and recruitment. πŸ“©βš‘ Save time, boost conversions, and stay compliant with efficient scraping.

Scraperoka

2

Figma File Generate

scrapeai/figma-file-generate

Extracts structured data from Figma files including component names, frames, text layers, colors, and design metadata using the Figma API. Perfect for design audits, documentation, or converting design tokens to code.

Related articles

Best MCP servers for developers
Read more
Build and deploy MCP servers in minutes with a TypeScript template
Read more
What is MCP? Insights from the Developers Summit
Read more