MCP Figma to React Converter
MCP FigmaからReactへのコンバーター
これは、FigmaのデザインをReactコンポーネントに変換するModel Context Protocol(MCP)サーバーです。Figmaのデザインを取得し、TypeScriptとTailwind CSSを使用してReactコンポーネントを生成するためのツールを提供します。
特徴
Figma API を使用して Figma デザインを取得する
Figmaのデザインからコンポーネントを抽出する
TypeScriptでReactコンポーネントを生成する
Figmaスタイルに基づいてTailwind CSSクラスを適用する
アクセシビリティ機能でコンポーネントを強化する
stdioとSSEトランスポートの両方をサポート
Related MCP server: Figma MCP Server
前提条件
Node.js 18以上
Figma APIトークン
インストール
リポジトリをクローンする
依存関係をインストールします:
npm installプロジェクトをビルドします。
npm run build構成
FIGMA_API_TOKEN環境変数をFigma APIトークンに設定する必要があります。個人アクセストークンはFigmaアカウント設定ページから取得できます。
使用法
ローカルMCPサーバーとして実行
FIGMA_API_TOKEN=your_token_here npm startまたは明示的なトランスポートの場合:
FIGMA_API_TOKEN=your_token_here node dist/index.js --transport=stdioHTTPサーバーとして実行
FIGMA_API_TOKEN=your_token_here node dist/index.js --transport=sse利用可能なツール
Figmaツール
getFigmaProject: Figma プロジェクト構造を取得するgetFigmaComponentNodes: Figma ファイルからコンポーネントノードを取得しますextractFigmaComponents: Figma ファイルからコンポーネントを抽出しますgetFigmaComponentSets: Figma ファイルからコンポーネント セットを取得します。
Reactツール
generateReactComponent: FigmaノードからReactコンポーネントを生成するgenerateComponentLibrary: Figma コンポーネントから複数の React コンポーネントを生成するwriteComponentsToFiles: 生成されたコンポーネントをファイルに書き込むfigmaToReactWorkflow: FigmaのデザインをReactコンポーネントに変換する完全なワークフロー
ワークフローの例
Figmaファイルキー(URLの
figma.com/file/の後の文字列)を取得します。ファイルキーと出力ディレクトリを指定して
figmaToReactWorkflowツールを使用するこのツールはコンポーネントを抽出し、Reactコードを生成し、ファイルを保存します。
発達
開発の場合は、ウォッチ モードを使用できます。
npm run devライセンス
ISC
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Build and manage your design system with AI: tokens, themes, components, icons, Figma and code.
- miromiroOAuthapp.miromiro
Turn any live website into brand colors, fonts, design tokens, SVGs, Lottie and paste-ready code.
The Figma MCP server brings Figma design context directly into your AI workflow.
Live React design-system APIs, patterns, and code validation so AI agents build real UI, not slop.
Related MCP Servers
- AlicenseCqualityDmaintenanceConverts Figma designs to React Native components, allowing users to extract components from Figma designs and generate corresponding React Native components with proper typing and styling.3318MIT
- FlicenseBqualityDmaintenanceA bridge between Figma designs and React implementations that enables pixel-perfect conversion of Figma designs into React applications by processing Figma file data into React-friendly format.52,1602-
- AlicenseNot gradedqualityDmaintenanceConverts Figma designs to React/Vue code using existing Design System components, ensuring consistency by enforcing component library usage instead of custom CSS or Tailwind.171MIT
- AlicenseAqualityDmaintenanceConverts Figma designs into production-ready React components with design token extraction, widget registry integration, and micro-frontend module generation.3931MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/StudentOfJS/mcp-figma-to-react'
If you have feedback or need assistance with the MCP directory API, please join our Discord server