# huolala-figma-mcp

huolala-figma-mcp connects an MCP service that translates Figma designs into interface code packages with sliced graphics and intermediate DSL data.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 102 installs · ★ 9 repo stars
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/mcp-skills/tree/HEAD/skills/huolala-figma-mcp/SKILL.md
- Updated: 2026-10-09
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/huolala-figma-mcp

## What it 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.

## Requirements
- Works with: Figma

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill huolala-figma-mcp -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/huolala-figma-mcp/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/huolala-figma-mcp/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill huolala-figma-mcp -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/huolala-figma-mcp/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill huolala-figma-mcp -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/huolala-figma-mcp/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/mcp-skills skills/huolala-figma-mcp
```

2. **Manually: put the files in place**
- File: `.github/skills/huolala-figma-mcp/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill huolala-figma-mcp -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/mcp-skills --path skills/huolala-figma-mcp
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/huolala-figma-mcp/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill huolala-figma-mcp -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/mcp-skills/tree/HEAD/skills/huolala-figma-mcp/SKILL.md

## When to use it
- 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
- /ui2code_with_skills
- /get_figma_property
- Convert the Figma frame into React components with sliced images

## Similar
- [figma-codegen](https://affpapa.org/en/nevibecode/skills/figma-codegen.md) — skill · 1700 installs
- [figma-build](https://affpapa.org/en/nevibecode/skills/figma-build.md) — skill · 1600 installs
- [figma-code-connect-components](https://affpapa.org/en/nevibecode/skills/openai-figma-code-connect-components.md) — skill · 3000 installs
- [figma-skill](https://affpapa.org/en/nevibecode/skills/figma-skill.md) — skill · 200 installs
- [Figma Developer](https://affpapa.org/en/nevibecode/skills/figma-developer.md) — skill · 152 installs
- [figma-developer](https://affpapa.org/en/nevibecode/skills/oakoss-figma-developer.md) — skill · 114 installs

From the same set: [reason-machines/mcp-skills](https://affpapa.org/en/nevibecode/by/reason-machines/mcp-skills.md) — 98 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
