figma-mcp-server
Provides tools to interact with Figma designs, including extracting design context, variables, screenshots, metadata, and more, enabling design-to-code workflows.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@figma-mcp-serverGenerate React code from my Figma design"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Figma MCP Server
FastAPI-based MCP server that exposes Figma design tools for Claude Desktop. Convert designs to code, extract variables, get screenshots, and more.
Features
šØ 7 Figma tools (screenshots, design context, variables, metadata, etc.)
š Automatic rate limit handling with retry logic
š Ready for Render, Railway, or Fly.io deployment
š” Server-Sent Events (SSE) for Claude Desktop
š§ CORS support for browser clients
Related MCP server: Claude Talk to Figma MCP
Connect with Claude Desktop
Edit claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"figma": {
"url": "https://your-app.onrender.com/figma/sse",
"type": "sse"
}
}
}Restart Claude Desktop and test:
List available Figma MCP toolsLocal Development
# Setup
python3 -m venv mcp-venv
source mcp-venv/bin/activate
pip install -r requirements.txt
# Configure
echo 'FIGMA_ACCESS_TOKEN=your-token-here' > .env
# Run
uvicorn main:app --reload --port 8002Server: http://localhost:8002
API Routes
GET / # Server info
GET /health # Health check
POST /figma/messages # MCP protocol
GET /figma/sse # Server-Sent Events
POST /save-code # Save generated codeAvailable Tools
get_screenshot- Export designs as imagesget_design_context- Extract UI context for code generationget_metadata- Get node metadataget_variable_defs- Access design variablesget_figjam- Process FigJam boardsget_code_connect_map- Map components to codewhoami- Verify authentication
Usage with Claude
Ask Claude to use your Figma designs:
Generate React code from this Figma file:
https://www.figma.com/file/ABC123/My-DesignClaude will use the MCP server to fetch design data and generate code.
Rate Limits
Figma API limits: ~25-50 requests/min (free tier)
The server handles this automatically:
Detects 429 errors
Retries with exponential backoff (2s ā 4s ā 8s)
Respects
Retry-Afterheaders
Deployment Options
Render (Recommended)
Free tier: 750 hours/month
Auto-deploy from Git
Built-in HTTPS
Config:
render.yamlā
Railway
Usage-based pricing (~$5/month)
Fast deployments
Config:
railway.jsonā
Fly.io
Global edge deployment
Free tier available
Config:
Dockerfileā
Tech Stack
FastAPI - Web framework
httpx - Async HTTP
Pydantic - Data validation
Uvicorn - ASGI server
Troubleshooting
429 Rate Limit Errors:
Wait 60 seconds between requests
Server auto-retries with backoff
Claude Connection Failed:
Verify URL ends with
/figma/sseCheck server is running
Restart Claude Desktop
Invalid API Key:
Get new token: https://www.figma.com/developers/api#access-tokens
Update environment variable
Redeploy
Project Structure
figma-mcp-server/
āāā main.py # FastAPI MCP server (all-in-one)
āāā requirements.txt # Python dependencies
āāā .env # Environment variables (not in git)
āāā .gitignore # Git ignore rules
āāā Dockerfile # Docker deployment config
āāā render.yaml # Render deployment configWhy single-file?
Simpler deployment (one file to read)
Easier for LLMs to understand context
Common pattern for MCP servers
FastAPI works great in monolithic style for small services
Links
Built for design-to-code workflows with Nattu š
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityCmaintenanceEnables Claude Desktop and other AI tools to interact directly with Figma, allowing for powerful AI-assisted design capabilities through natural language commands.Last updated92439641MIT
- Alicense-qualityDmaintenanceEnables AI assistants like Claude Desktop to interact directly with Figma, allowing natural language commands to create, modify, and analyze designs including shapes, text, components, and layouts in real-time.Last updatedMIT
- Alicense-qualityDmaintenanceEnables AI assistants to interact with Figma designs using natural language commands, supporting file analysis, component extraction, asset export, comment management, and design system queries through the Figma API.Last updated1,8831ISC
- Alicense-qualityBmaintenanceEnables Claude to read and manipulate Figma documents in real-time through 62 operations including creating shapes, modifying styles, managing components, and exporting assets via a WebSocket bridge to a Figma plugin.Last updated6266MIT
Related MCP Connectors
Connect Claude to Fathom meeting recordings, transcripts, and summaries
Connect AI coding agents to Anima Playground, Figma, and your design system.
Sync Lightroom, Figma, Dropbox & Canva assets to WordPress and Shopify via natural language.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/GSNadarajan/figma-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server