Skip to content
Agents tracked: 258 Downloads (7d): 219M up 6.1% GitHub stars: 5.5M VS Code installs: 148M Releases (7d): 293 Agent pull requests (last week): 937K Updated Oct 7, 2026
Recipe

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

  1. In Claude Code, add Figma's remote server with the command below. Add --scope user to use it in every project.
  2. Run /mcp, select figma, then click Authenticate and Allow Access.
  3. In VS Code, run 'MCP: Open User Configuration' and add an http server with the URL https://mcp.figma.com/mcp.
  4. In Cursor, run /add-plugin figma in the agent chat.
  5. Paste the link to a Figma frame and ask the agent to implement it. The server reads the node-id from the link.
  6. Optionally, install Figma's skills so the agent can also write content back into Figma.

From the official docs

claude mcp add --transport http figma https://mcp.figma.com/mcp

Results

  • 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.

As reported by the source (Figma Developer Docs); AgentGid did not measure these figures.

Takeaway. Link a specific frame instead of pasting a screenshot, so the agent works from the design's actual data.
AgentGid's take

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

Compare: Claude Code vs Cursor

Similar use cases

Guides