← Back to list

mcp-figma
by nguyennamkkb
⭐ 0🍴 0📅 Jan 9, 2026
SKILL.md
name: mcp-figma description: Figma integration for design specs. Use when getting colors, typography, spacing from Figma, exporting component specs, syncing design tokens, implementing UI from Figma design. allowed-tools: Read, Write, MCP
Figma MCP Integration
Table of Contents
1. MCP Tools
figma_get_file
Get Figma file information.
- Input: fileKey (from URL)
- Output: File metadata, document structure, pages/frames
- Use: Explore design file, get screen list
figma_get_node
Get specific node details (frame, component, screen).
- Input: fileKey, nodeId
- Output: Layout, colors, typography, effects, children
- Use: Implement specific screen, get component specs
figma_get_styles
Get design tokens.
- Input: fileKey
- Output: Color styles, text styles, effect styles
- Use: Setup design system, create Shared/Styles/ files
figma_export_image
Export image from node.
- Input: fileKey, nodeId, format (png/jpg/svg/pdf), scale
- Output: Image URL
- Use: Export icons, illustrations, assets
2. Setup Design System
Workflow (First Time)
- Run
figma_get_styleswith fileKey - Create
Shared/Styles/AppColors.swift - Create
Shared/Styles/AppFonts.swift - Create
Shared/Styles/AppSpacing.swift - Update
Shared/COMPONENT_FORMAT.md
Figma to SwiftUI Mapping
| Figma | SwiftUI |
|---|---|
| Frame | VStack/HStack/ZStack |
| Auto Layout (vertical) | VStack(spacing: X) |
| Auto Layout (horizontal) | HStack(spacing: X) |
| Padding | .padding() |
| Fill | .background(Color) |
| Stroke | .border() |
| Corner Radius | .cornerRadius() |
| Shadow | .shadow() |
3. Implement Screen
Workflow
- Get file structure:
figma_get_file - Find nodeId of target screen
- Get screen details:
figma_get_node - Map Figma layout → SwiftUI
- Use design tokens from Shared/Styles/
4. Export Assets
| Asset Type | Format | Scale |
|---|---|---|
| Icons | 1x | |
| Illustrations | PNG | 3x |
| Photos | JPG | 2x/3x |
Figma URL Parsing
- File:
figma.com/file/{fileKey}/{name} - Node:
figma.com/file/{fileKey}/{name}?node-id={nodeId}
5. Checklist
Setup Project
- Get design tokens with figma_get_styles
- Create AppColors.swift
- Create AppFonts.swift
- Create AppSpacing.swift
Implement Screen
- Get nodeId from Figma URL
- Run figma_get_node for specs
- Map layout to SwiftUI
- Use design tokens
- Export assets if needed
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon