Figma to React Native
Converts 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.
What is Figma to React Native?
Figma to React Native is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to converts 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.
Converts 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.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Converts Figma designs to React Native components, allowing
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx figma-to-react-native-mcpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Figma to React Native
Figma to React Native MCP is a TypeScript MCP server that bridges Figma designs and React Native codebases. It uses the Figma REST API to extract component definitions from a Figma file and generates properly typed, styled React Native components in your project directory — accelerating the design-to-code workflow without manual translation.
Prerequisites
- Node.js 18 or later installed
- A Figma account with a personal access token (Settings > Personal access tokens)
- The Figma file ID from the URL of your design file
- A React Native project directory where generated components will be written
- Claude Desktop or another MCP-compatible client
Install via Smithery CLI
The recommended installation method uses the Smithery CLI to add the MCP server directly to your Claude Desktop config.
npx -y @smithery/cli@latest install @kailashg101/mcp-figma-to-code --client claudeObtain a Figma personal access token
Log into Figma, go to Account Settings > Personal access tokens, and create a new token with read access. Copy the token — it is shown only once.
Find your Figma file ID
Open your Figma design file in a browser. The file ID is the segment after /design/ or /file/ in the URL: https://www.figma.com/design/<FILE_ID>/...
Configure Claude Desktop manually (alternative to Smithery)
If not using Smithery, clone the repository, build it, and add it to Claude Desktop config with the three required environment variables.
git clone https://github.com/kailashAppDev/figma-mcp-toolkit.git
cd figma-mcp-toolkit
npm install && npm run buildAdd server to Claude Desktop config
Register the built server with your Figma credentials and target project directory.
{
"mcpServers": {
"figma-to-react-native": {
"command": "node",
"args": ["/path/to/figma-mcp-toolkit/build/index.js"],
"env": {
"FIGMA_TOKEN": "your-figma-personal-access-token",
"FIGMA_FILE": "your-figma-file-id",
"PROJECT_DIR": "/path/to/your/react-native-project/src/components"
}
}
}
}Extract and generate components
Ask Claude to run the extract_components tool against your Figma file. Generated .tsx files will appear in your PROJECT_DIR.
Figma to React Native Examples
Client configuration
Claude Desktop configuration for the Figma to React Native MCP server.
{
"mcpServers": {
"figma-to-react-native": {
"command": "node",
"args": ["/path/to/figma-mcp-toolkit/build/index.js"],
"env": {
"FIGMA_TOKEN": "figd_xxxxxxxxxxxxxxxxxxxxxxxxxx",
"FIGMA_FILE": "aBcDeFgHiJkLmNoP",
"PROJECT_DIR": "/Users/you/MyApp/src/components"
}
}
}
}Prompts to try
Prompts to use with the Figma to React Native MCP server in Claude.
- "Using the extract_components tool, get all components from my Figma file and generate their React Native counterparts"
- "Extract just the Button component from Figma and generate its React Native component with TypeScript types"
- "Generate a React Native component for the LoginScreen frame in my Figma file"
- "What components are available in my Figma file?"Troubleshooting Figma to React Native
extract_components returns 403 Forbidden from Figma
Your FIGMA_TOKEN may be expired or lack read permissions. Regenerate a personal access token in Figma Account Settings and update the env variable in your Claude Desktop config.
Generated components are written to the wrong directory
Ensure PROJECT_DIR is an absolute path pointing to an existing directory. The server does not create nested directories automatically — create the target folder first.
build/index.js not found after cloning
Run 'npm install && npm run build' in the repository root to compile the TypeScript source. The build/ directory is not committed to the repository.
Frequently Asked Questions about Figma to React Native
What is Figma to React Native?
Figma to React Native is a Model Context Protocol (MCP) server that converts 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. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Figma to React Native?
Follow the installation instructions on the Figma to React Native GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Figma to React Native?
Figma to React Native works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Figma to React Native free to use?
Yes, Figma to React Native is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Figma to React Native Alternatives — Similar Developer Tools Servers
Looking for alternatives to Figma to React Native? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Figma to React Native in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Figma to React Native?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.