mcp-figma
БесплатноЗапускает вложенные скриптыНе проверенFigma CLI orchestrator: drives figma-ds-cli for terminal Figma design work, with an optional Figma MCP via Code Mode.
от MichelKerkmeester★ 40 звёзд на GitHubОб этом скилле
Figma (mcp-figma)
Drive Figma Desktop from the terminal through the silships figma-cli, published as figma-ds-cli. A coding agent can read, author, modify and export designs, tokens and components through the CLI. It can also optionally pull design context out of Figma through a Figma MCP via Code Mode.
The CLI is the primary surface. The MCP is opt-in. Deep operational detail lives in references/figma-cli-reference.md.
Naming trap (read first). The silships tool publishes to npm as
figma-ds-cli, the unambiguous binary. The npm package literally namedfigma-cliis an UNRELATED tool (unic/figma-cli, binfigma). Never runnpm i -g figma-cli. Thefigma-clicommand exists only when installed from the silships repo'smainbranch. That branch exposes bothfigma-ds-cliandfigma-cli. This skill usesfigma-ds-clias the canonical command throughout.Version trap. npm publishes only
[email protected], a minimal build with no--safe, nodaemon, noextractand ~12 commands. The full surface this skill documents includes safe connect, daemon, extract/import and ~130 commands. That surface is 1.2.0, available only from the silships repo. Install throughscripts/install.shwith--source repoor--source auto. The latter upgrades when npm is stale. Then confirmfigma-ds-cli --versionis>= 1.2.0.
1. WHEN TO USE
Activation Triggers
Use when the user wants to:
- Drive Figma Desktop from the terminal: create/render frames, components, icons, layouts, or images.
- Work a design system in Figma: tokens, variables, collections,
var:namebinding, shadcn primitives. - Inspect or export from Figma:
extractto DESIGN.md, export PNG/SVG/JSX/CSS/Tailwind/Storybook, screenshots, a11y audits. - Import a design system INTO Figma: from Tailwind config, CSS variables,
tokens.json, or Storybook. - Set up or troubleshoot the figma-cli connection or daemon (safe plugin vs yolo patch, daemon health).
- Optionally pull design context FROM Figma into the agent via a Figma MCP (Framelink
figma) through Code Mode.
Keyword Triggers: "figma cli", "figma-ds-cli", "figma desktop", "render in figma", "figma tokens/variables", "extract DESIGN.md", "export from figma", "connect to figma", "figma daemon", "figma mcp".
Use Cases
Connect / setup (CLI). Verify the binary, choose a connect mode (safe plugin vs yolo patch), bring up the daemon, confirm health.
Inspect / export (CLI, read-only). List/find nodes, get properties, extract a DESIGN.md, export assets/CSS/Tailwind/JSX/Storybook, run a11y audits, none of which change the Figma document.
Author / modify (CLI, gated). You can render JSX, create frames/components/icons, set properties, bind variables and generate variants.
Every operation changes the document, is gated and is design-affecting. Before authoring, pair with sk-design-md-generator for a measured Style Reference (extracted design tokens).
This transport moves and renders designs. It does not produce the measured reference itself.
Design-system / tokens (CLI, gated). Create token collections, import from Tailwind/CSS/tokens/Storybook, bind var:name. Ground token and variable choices in a measured reference: the sk-design-md-generator pairing (a measured Style Reference of extracted design tokens) applies before any token authoring, same as author/modify.
Optional MCP context pull (Code Mode). When the agent needs Figma design context as model input (design data, variables, screenshots), call the Framelink figma manual through Code Mode.
When NOT to Use
Skip this skill when:
- The work is generic app coding with no Figma input: use
sk-code. - The work is extracting a measured Style Reference (design tokens) from a live website's real CSS. That is
sk-design-md-generator, and this skill is the Figma transport. - The task is browser debugging or visual preview of a built page. That is the
mcp-browser-usehub. - Figma Desktop is not installed or not open. The CLI drives the live Desktop session and cannot work without it.
2. SMART ROUTING
The mcp-tooling hub routes a Figma request here: the request names figma, figma-ds-cli or Figma Desktop with design work, and the hub's mcp-figma mode signal selects this packet.
The direction splits in two: the terminal CLI answers every create, inspect, export, token and connect task, and the optional Figma MCP through Code Mode is opt-in and only for pulling context out of Figma.
references/figma-cli-reference.md and references/mcp-wiring.md are the first leaves the hub ROUTER.md names for this mode, and references/figma-cli-reference.md is the baseline every scored route loads.
Both connect traps bind before any command: the canonical binary is figma-ds-cli, never the unrelated npm figma-cli, and npm publishes only a minimal 1.0.0 build, so the surf
Установить mcp-figma в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashGrepGlobmcp__code_mode__call_tool_chainВложенные файлы
FAQ
Что делает скилл mcp-figma?
Figma CLI orchestrator: drives figma-ds-cli for terminal Figma design work, with an optional Figma MCP via Code Mode.
Как установить скилл mcp-figma?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mcp-figma запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic