figma-mcp-server — Claude Code skill: Figma to code via MCP
A skill that teaches an agent to read Figma files over MCP: frame-to-code, design tokens, and beta writes back to the canvas.
no license 195 installs ★ 9 updated 2026-10-09
npx skills add reason-machines/mcp-skills --skill figma-mcp-server -a claude-codeWhat figma-mcp-server does
The skill spells out which tools an agent should call to get data out of Figma. Hand it a frame link and get_design_context returns the node as React with Tailwind by default, adapting to another framework. get_screenshot supplies a picture of the selection, get_variable_defs returns tokens, and get_metadata helps when a full response gets cut and the node-id has to be found first.
Instructions alone do nothing, so the remote server at https://mcp.figma.com/mcp has to be connected and authorised (/mcp auth figma in Claude).
Writing to the canvas is beta and remote-only: create_frame, create_component, create_variable, update_auto_layout. Code Connect makes the agent emit your own components, though the mappings must be linked in the repo beforehand. Mind the seat you hold: Starter, View and Collab allow 6 tool calls a month, so a Dev or Full seat is what makes this workable.
What it helps with
- turn a Figma frame into a React component
- pull colours, spacing and type into tokens
- reuse the project's own components through Code Connect
- create a button in Figma from design-system tokens
- find node ids when a design response comes back cut
Example prompts for the agent
- Implement this design:
https://www.figma.com/design/abc123?node-id=45-678 - Pull the tokens out of this Figma file: colours, spacing, typography
- Create a primary button component in Figma using our design-system tokens
How to install figma-mcp-server
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill figma-mcp-server -a claude-code2Manually: put the files in place
~/.claude/skills/figma-mcp-server/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/figma-mcp-server/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill figma-mcp-server -a codex2Manually: put the files in place
.agents/skills/figma-mcp-server/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill figma-mcp-server -a cursor2Manually: put the files in place
.cursor/skills/figma-mcp-server/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/mcp-skills skills/figma-mcp-server2Manually: put the files in place
.github/skills/figma-mcp-server/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill figma-mcp-server -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/mcp-skills --path skills/figma-mcp-serverManually: put the files in place
.devin/skills/figma-mcp-server/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill figma-mcp-server -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 figma-mcp-server
How do I install figma-mcp-server in Claude Code?
Run npx skills add reason-machines/mcp-skills --skill figma-mcp-server -a claude-code; the skill lands in ~/.claude/skills/figma-mcp-server/SKILL.md.
What does figma-mcp-server do?
It teaches an agent to work with Figma over MCP: fetch a frame as code, extract tokens and variables, use Code Connect, and in beta create or edit elements on the canvas.
Do I need a paid Figma seat?
Starter, View and Collab seats get 6 tool calls a month. Dev and Full seats are limited per minute, and write calls are exempt while beta lasts.