Basic information
About Feuse (Figma Design-to-Code) MCP Server
Automate your figma to code workflow. Convert Figma designs to HTML, extract SVGs, analyze color, and generate CSS with Feuse.
Feuse (Figma Design-to-Code) is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by panzer-jack. It exposes 8 tools, including Figma-To-Code, Download-Figma-Images, similarity-figma, api-automation and more. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 39 GitHub stars. Source code is hosted on github.com. Related topics: community, d2c, developer-tools, figma to code, frontend.
Setup
{
"mcpServers": {
"feuse-mcp": {
"command": "npx",
"args": [
"feuse-mcp@latest"
],
"env": {
"FIGMA_API_KEY": "YOUR_FIGMA_API_KEY"
}
}
}
}
{
"mcpServers": {
"feuse-mcp": {
"command": "npx",
"args": [
"feuse-mcp@latest"
],
"env": {
"FIGMA_API_KEY": "YOUR_FIGMA_API_KEY"
}
}
}
}
{
"servers": {
"feuse-mcp": {
"command": "npx",
"args": [
"feuse-mcp@latest"
],
"env": {
"FIGMA_API_KEY": "YOUR_FIGMA_API_KEY"
}
}
}
}
Feuse (Figma Design-to-Code) MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"feuse-mcp": {
"command": "npx",
"args": [
"feuse-mcp@latest"
],
"env": {
"FIGMA_API_KEY": "YOUR_FIGMA_API_KEY"
}
}
}
}
Feuse (Figma Design-to-Code) MCP Server tools
-
Figma-To-Code
— 基于获取的Figma明确的样式信息 并且在Png图片识别的辅助调整下(主要依据Figma明确的样式信息),并自动根据本地相关配置(如eslint等)来进行对应调整
fileKey:string*, nodeId:string -
Download-Figma-Images
— Download SVG and PNG images used in a Figma file based on the IDs of image or icon nodes
fileKey:string*, localPath:string*, nodes:array* -
similarity-figma
— 获取Figma原型图,请你结合项目源码并通过原型图与生成的代码页面的截图进行相似性比对
fileKey:string*, nodeId:string, url:string* -
api-automation
— 理解后端接口文档自动生成接口类型、地址常量、mock数据、请求函数等
apiDocs:string* -
initialize-project-standard
— 针对用户指定项目进行分析,生成Copilot 和 cursor对应的全局项目规则
(no parameters) -
extract-color-vars
— 从Figma DSL文件中提取颜色变量,并输出在用户指定的文件中(比如unocss、tailwindcss或者自定义标准文件中等)
fileKey:string*, nodeId:string -
extract-svg-assets
— 分析figma SDL中的结构,并调用download-svg-assets工具下载Figma文件中使用的SVG资源
fileKey:string*, nodeId:string -
download-svg-assets
— 根据图像或图标节点的ID,仅下载Figma文件中使用的SVG资源
fileKey:string*, localPath:string*, nodes:array*
Overview
What is Feuse (Figma Design-to-Code)?
Feuse Mcp is a Model Context Protocol server that bridges Figma designs and frontend code, offering tools for design-to-code conversion, API automation, asset management, and project standardization. It is intended for developers and teams looking to streamline the workflow from Figma prototypes to production-ready code.
How to use Feuse (Figma Design-to-Code)?
Feuse Mcp provides a set of tools accessible through the Model Context Protocol, enabling operations like Figma-to-code generation, SVG extraction, color variable conversion, and API documentation parsing. Users integrate these tools into their development environment via MCP configuration, with detailed setup guidance available in the official documentation.
Key features of Feuse (Figma Design-to-Code)
- 🎨 Figma Integration: Seamless Figma design-to-code conversion and automatic asset extraction
- 📝 API Automation: Generate TypeScript interface types, API URL constants, mock data, and request functions
- 🖼️ Asset Management: Download SVG and PNG images from Figma files with organized file structure
- 🎯 Similarity Comparison: Compare generated code pages with original Figma prototypes for accuracy validation
- 🛠️ Project Standards: Generate global specification guidance files for Copilot & Cursor based on project architecture
- 🔧 Color Variables: Extract and convert Figma color variables to CSS/design tokens in UnoCSS, TailwindCSS, or custom standards
Use cases of Feuse (Figma Design-to-Code)
- Convert Figma design layers into frontend code with responsive layout support and local config adaptation
- Automatically extract SVG icons and vector assets from Figma files for reuse in development
- Parse backend API documentation to generate TypeScript types, constants, mock data, and request functions
- Compare final project pages against original Figma prototypes using visual similarity scoring
- Generate Copilot and Cursor global rule files that align the coding assistant with your project's architecture
Frequently asked questions
1 What tools does Feuse Mcp provide?
Feuse Mcp includes eight tools: Figma-To-Code, extract-svg-assets, extract-color-vars, similarity-figma, api-automation, initialize-project-standard, Download-Figma-Images, and download-svg-assets, each serving a specific function from asset extraction to code generation.
2 Does Feuse Mcp support TailwindCSS or UnoCSS?
Yes, the extract-color-vars tool can output color variables in standards such as UnoCSS, TailwindCSS, or custom structures.
3 How does Feuse Mcp integrate with Figma?
Feuse Mcp uses the Figma-Context-MCP library to access Figma file data, enabling design-to-code conversion, SVG/PNG asset extraction, and visual comparison.
4 Where can I find detailed documentation?
The full documentation is available at the Feuse Mcp official site: https://panzer-jack.github.io/feuse-mcp/en.
5 What are the input requirements for the Figma tools?
All Figma-related tools require a fileKey parameter, and some accept an optional nodeId. The api-automation tool requires an apiDocs parameter. No authentication or transport details are specified in the README.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In