Figma to React Native

v1.0.0Developer Toolsstable

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.

figma-to-react-native-mcpmcpai-integration
Share:
8
Stars
0
Downloads
0
Weekly
0/5

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

Convert Figma designs into React Native components automatically.
Extract and generate typed component code from designs.
kailashAppDev

Maintainer

LicenseMIT License
Languagetypescript
Versionv1.0.0
UpdatedApr 24, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx figma-to-react-native-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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 claude
2

Obtain 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.

3

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>/...

4

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 build
5

Add 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"
      }
    }
  }
}
6

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.

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.

Quick Config Preview

{ "mcpServers": { "figma-to-react-native-mcp": { "command": "npx", "args": ["-y", "figma-to-react-native-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides