
Figma Context MCP AIR
io.github.compassalessandrolorenzPublished by GitHub account compassalessandrolorenzv2.0.2Updated Oct 27, 2026
Figma MCP server for AI agents. 9 tools: design context, variables, screenshots, and FigJam.
The publisher's own server: Figma MCP Server
Overview
Local MCP server that gives AI coding agents access to Figma design data so they can implement designs as code.
- What you can do
- Fetch simplified Figma design data (layout, typography, colors, components) for a file or node
- Download PNG/SVG assets and capture node screenshots to the local filesystem
- Read design tokens, variables and published styles with CSS custom property syntax
- Inspect layer hierarchy as sparse XML and extract FigJam board content
- Generate framework-specific design system rules and verify Figma account authentication
- When to use it
- Useful when you want an AI coding assistant to turn Figma files, frames or components into code in a specific framework, or to pull design tokens and assets into a project.
- Requirements
- Runs locally via npx (Node.js) in stdio mode. Requires a Figma Personal Access Token supplied as FIGMA_API_KEY or the --figma-api-key flag; an OAuth token is an alternative. Network access to the Figma API is needed.
Installation
In SourceWeft
- Open Figma Context MCP AIR in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Figma Context MCP AIR
Give your AI coding agent access to Figma design data.
Implement designs in any framework with pixel-perfect accuracy — in one shot.
[npm version] [npm downloads] [MIT License]
What is this?
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:
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.
Getting Started
You need a Figma Personal Access Token to use this server.
How to create a Figma API access token →
MacOS / Linux
Add this to your MCP client configuration file (e.g. ~/.cursor/mcp.json, claude_desktop_config.json):
Windows
Using Environment Variables
You can also set FIGMA_API_KEY in the env field instead of passing it as a flag:
How it works
- Open your AI coding tool's chat (e.g. agent mode in Cursor).
- Paste a link to a Figma file, frame, or component.
- Ask the AI to implement the design.
- The AI calls
get_design_context(orget_figma_data) to fetch structured design data, then writes your code.
For more advanced workflows, the AI can:
- Call
get_screenshotto visually inspect a node before implementing it - Call
get_variable_defsto extract your design tokens and map them to CSS variables - Call
get_metadatafor a quick layer overview before fetching full data - Call
create_design_system_rulesto generate project-specific coding guidelines
Configuration Options
Tool Reference
get_figma_data / get_design_context
Fetches and simplifies Figma design data for a file or specific node. Returns layout (flexbox/grid), typography, colors, borders, effects, and component metadata in YAML or JSON.
Parameters:
fileKey(required) — The key from your Figma URL:figma.com/design/<fileKey>/...nodeId(optional) — The node ID from the URL:?node-id=<nodeId>. Use format1234:5678.depth(optional) — How many levels deep to traverse. Only use if explicitly needed.
download_figma_images
Downloads PNG or SVG renders of Figma nodes to your local filesystem.
Parameters:
fileKey(required)nodes(required) — Array of{ nodeId, fileName }objectslocalPath(required) — Directory to save imagespngScale(optional) — Scale factor for PNG exports (default: 1)svgOptions(optional) — SVG export options (outline text, include IDs, simplify strokes)
get_screenshot
Captures a Figma node as a 2x PNG and saves it to disk. Useful for visual validation.
Parameters:
fileKey(required)nodeId(required)localPath(optional) — Save directory (default:./screenshots)fileName(optional) — Output filename without extension
get_metadata
Returns a sparse XML representation of the node hierarchy (depth=2). Use this for quick layer discovery before fetching full design context.
Parameters:
fileKey(required)nodeId(required)
get_variable_defs
Fetches all design tokens from a Figma file — variable collections (colors, spacing, typography) and published styles (effects, text styles, fill styles). Returns data with CSS custom property syntax.
Parameters:
fileKey(required)
whoami
Returns the authenticated user's Figma account information (name, email, plan tier). Useful for verifying your API key is working.
Parameters: None
create_design_system_rules
Generates a comprehensive markdown template for project-specific design system rules. Tailored to your language and framework combination. Save the output to CLAUDE.md or your project's AI instructions file.
Parameters:
clientLanguages(required) — e.g."typescript,javascript"clientFrameworks(required) —"react","vue","svelte","angular", or"unknown"
get_figjam
Extracts content from a FigJam board — sticky notes, connectors, shapes, sections — as XML with screenshot URLs.
Parameters:
fileKey(required)nodeId(optional) — Specific section or frame within the FigJam board
Development
Contributing
Contributions are welcome! Please read CONTRIBUTING.md before submitting a pull request.
For major features, open an issue first to discuss the approach.
License
MIT — see LICENSE
Acknowledgements
This project is a fork of GLips/Figma-Context-MCP (the Framelink MCP server), extended with additional tools to match the full official Figma MCP tool surface.
Source: README.md at commit 234a9b1
Tools
0Version history
1- v2.0.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Figma integrations

Figma MCP Server
com.figma.mcpOfficial publisher
Figma's remote MCP server that gives AI coding agents design context from Figma files so they can generate and update code.

Figma Vector MCP
Published by GitHub account workingmodel
Local MCP server plus Figma plugin that lets an assistant create and edit fully editable vector nodes, shapes, text and components on the Figma canvas.

Figma CodeKit MCP
Published by GitHub account Mehmoodqureshi
Converts a Figma frame into HTML, React or Next.js code and pixel-diffs the rendered result against the design until it converges.

figma-mcp
Published by GitHub account Mehmoodqureshi
Converts a Figma frame into deterministic HTML, React or Next.js code, then renders it in Chromium and pixel-diffs it against the design until it matches.

figma-vault
Published by GitHub account NBhey
A local MCP server that lets an assistant read Figma designs pulled once into a vault, offline and without a Figma token or rate limits.