Figma Context MCP
Extract code, assets, and component structures from Figma designs to use within AI workflows.
Sunnyside Figma MCP
What if you could talk to your Figma designs and turn them into production code? That's what we built.
What This Does
This tool connects your Figma designs to AI agents, making it possible to extract real code, assets, and design systems just by describing what you want. Think of it as a bridge between design and development that actually works.
We're not trying to replace designers or developers. We're trying to make the handoff between them seamless.
The Vision
Our dream is simple: select any Figma design, describe what you want, and get a complete, production-ready project. No more manual pixel-pushing, no more "this doesn't match the design" conversations.
We're getting close.
Getting Started
You'll need Node.js 18+ and a Figma API key. That's it.
git clone https://github.com/tercumantanumut/sunnysideFigma-Context-MCP
cd sunnysideFigma-Context-MCP
npm install
Create a .env file:
FIGMA_API_KEY=your_figma_api_key_here
Start everything:
npm run start
This starts both the plugin server and MCP integration.
Install the Figma Plugin
- Open Figma Desktop
- Plugins → Development → Import plugin from manifest
- Select
figma-dev-plugin/manifest.json - You're ready
How It Works
- Design in Figma - Just like you always do
- Select and describe - Tell an AI agent what you want: "Turn this button into a React component"
- Get code - Production-ready React, CSS, Tailwind, or Vue components
- Ship it - The code actually works
You can also send Figma links directly to AI agents (use "Copy link to selection" in Figma).
See It In Action
"Build me a login form from this design" → Gets complete React component with form validation, styled-components, and TypeScript types
"Extract all design tokens from this page" → Finds 47 color tokens, 12 spacing values, catches 3 conflicts, suggests naming fixes
"Turn this card into a reusable component" → Generates Vue component with props, variants, and proper responsive breakpoints
"Download all icons as optimized SVGs" → Batch downloads 15 icons, removes unnecessary code, saves 60% file size
"Check if my button styles are consistent" → Scans design system, finds 4 inconsistent button styles, shows exact pixel differences
"Create a complete component library from this design system" → Builds 20+ components with documentation, proper naming, and design token integration
What Makes This Different
- Real code extraction - Not guesswork, actual CSS values from Figma
- Design system aware - Understands your tokens, catches conflicts, suggests fixes
- Asset handling - Downloads SVGs, PNGs, optimizes everything
- Multiple formats - React, Vue, CSS, Tailwind, styled-components
- AI-first - Built for natural language interaction
Current Status
This is actively developed software. Things can break. We're pushing updates frequently because we're excited about where this is going.
What's working great:
- Code generation for React/CSS/Tailwind
- Design token extraction and conflict detection
- Asset downloading and optimization
- Plugin integration with all Figma editor types
What we're fixing:
- SVG/IMG previews in the plugin (they'll freeze Figma if you click them - agents can still download assets fine)
Three Ways to Connect
- Figma Plugin - Real-time extraction while you design
- Dev Mode Bridge - Works with Figma's official dev features
- Direct API - Programmatic access to everything
Pick what works for your workflow.
Documentation
Everything you need is in the docs folder. Start with installation if you want the full setup guide, or examples to see what's possible.
Contributing
We're building this in the open. If you see something that could be better, tell us or submit a PR.
License & Attribution
This builds on concepts from the Framelink MCP project but is substantially different. It's proprietary software by Sunnyside Software with specific licensing terms - see LICENSE for details.
For commercial use, reach out to Umut TAN at [email protected].
Turning Figma designs into real code, one conversation at a time.
Verwandte Server
Scout Monitoring MCP
SponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
SponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers, without authentication.
PromptEasy.EU
The first EU-sovereign, version-controlled prompt library that natively exposes your team’s templates as a managed MCP Server for agentic discovery.
BlueMouse
The "Prefrontal Cortex" for LLMs. A local, data-driven logic gate that interviews AI to prevent hallucinations.
x402engine
50+ pay-per-call APIs for AI agents via HTTP 402 crypto micropayments. $0.001–$0.12 per call with USDC and USDm.
Remote MCP Server Authless
An example of a remote MCP server deployable on Cloudflare Workers without authentication.
Remote MCP Server (Authless)
A template for deploying a remote, auth-less MCP server on Cloudflare Workers.
Dan MCP
An example MCP server deployed on Cloudflare Workers without authentication.
Bloomfilter
Let AI agents search, register, and manage domains via API
MCP Chart Server
Generates TradingView chart visualizations using the Chart-IMG API.
MCP Software Engineer Server
An MCP server that enables an AI to function as a full-stack software engineer with complete development capabilities.
