Turn a Figma frame into code by connecting the Figma MCP server
Figma's hosted MCP server gives a coding agent the variables, components and layout data of a frame you link to, so the code it writes matches the design.
The problem
When an agent works from a screenshot, it guesses spacing, tokens and components. Reading the structured design data cuts down that guessing and keeps the code consistent with the design system.
Steps
- In Claude Code, install the Figma plugin (Figma's recommended setup; it includes the MCP server settings and Agent Skills). For a manual setup, add the remote server with claude mcp add instead; add --scope user to use it in every project.
- Run /mcp, select figma, then click Authenticate and Allow Access.
- In VS Code, run 'MCP: Open User Configuration' and add an http server with the URL https://mcp.figma.com/mcp.
- In Cursor, run /add-plugin figma in the agent chat.
- Paste the link to a Figma frame and ask the agent to implement it. The server reads the node-id from the link.
- Optionally, install Figma's skills so the agent can also write content back into Figma.
From the official docs
claude plugin install figma@claude-plugins-official
# manual setup instead:
claude mcp add --transport http figma https://mcp.figma.com/mcp
Results as reported by Figma
- The agent gets design context such as variables, components and layout for the selected frame.
- With Code Connect, it can reuse your existing components instead of creating new ones.
- The server can also create or change native Figma content, such as frames, components, variables and auto layout.
These figures are as reported by Figma in Figma Developer Docs ↗. AgentGid did not measure or independently verify them.
This suits a developer or small front-end team that already keeps designs in Figma and works in Claude Code, VS Code or Cursor; setup is a few commands plus authenticating. Note that Claude Code has no free tier ($20/mo), and reusing your existing components depends on Code Connect being configured. Cursor's Hobby plan is free to start with, and OpenCode (Free + $10/mo) is open source.
The agents used here
Anthropic's agentic coding tool that reads a codebase, edits files and runs commands from the terminal, with VS Code and JetBrains integrations plus …
- Price
- $20/mo
- Gid Score
- 89 #1 in Terminal
AI coding editor and agent platform with a desktop app, a CLI, web and mobile agents, and cloud agents that run tasks in remote environments. It offe…
- Price
- Free + $8/mo
- Gid Score
- 74 #2 in IDEs
Compare: Claude Code vs Cursor
Similar use cases
Mod almost any PC game with Claude Code and the universal-modder plugin
An open-source GitHub project packages skills, a command-line tool, a shared knowledge base and the fal MCP server so AI coding agents such as Claude Code can mod PC games the use…
The repository ships three worked examples: a Terraria tModLoader weapon and boss pack with sprites made through fal, an Age of Empires II DE civiliz… (as reported by the project's author)
How Eon unified multi-cloud incident tooling behind one MCP Gateway on AgentCore
Eon, a cloud data protection vendor, replaced per-tool credentials and local MCP servers with a single authenticated MCP gateway on Amazon Bedrock AgentCore. Developers and an aut…
As reported by AWS (guest post co-written with Eon): developer onboarding dropped from 2 days to 2 minutes.
Mid-Ohio Food Collective ships features in 24 to 36 hours with Claude Code
Mid-Ohio Food Collective, Ohio's largest food bank, also builds FreshTrak, the software that runs at some 2,500 pantries, soup kitchens, shelters and food banks. Its small enginee…
New features go from idea to production in 24 to 36 hours, down from two to three months, as reported by Anthropic.
Guides
Claude Code as an SEO Second Brain: CLAUDE.md, Rules, Skills and Memory
An X Article sets up Claude Code as an SEO workspace with CLAUDE.md, path rules, skills, auto memory and a hook. We checked each mechanic against Anthropic's and Google's docs: most holds, a few points are outdated or imprecise.
Opus 5.5 Motion Design: What 'One-Prompt' Videos Really Take
An X Article says viral Opus 5.5 videos hide long briefs, high effort and a critique loop. We checked its technical claims against Claude Code's docs, HyperFrames and the two repos it recommends: mostly right, with three overstatements.
Teardown: A Claude Code Skill That Builds 3D Machine Simulators
A viral X article shows teardown, a free Claude Code skill that builds a machine as a 3D simulator in one offline HTML page and records it to video. We checked the repository: MIT, three working examples, what setup really needs and which claims hold up.
Claude Code Deploys: 6 Repos for a Containment System
A viral post says GitHub Actions, Argo CD, Argo Rollouts, Prometheus, Sentry and OpenTelemetry turn Claude Code deploys into a containment system. We checked each: role, license, what needs Kubernetes, and what Claude Code's own permissions add.