huolala-figma-mcp — Claude Code skill: what it does, how to install
huolala-figma-mcp connects an MCP service that translates Figma designs into interface code packages with sliced graphics and intermediate DSL data.
no license 102 installs ★ 9 updated 2026-10-09
npx skills add reason-machines/mcp-skills --skill huolala-figma-mcp -a claude-codeWhat huolala-figma-mcp does
The skill integrates with a local FastMCP service exposing the figma_to_code_package tool. It takes a Figma URL, parses layouts, list structures, badges, and system bars, exports sliced images and fonts, then packs everything into a ZIP file with index.html and dsl.json. An agent then converts the generated markup into frameworks such as React, Vue, or React Native.
Developers can customize the processing pipeline by adding or removing DSL processors through a prioritized registry. Multimodal visual language models can be plugged in via environment settings for intricate layouts. Python 3.11 or higher and a valid MDAP_FIGMA_TOKEN are strict requirements before the local server at http://localhost:10001 can run.
What it helps with
- extract sliced assets, fonts, and layout DSL from Figma
- generate baseline markup and UI code for React or Vue
- parse screen layouts, lists, and system bars
- package design components into a downloadable archive
Example prompts for the agent
- /ui2code_with_skills
- /get_figma_property
- Convert the Figma frame into React components with sliced images
How to install huolala-figma-mcp
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill huolala-figma-mcp -a claude-code2Manually: put the files in place
~/.claude/skills/huolala-figma-mcp/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/huolala-figma-mcp/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill huolala-figma-mcp -a codex2Manually: put the files in place
.agents/skills/huolala-figma-mcp/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill huolala-figma-mcp -a cursor2Manually: put the files in place
.cursor/skills/huolala-figma-mcp/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/mcp-skills skills/huolala-figma-mcp2Manually: put the files in place
.github/skills/huolala-figma-mcp/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill huolala-figma-mcp -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/mcp-skills --path skills/huolala-figma-mcpManually: put the files in place
.devin/skills/huolala-figma-mcp/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill huolala-figma-mcp -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about huolala-figma-mcp
How to install huolala-figma-mcp in Claude Code?
Run npx skills add reason-machines/mcp-skills --skill huolala-figma-mcp -a claude-code. The skill file is placed in ~/.claude/skills/huolala-figma-mcp/SKILL.md.
What does huolala-figma-mcp do?
It turns Figma frames into interface assets and HTML, packaging sliced pictures, fonts, and a dsl.json file. AI assistants use these files to build production code across React, Vue, Swift, or Android.
What is required before running the MCP service?
You need Python 3.11+, a Figma personal access token stored in MDAP_FIGMA_TOKEN, and the service running via python -m mdap_u2c --port=10001. The client connects over HTTP to http://localhost:10001/mcp.