Figma Rn
БесплатноНе проверенMCP server that turns Figma screens into React Native code, assets, and screenshots through one get_screen call.
Описание
MCP server that turns Figma screens into React Native code, assets, and screenshots through one get_screen call.
README
figma-rn is an MCP server that turns Figma URLs into React Native code, assets, metadata, and screenshots through a single runtime tool: get_screen.
Why It Matters
- One-call design-to-code flow for React Native teams working from Figma
- Deterministic output written to a tracked
.figma/{category}/{ComponentName}/workspace - Includes asset extraction, screenshot capture, and project token discovery in the same run
Distribution
figma-rn is currently distributed source-first. There is no packaged desktop release; the public install path is to clone the repo, build it locally, and point an MCP client at dist/index.js.
Requirements
- Node.js 18+
- Bun
FIGMA_TOKEN(Figma Personal Access Token)
Install and Build
git clone https://github.com/itsklimov/figma-rn
cd figma-rn
bun install
bun run build
MCP Configuration
Example claude_desktop_config.json entry:
{
"mcpServers": {
"figma-rn": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/figma-rn/dist/index.js"],
"env": {
"FIGMA_TOKEN": "figd_YOUR_TOKEN_HERE"
}
}
}
}
Quick Start
- Clone the repo, run
bun install, and build withbun run build. - Add the MCP server entry shown above and set
FIGMA_TOKEN. - Restart your MCP client so it picks up the built server.
- Call
get_screenwith a Figma URL and optionalprojectRootto write output into a target app workspace.
Example tool call:
{
"figmaUrl": "https://www.figma.com/design/FILE_ID/Example?node-id=123-456",
"projectRoot": "/absolute/path/to/app",
"category": "screens",
"componentName": "CheckoutScreen"
}
Tool Contract
Only one MCP tool is exposed:
get_screen
Input highlights:
figmaUrl(required)componentNameprojectRootcategory(screens,modals,sheets,components,icons)suppressTodosscaleFunction
Output Structure
Generated output is written to:
.figma/{category}/{ComponentName}/
├── index.tsx
├── meta.json
├── screenshot.png
└── assets/
This structure is designed to be inspectable by both humans and downstream LLM workflows.
Development
bun run dev
bun run lint
bun run test
bun run test:coverage
Live e2e tests:
FIGMA_LIVE_TESTS=1 bun run test:live
Regression Baseline
FIGMA_TOKEN=$(grep FIGMA_TOKEN .env | cut -d '"' -f 2) bunx tsx scripts/regression-test.mts "https://www.figma.com/design/UP4RaLYLk41imjPis2j6an/MARAFET-dev?node-id=2256-25238&m=dev" check
Troubleshooting
Tool not found: rebuild withbun run build, then restart Claude Desktop.Invalid token: verifyFIGMA_TOKENand format.No assets: check export permissions for target nodes in Figma.
License
PolyForm Small Business 1.0.0. See LICENSE.md.
Установка Figma Rn
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/itsklimov/figma-rnFAQ
Figma Rn MCP бесплатный?
Да, Figma Rn MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Figma Rn?
Нет, Figma Rn работает без API-ключей и переменных окружения.
Figma Rn — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Figma Rn в Claude Desktop, Claude Code или Cursor?
Открой Figma Rn на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiSupabase
Database, auth and storage
автор: SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Figma Rn with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
