Figma MCP server for AI agents. 9 tools: design context, variables, screenshots, and FigJam.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"Figma MCP AIR": {
"args": [
"-y",
"figma-context-mcp-air",
"--figma-api-key=YOUR-KEY",
"--stdio"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Give your AI coding agent access to Figma design data. Implement designs in any framework with pixel-perfect accuracy — in one shot.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in design / developer-tools
Manage Supabase projects — databases, auth, storage, and edge functions
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
MCP server for using the GitLab API
MCP Security Weekly
Get CVE alerts and security updates for Figma Context MCP AIR and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Give your AI coding agent access to Figma design data.
Implement designs in any framework with pixel-perfect accuracy — in one shot.
figma-context-mcp-air is a Model Context Protocol (MCP) server that gives AI coding tools (Cursor, Claude, Windsurf, etc.) direct access to your Figma design data.
It exposes 9 tools covering the full design-to-code workflow:
| Tool | Description |
|---|---|
get_figma_data | Full design data — layout, text, visuals, components (YAML/JSON) |
get_design_context | Alias for get_figma_data matching the official Figma MCP tool naming |
download_figma_images | Download PNG/SVG assets from Figma nodes to your local filesystem |
get_screenshot | Capture a Figma node as a base64 PNG for visual inspection by the AI |
get_metadata | Sparse XML layer hierarchy for quick node discovery before full extraction |
get_variable_defs | All design tokens — colors, typography, spacing, effects, and styles |
whoami | Verify your Figma authentication and check your plan tier |
create_design_system_rules | Generate framework-specific design system documentation for your project |
get_figjam | Extract FigJam board content (sticky notes, connectors, shapes) as XML |
Before returning data to the AI, the server simplifies and filters the raw Figma API response — keeping only the layout and styling information that matters for code generation. This reduces noise and dramatically improves AI accuracy.
You need a Figma Personal Access Token to use this server.
How to create a Figma API access token →
Add this to your MCP client configuration file (e.g. ~/.cursor/mcp.json, claude_desktop_config.json):
{
"mcpServers": {
"Figma MCP AIR": {
"command": "npx",
"args": ["-y", "figma-context-mcp-air", "--figma-api-key=YOUR-KEY", "--stdio"]
}
}
}
{
"mcpServers": {
"Figma MCP AIR": {
"command": "cmd",
"args": ["/c", "npx", "-y", "figma-context-mcp-air", "--figma-api-key=YOUR-KEY", "--stdio"]
}
}
}
You can also set FIGMA_API_KEY in the env field instead of passing it as a flag:
{
"mcpServers": {
"Figma MCP AIR": {
"command": "npx",
"args": ["-y", "figma-context-mcp-air", "--stdio"],
"env": {
"FIGMA_API_KEY": "YOUR-KEY"
}
}
}
}
get_design_context (or get_figma_data) to fetch structured design data, then writes your code.For more advanced workflows, the AI can:
get_screenshot to visually inspect a node before implementing itget_variable_defs to extract your design tokens and map them to CSS variablesget_metadata for a quick layer overview before fetching full datacreate_design_system_rules to generate project-specific coding guidelines| CLI Flag | Environment Variable | Default | Description |
|---|---|---|---|
--figma-api-key | FIGMA_API_KEY | (required) | Your Figma Personal Access Token |
--figma-oauth-token | FIGMA_OAUTH_TOKEN | — | OAuth Be |