Handles Figma MCP server setup, authentication, and UI implementation from Figma designs. Converts designs to code and manages Figma MCP across multiple hosts.
Ships in adonis-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use the official remote server https://mcp.figma.com/mcp through each host's native registration. Authentication belongs to that host's OAuth flow. The user only remembers /figma-mcp ($figma-mcp in Codex); handle host discovery, OAuth state, identity, and readiness internally. On failure, report one failing layer and one required action.
Most invocations are /figma-mcp <figma URL> <UI task> on the current account in one host, whether that task is inspecting the design or implementing/matching it. That is the read-only fast path: the first requested official read proves server discovery, tool availability, and authentication, so a separate whoami only adds a round trip.
| Invocation payload | Proof |
|---|---|
Figma URL or fileKey, current account, one host, read-only — inspecting, implementing, or matching a design | First requested read (below); no whoami |
Bare /figma-mcp (readiness only) | One whoami; reply only FIGMA_MCP_READY |
| Named account, account switch, recovery, write, or multi-host acceptance | One whoami; compare privately when an account is named |
File needed but no URL/fileKey | Stop; ask for the URL (FILE_ACCESS: UNVERIFIED) |
On task success, continue the requested work; do not emit FIGMA_MCP_READY or identity details mid-task. Server configuration, an OAuth page, a callback, and a tool list are separate evidence layers; none of them replaces the required call.
/design/:fileKey/:name?node-id=1-2 gives nodeId 1:2; /design/:fileKey/branch/:branchKey/... uses branchKey as fileKey; /make/:key uses nodeId 0:1 with get_design_context only; /board/ is FigJam and uses get_figjam.get_metadata (no prerequisite). When the task is to implement or match a design, load figma-design-to-code first and follow it — see "Implement or match a design" below — before calling get_design_context.I10:20;30:40 are accepted only by get_design_context and get_metadata. get_screenshot, get_variable_defs, and download_assets require a plain 123:456 ID, so pass the instance root (10:20, the part after I and before the first ;) or a non-instance ancestor instead of retrying the same ID.whoami, and only when no read reached Figma. Report FILE_ACCESS: UNVERIFIED with the one missing item (URL, share permission, or plan feature). Do not probe other files. A node ID copied from docs or memory that is not found was usually deleted or re-created; re-derive it from the user's current URL or the parent's get_metadata rather than guessing.When a status line helps, report Proof call: REQUESTED_READ and Account: NOT_READ.
The official MCP exposes no file-comments tool. When the task needs design review comments (read, filter resolved threads, or audit whether they were applied), say so at the start instead of treating it as an auth failure, then follow references/rest-comments.md.
/figma-mcp plus a design URL or file key where the user wants the UI built or matched (low 还原度 complaints land here) still starts on this skill's proof path above, but the pixel-fidelity work itself is not this skill's job: load figma-design-to-code (the Figma plugin's /figma-design-to-code, or MCP resource skill://figma/figma-design-to-code/SKILL.md) and follow its workflow through to a finished, matched screen. The reasoning is division of labor, not duplication — this file's job is proving host, account, and tool access across five very different clients; getting fidelity right needs iterative screenshot comparison and Code Connect lookups that already live in figma-design-to-code, so repeating that procedure here would just drift out of sync with it. Treat one get_metadata call, one get_design_context dump, or a screenshot as evidence for that workflow, never as the finished implementation on its own. If a design-to-code skill is already driving the task, defer the build steps to it and keep supplying only the proof and read rules above.
| Tool | Prerequisite |
|---|---|
get_design_context | Load figma-design-to-code first |
use_figma | Load figma-use first (/figma-use, or skill://figma/figma-use/SKILL.md) |
create_new_file, generate_diagram, shader/plugin | whoami for planKey; pass it only as a tool parameter, never in visible text; ask when several plans exist |
get_metadata, get_screenshot, get_variable_defs | None; get_metadata without a node-id lists the file's pages |
Honor any stricter prerequisite in the tool description. Test writes in a duplicate or disposable file, never an important working file. Before a write, refresh the target node context, and do not let two agents modify the same file or node without an approved coordination mechanism.
In Grok Build, Figma tools are namespaced Figma__<tool> behind use_tool. One search_tool query that names every tool you need is enough; do not search per tool.
In Antigravity (agy), when Figma tools appear as Lazy, read <appDataDir>/mcp/figma/<tool>.json first and invoke via call_mcp_tool(ServerName="figma", ToolName=..., Arguments=...).
Do not use Figma MCP for ordinary web browsing, desktop navigation, generic screenshots, or non-Figma files.
Supported hosts must appear in Figma's current MCP Catalog (https://www.figma.com/mcp-catalog/). As of 2026-11 that includes Claude Code, Codex, Cursor, Grok, and Antigravity. Treat Hermes, WorkBuddy, pi, and any other client missing from the catalog as unsupported for the official MCP: fail closed on the MCP, name a supported host, and never work around the catalog with a proxy, shared wrapper, or borrowed client identity. Read-only design data on such a host can still come from the REST API under the user's own token; see REST fallback below.
Keep one chain per host: native registration, the official endpoint, that host's OAuth grant, the current or explicitly requested account, then the path's proof call. OAuth credentials stay per host. Never copy tokens, credential caches, cookies, or browser profiles between hosts.
Keep registration account-neutral. Never store a default account, email, alias, token, cookie, browser profile, or callback in the skill, MCP configuration, environment variables, or repository files. The one user-owned exception is the REST personal access token, which the user exports in their own environment; the agent never writes it anywhere. Switching accounts changes only the current host surface's OAuth grant; keep the server identifier, endpoint, scope, and unrelated MCP entries. App plugins and CLI registrations can hold separate grants, so switch and verify only the surface in use.
Never print whoami payloads. Reduce identity to CURRENT, MATCH, MISMATCH, or UNVERIFIED.
whoami once on identity paths, or the requested read on the fast path. A login in one host proves nothing about another.For multi-host acceptance, run the per-host prompt and report table in references/host-verification.md. Do not build that table for the single-host fast path.
The public REST API with the user's personal access token can serve some reads the MCP cannot, but it returns less (node JSON and renders, no reference code or Code Connect), runs as whoever owns the token, and would mask MCP breakage. So it is a declared branch, not an automatic retry:
Proof call: REST (not MCP), Account: PAT owner, and what the task loses. A REST success never yields FIGMA_MCP_READY.Read references/rest-fallback.md for the full decision table, token setup, and scripts/figma_rest.py (nodes, images, comments), which keeps the token off the command line.
evals/check_description_handoff.py (opens in a new tab)evals/evals.json (opens in a new tab)evals/test_rest_scope.py (opens in a new tab)evals/trigger-eval.json (opens in a new tab)references/authentication.md (opens in a new tab)references/host-verification.md (opens in a new tab)references/rest-comments.md (opens in a new tab)references/rest-fallback.md (opens in a new tab)scripts/figma_rest.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
/adonis-skills:figma-mcpfrom adonis-skills
npx claudepluginhub adonis0123/adonis-skills --plugin adonis-skills34 skills in this plugin
/agent-dispatchPick the lightest agent setup for coding, review, drafting or design research: do it yourself, fan out 2-3 workers across local CLIs and accounts (Claude Code, Codex, Grok, Cursor), run a scoped architecture loop, or brief independent researchers; choose a cross-model reviewer and track dispatched work on a Run Board. Use when work may need delegation, or the user asks to dispatch, parallelize, run several agents or accounts, get another AI's review or independent design opinions, or check dispatched work. 中文触发:派活、并行、多开几个 agent、分给多个账号 / codex / grok、找另一个 AI 审、多方意见、派出的任务进行到哪了。Not for trivial edits, a single diff review (agentic-review-handoff) or the session list (sideby sessions); inside another named workflow, only size its workers./agentic-review-handoffValidate review findings, run auto Git review-fix-re-review loop, DecisionConsult, or DDD/cohesion review. Requires Git & review/consult intent./agent-practice-audit