MCP Figma to React Converter
@StudentOfJS
关于 MCP Figma to React Converter
MCP server for converting Figma designs to React components
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-figma-to-react": {
"command": "node",
"args": [
"dist/index.js",
"--transport=stdio"
],
"env": {
"FIGMA_API_TOKEN": "your_token_here"
}
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Figma to React Converter?
MCP Figma to React Converter is a Model Context Protocol (MCP) server that fetches Figma designs and generates React components with TypeScript and Tailwind CSS. It provides tools for extracting components from Figma files and converting them into accessible, styled React code, and supports both stdio and SSE transports for local or HTTP use.
How to use MCP Figma to React Converter?
Set the FIGMA_API_TOKEN environment variable to your Figma personal access token. Run the server locally with npm start or with explicit transport (e.g., node dist/index.js --transport=stdio for stdio or --transport=sse for HTTP). Use the figmaToReactWorkflow tool with a Figma file key and output directory to run the full conversion pipeline.
Key features of MCP Figma to React Converter
- Fetches Figma designs via the Figma API
- Extracts components from Figma files
- Generates React components with TypeScript
- Applies Tailwind CSS classes from Figma styles
- Enhances components with accessibility features
- Supports both stdio and SSE transports
Use cases of MCP Figma to React Converter
- Convert an entire Figma design file into a set of React components
- Extract specific component nodes from a Figma file and generate code
- Automate a design‑to‑code workflow using the
figmaToReactWorkflowtool - Write generated components directly to files with
writeComponentsToFiles - Build a component library from Figma component sets via
generateComponentLibrary
FAQ from MCP Figma to React Converter
What prerequisites are needed to run the server?
Node.js 18 or higher and a Figma API token. The token is set via the FIGMA_API_TOKEN environment variable.
How do I obtain a Figma API token?
You can get a personal access token from the Figma account settings page.
What transports does the server support?
It supports stdio (for local MCP integration) and SSE (for running as an HTTP server). Use the --transport flag to choose.
Where does the design data come from?
It fetches Figma designs directly from the Figma API using the file key from a Figma URL. No local Figma files are needed.
Are there any known limits?
The README does not mention specific limits. The server depends on the Figma API’s rate limits and your access token permissions.
媒体与设计 分类下的更多 MCP 服务器

Spotify MCP
varunnealMCP to connect your LLM with Spotify.
Video Editor MCP server
burningionMCP Interface for Video Jungle
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.
Design Systems Mcp
southleftI'm your specialized design systems assistant. Ask me about components, tokens, patterns, and best practices.
Photoshop MCP Server
loonghaoA Model Context Protocol (MCP) server that interfaces with Adobe Photoshop's Python API. Enables LLMs to execute image editing operations, automate workflows, and manage Photoshop tasks through structured commands and context-aware interactions.
评论