Figma Mcp By Bao To Generate Design Systems & Tokens In Repos Quickly For Ai Agents
Basic information
About Figma Mcp By Bao To Generate Design Systems & Tokens In Repos Quickly For Ai Agents Server
MCP server to generate design systems, tokens, and provide Figma layout information to AI coding agents like Cursor
Figma Mcp By Bao To Generate Design Systems & Tokens In Repos Quickly For Ai Agents is a MCP server in the Media & Design category listed in the AddMCP.net directory, published by tothienbao6a0. It exposes 11 tools, including get_figma_data, download_figma_images, get_figma_variables, generate_design_tokens and more. Supported transport: stdio. Runtime: node. License: MIT. The repository has 29 GitHub stars. Source code is hosted on github.com. Related topics: ai-agents, design-systems, figma.
Setup
{
"mcpServers": {
"Figma MCP Server by Bao To": {
"command": "npx",
"args": [
"-y",
"@tothienbao6a0/figma-mcp-server",
"--figma-api-key=YOUR-KEY",
"--stdio"
]
}
}
}
{
"mcpServers": {
"Figma MCP Server by Bao To": {
"command": "npx",
"args": [
"-y",
"@tothienbao6a0/figma-mcp-server",
"--figma-api-key=YOUR-KEY",
"--stdio"
]
}
}
}
{
"servers": {
"Figma MCP Server by Bao To": {
"command": "npx",
"args": [
"-y",
"@tothienbao6a0/figma-mcp-server",
"--figma-api-key=YOUR-KEY",
"--stdio"
]
}
}
}
Figma Mcp By Bao To Generate Design Systems & Tokens In Repos Quickly For Ai Agents config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"Figma MCP Server by Bao To": {
"command": "npx",
"args": [
"-y",
"@tothienbao6a0/figma-mcp-server",
"--figma-api-key=YOUR-KEY",
"--stdio"
]
}
}
}
Figma Mcp By Bao To Generate Design Systems & Tokens In Repos Quickly For Ai Agents tools
-
get_figma_data
— When the nodeId cannot be obtained, obtain the layout information about the entire Figma file
fileKey:string*, nodeId:string, depth:number -
download_figma_images
— Download SVG and PNG images used in a Figma file based on the IDs of image or icon nodes
fileKey:string*, nodes:array*, localPath:string* -
get_figma_variables
— Retrieves all variables and variable collections from a Figma file. Variables are different from design tokens - they are Figma's dynamic values system that can store colors, numbers, strings, and booleans with different modes/themes.
fileKey:string*, scope:string, outputFilePath:string -
generate_design_tokens
— Extracts design tokens (colors, typography, spacing, effects) from a Figma file and saves them as a JSON file.
fileKey:string*, outputFilePath:string, includeDeducedVariables:boolean -
generate_design_system_doc
— Generates a comprehensive set of Markdown documents detailing the design system from a Figma file into a specified directory.
fileKey:string*, outputDirectoryPath:string -
compare_design_tokens
— Compare design tokens between two Figma files or token sets to identify changes, additions, and removals.
fileKey1:string*, fileKey2:string*, outputFilePath:string -
validate_design_system
— Validate design tokens against design system best practices and rules.
fileKey:string*, outputFilePath:string -
check_accessibility
— Check design tokens for accessibility compliance issues (contrast, text sizes, etc.).
fileKey:string*, outputFilePath:string -
migrate_tokens
— Convert design tokens to different formats (Tailwind, CSS Variables, Style Dictionary, Figma Tokens).
fileKey:string*, targetFormat:string*, outputFilePath:string* -
check_design_code_sync
— Compare Figma design tokens with code tokens to identify sync issues between design and implementation.
fileKey:string*, codeTokensPath:string*, outputFilePath:string -
analyze_figma_components
— Analyzes Figma components to understand structure, variants, and relationships for intelligent AI-driven code generation. This tool helps AI agents understand component semantics, props, variants, and implementation patterns.
fileKey:string*, outputFilePath:string
Overview
What is Figma Mcp By Bao To Generate Design Systems & Tokens In Repos Quickly For Ai Agents?
Figma Mcp By Bao To is an advanced Model Context Protocol server that extracts design systems, analyzes components, and maintains design-code consistency from Figma files. Built for AI agents like Cursor and Claude, it transforms static Figma designs into comprehensive, accessible design tokens and documentation.
How to use Figma Mcp By Bao To Generate Design Systems & Tokens In Repos Quickly For Ai Agents?
Install the npm package @tothienbao6a0/figma-mcp-server and configure your AI client to use it. Then paste a Figma file link in your IDE’s chat and ask the AI agent to implement the design, generate tokens, or create documentation. The server fetches and simplifies the relevant Figma metadata automatically.
Key features of Figma Mcp By Bao To Generate Design Systems & Tokens In Repos Quickly For Ai Agents
- Component intelligence: variant analysis, smart props, and atomic design classification.
- Design token extraction: colors, typography, spacing, effects in multiple formats.
- Automated WCAG accessibility checks with real contrast calculations.
- Design system documentation generation with component examples.
- Version comparison, validation, and design-code sync checking.
- Multi-format token migration: JSON, CSS, Tailwind, Style Dictionary, Figma Tokens.
Use cases of Figma Mcp By Bao To Generate Design Systems & Tokens In Repos Quickly For Ai Agents
- Implement UI components in an IDE using live Figma design data.
- Generate a complete set of design tokens and export them to your codebase.
- Create living design system documentation directly from a Figma file.
- Compare design token changes between file versions for migration planning.
- Validate design system consistency and accessibility before production.
Frequently asked questions
1 How is this different from other Figma MCP servers?
It is a fork of the original Framelink Figma MCP server, building upon its foundation to offer enhanced capabilities for AI-driven design workflows. It is the only MCP that automatically generates rich, multi‑faceted design system documentation from a Figma link.
2 Do I need a Figma Enterprise plan to use all features?
No. Only the get_figma_variables tool requires a Figma Enterprise plan. Non‑enterprise users can still extract variable‑like structures by calling generate_design_tokens with includeDeducedVariables: true.
3 How does this server improve AI accuracy?
It simplifies and translates responses from the Figma API so that only the most relevant layout and styling information is provided to the AI model. Reducing the amount of context helps make the AI more accurate and responses more relevant.
4 Which AI tools are supported?
The server works with Cursor, Claude, and other AI‑powered coding tools that support the Model Context Protocol (MCP).
5 What export formats are available for design tokens?
Tokens can be exported as JSON, CSS Variables, Tailwind, Style Dictionary, and Figma Tokens.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In