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.
「メディアとデザイン」の他のコンテンツ
Video Editor MCP server
burningionMCP Interface for Video Jungle
YouTube Transcript Server
kimtaeyoon83This is an MCP server that allows you to directly download transcripts of YouTube videos.
YouTube MCP Server
anaisbettsA Model-Context Protocol Server for YouTube
yt-dlp-mcp
kevinwattA Model Context Protocol (MCP) server that bridges Video & Audio content with Large Language Models using yt-dlp.
Weather API MCP Server
TuanKiriA lightweight Model Context Protocol (MCP) server that enables AI assistants like Claude to retrieve and interpret real-time weather data. Discuss on Hacker News:
コメント