How to Use Claude Code with the Figma MCP Server (Step-by-Step Guide)

Figma has released an official MCP server, enabling AI to understand design files. This guide explains how to integrate it with Claude Code to streamline the process of turning Figma designs into code.

Nov 1, 2025 · 2 min read · 246 Words · -Views -Comments · Programming
Claude Code Figma MCP 🇨🇳 阅读中文版
Read with AI

Choose an AI assistant

ChatGPT Open in a new tab with the article link and prompt
Claude Copy the prompt, then open Claude

Open Claude
Trouble reading the article?

If the prompt is missing, copy the full prompt below into your AI assistant. If the AI cannot read the article, paste the visible passage you want to discuss and add your question.

My project’s UI designs are provided as Figma files. Since Figma recently released an official MCP (Model Context Protocol) server, I decided to experiment with combining Claude Code and Figma MCP to generate and modify code based directly on design specs.

Requirements

  1. Figma Permissions: You must have Dev mode access or full Editor permissions.
  2. Claude Code Membership or API Key: Required for using the official Claude Code CLI. (If you use other MCP-compatible clients, you might only need an API key).

Claude Code Configuration

I used the local server installation for this setup. Once your local Figma MCP server is running, add it to Claude Code:

claude mcp add --transport sse figma-dev-mode-mcp-server http://127.0.0.1:3845/sse

# Verify the setup
claude mcp list

Usage Workflow

  1. Select a Layer: Open your design in Figma and select the specific layer or component you want to work on.
  2. Copy the Link: Right-click the node and select “Copy Link” (or use the Cmd + L shortcut on macOS).
  3. Instruct Claude: Paste the link into the Claude Code terminal and use natural language to tell the AI what you need (e.g., “Generate a React component based on this design link”).

Personal Impressions

  1. Fidelity: The results are surprisingly good and save a lot of boilerplate coding time. However, it’s not a “100% perfect” translation yet. There are often minor CSS or layout discrepancies that still require manual adjustment and polishing.

Resources

Authors
Developer, digital product enthusiast, tinkerer, sharer, open source lover