Figma MCP Server
@j4ckp0t85
About Figma MCP Server
experimental gen ai mcp server to generate figma tokens
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"Figma-Context-MCP-tokens": {
"command": "npx",
"args": [
"figma-developer-mcp",
"--figma-api-key=<your-figma-api-key>"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Figma MCP Server?
Figma MCP Server is a Model Context Protocol server that gives AI-powered coding tools like Cursor, Windsurf, and Cline access to Figma design data. It fetches layout and styling information from Figma files and translates it into context that helps AI models write accurate code.
How to use Figma MCP Server?
Run the server quickly with npx figma-developer-mcp --figma-api-key=<your-figma-api-key>. For tools that use a config file (e.g., Windsurf, Cline, Claude Desktop), add a JSON entry specifying the command, arguments, and environment variable FIGMA_API_KEY. Connect the server to Cursor in Cursor’s settings under the features tab, then paste a Figma link into Composer (in agent mode) and ask Cursor to implement the design.
Key features of Figma MCP Server
- Fetches Figma file metadata and node trees
- Extracts detailed CSS properties (colors, typography, shadows, gradients, etc.)
- Generates design tokens in CSS, SCSS, TypeScript, or JSON
- Supports optional CSS property extraction for lightweight responses
- Runs in HTTP/SSE mode or stdio mode
- Works with Cursor, Windsurf, Cline, and other MCP-compatible tools
Use cases of Figma MCP Server
- Implement a UI design from Figma directly in Cursor’s Composer
- Generate design tokens (colors, spacing, typography) from a Figma file
- Translate Figma frames into styled code with accurate CSS values
- Automate design-to-code workflows in AI-powered IDEs
FAQ from Figma MCP Server
What is the Figma MCP Server?
It is an MCP server that connects AI coding tools to Figma’s API, providing design data (layout, styling, tokens) to improve code generation accuracy.
How do I get a Figma API key?
Create a personal access token in your Figma account settings (read-only access is sufficient). Instructions are at the Figma help center.
What tools does the server provide?
Two tools: get_figma_data (fetches node info with optional CSS properties) and generate_design_tokens (exports design tokens in CSS, SCSS, TS, or JSON).
Can I run the server in stdio mode?
Yes, use the --stdio flag. This is required for tools like Windsurf and Cline that use a configuration file.
What export formats are available for design tokens?
CSS variables, SCSS variables/mixins, TypeScript constants, and raw JSON.
More Media & Design MCP servers
Melrōse - programming of music melodies
emickleiinteractive programming of melodies, producing MIDI
Spotify MCP Server
marcelmaraisLightweight MCP server for Spotify
MiniMax MCP JS
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) JavaScript implementation that provides seamless integration with MiniMax's powerful AI capabilities including image generation, video generation, text-to-speech, and voice cloning APIs.
KiCAD MCP: AI-Assisted PCB Design
mixelpixxKiCAD MCP is a Model Context Protocol (MCP) implementation that enables Large Language Models (LLMs) like Claude to directly interact with KiCAD for printed circuit board design.
MiniMax MCP
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Comments