Figma MCP Server

com.figma.mcp由 mcp.figma.com 發布官方發布者v1.0.3更新於 Oct 24, 2026

The Figma MCP server brings Figma design context directly into your AI workflow.

已驗證Streamable HTTP可網頁執行開發者工具媒體與設計

概覽

AI 產生的概覽

Figma 官方遠端 MCP 伺服器,為 AI 程式助理提供 Figma 設計脈絡,用來產生與更新程式碼。

可以做什麼
  • 讀取所選 Figma 畫框或圖層的設計脈絡,包含結構化 React + Tailwind 表示、中繼資料與截圖
  • 擷取選取範圍中的變數、樣式與元件定義,讓產生的程式碼直接引用設計權杖
  • 依所選畫框產生程式碼,並透過 Code Connect 重用實際元件
  • 寫入畫布:在 Figma 檔案中建立與修改畫框、元件、變數與自動版面(僅限遠端伺服器)
  • 產生佔位圖片並將素材上傳到設計中
  • 在支援 MCP resources 的用戶端中,從 Make 專案取得脈絡
適用情境
適合讓 AI 助理把 Figma 設計落實到程式碼庫、讓產生的介面與設計系統保持一致,或把助理建立的畫框與元件寫回 Figma 檔案時使用。
執行需求
需要連線到 mcp.figma.com 的遠端 Streamable HTTP 端點,並以 OAuth 登入 Figma 帳號;用戶端須支援 Streamable HTTP(取得 Make 脈絡還需支援 MCP resources)。在 VS Code 使用時,帳號還須啟用 GitHub Copilot。速率限制取決於 Figma 方案與席次。
安裝前請注意
部分工具會寫入 Figma 檔案,建立或修改畫框、元件與變數,並可上傳素材。圖片產生會消耗 Figma AI 額度,且會先徵求同意;寫入畫布功能在測試期間免費,之後預計改為依用量計費。讀取類工具有速率限制,Starter 方案或 View/Collab 席次每月最多僅 6 次工具呼叫。使用須遵守 Figma 開發者條款。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Figma MCP Server,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.figma.mcp%2Fmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "figma": {
      "type": "http",
      "url": "https://mcp.figma.com/mcp"
    }
  }
}

README

Figma MCP Server Guide

The Figma MCP server brings Figma directly into your workflow by providing important design information and context to AI agents generating code from Figma design files.

[!NOTE] Rate limits apply to Figma MCP server tools that read data from Figma. Some tools, such as those that write to Figma files, are exempt from the rate limits.

Users on the Starter plan or with View or Collab seats on paid plans will be limited to up to 6 tool calls per month.

Users with a Dev or Full seat on the Professional, Organization, or Enterprise plans have per minute rate limits, which follow the same limits as the Tier 1 Figma REST API. As with Figma’s REST API, Figma reserves the right to change rate limits.

For the complete set of Figma MCP server docs, see our developer documentation. By using the Figma MCP server and the related resources (including these skills), you agree to the Figma Developer Terms. These skills are currently available as a Beta feature.

Features

  • Write to the canvas (remote server only): Create and modify native Figma content directly from your MCP client. With the right skills, agents can build and update frames, components, variables, and auto layout in your Figma files using your design system as the source of truth.

    Note: We're quickly improving how Figma supports AI agents. The write to canvas feature will eventually be a usage-based paid feature, but is currently available for free during the beta period.

  • Generate placeholder images: When source, captured, or library images are unavailable, agents can use generate_image after asking permission and disclosing Figma AI credit usage. Generated images are uploaded with upload_assets and applied to the design.

  • Generate code from selected frames

    Select a Figma frame and turn it into code. Great for product teams building new flows or iterating on app features.

  • Extract design context

    Pull in variables, components, and layout data directly into your IDE. This is especially useful for design systems and component-based workflows.

  • Code smarter with Code Connect

    Boost output quality by reusing your actual components. Code Connect keeps your generated code consistent with your codebase.

    Learn more about Code Connect →

  • Generate Figma designs from web pages (rolling out)

    Capture, import, or convert a web page into a Figma design directly from your AI coding agent.

Installation & Setup

Connect to the Figma MCP server

Different MCP clients require slightly different setups. Follow the instructions below for your specific client to connect to the Figma MCP server.

VS Code
  1. Use the shortcut ⌘ Shift P to search for MCP:Add Server.
  2. Select HTTP.
  3. Paste the server url https://mcp.figma.com/mcp in the search bar. Then hit Enter.
  4. When you're prompted for a server ID, enter figma.
  5. Select whether you want to add this server globally or only for the current workspace. Once confirmed, you'll see a configuration like this in your mcp.json file:
json
{  "servers": {    "figma": {      "type": "http",      "url": "https://mcp.figma.com/mcp"    }  }}
  1. Open the chat toolbar using ⌥⌘B or ⌃⌘I and switch to Agent mode.
  2. With the chat open, type in #get_design_context to confirm that the Figma MCP server tools are available. If no tools are listed, restart VS Code.

[!NOTE] You must have GitHub Copilot enabled on your account to use MCP in VS Code.

For more information, see VS Code's official documentation.

Cursor

The recommended way to set up the Figma MCP server in Cursor is by installing the Figma Plugin, which includes MCP server settings as well as Agent Skills for common workflows.

Install the plugin by typing the following command in Cursor's agent chat:

/add-plugin figma

The plugin includes:

  • MCP server configuration for the Figma MCP server
  • Skills for implementing designs, connecting components via Code Connect, and creating design system rules
  • Rules for proper asset handling from the Figma MCP server
Manual setup
  1. Open Cursor → Settings → Cursor Settings.
  2. Go to the MCP tab.
  3. Click + Add new global MCP server.
  4. Enter the following configuration and save:
json
{  "mcpServers": {    "figma": {      "url": "https://mcp.figma.com/mcp"    }  }}

For more information, see Cursor's official documentation.

Claude Code

The recommended way to set up the Figma MCP server in Claude Code is by installing the Figma Plugin, which includes MCP server settings as well as Agent Skills for common workflows.

Run the following command to install the plugin from Anthropic's official plugin marketplace.

bash
claude plugin install figma@claude-plugins-official

Learn more about Anthropic's Claude Code Plugins and Agent Skills.

Manual setup
  1. Open your terminal and run:
bash
claude mcp add --transport http figma https://mcp.figma.com/mcp
  1. Use the following commands to check MCP settings and manage servers:
  • List all configured servers
    bash
    claude mcp list
  • Get details for a specific server
    bash
    claude mcp get my-server
  • Remove a server
    bash
    claude mcp remove my-server

For more information, see Anthropic's official documentation.

Gemini CLI

Install the Figma extension for Gemini CLI by running the following command:

bash
gemini extensions install https://github.com/figma/mcp-server-guide

Once installed, authenticate with Figma by running gemini and then executing the following command within the CLI:

/mcp auth figma

To uninstall the extension:

bash
gemini extensions uninstall figma
Other editors

Other code editors and tools that support Streamable HTTP can also connect to the Figma MCP server.

If you're using a different editor or tool, check its documentation to confirm it supports Streamable HTTP based communication. If it does, you can manually add the Figma MCP server using this configuration:

json
{  "mcpServers": {    "figma": {      "url": "https://mcp.figma.com/mcp"    }  }}

Prompting your MCP client

The Figma MCP server introduces a set of tools that help LLMs translate designs in Figma. Once connected, you can prompt your MCP client to access a specific design node.

To provide Figma design context to your AI client:

  1. Copy the link to a frame or layer in Figma.
  2. Prompt your client to help you implement the design at the selected URL.
[圖片]

[!NOTE] Your client won't be able to navigate to the selected URL, but it will extract the node-id that is required for the MCP server to identify which object to return information about.

Tools and skills

Figma maintains a list of tools provided by the Figma MCP server in the developer documentation.

You can also learn more about the skills included with the Figma plugin for supported agents in the Figma Help Center. Depending on the agent, you may also see the terms connector, extension, or power; these include the same set of skills.

This repo also contains standalone workflow skills that are not bundled with the Figma plugin:

MCP best practices

The quality of the generated code depends on several factors. Some controlled by you, and some by the tools you're using. Here are some suggestions for clean, consistent output.

Structure your Figma file for better code

Provide the best context for your design intent, so the MCP and your AI assistant can generate code that's clear, consistent, and aligned with your system.

  • Use components for anything reused (buttons, cards, inputs, etc.)
  • Link components to your codebase via Code Connect. This is the best way to get consistent component reuse in code. Without it, the model is guessing.
  • Use variables for spacing, color, radius, and typography.
  • Name layers semantically (e.g. CardContainer, not Group 5)
  • Use Auto layout to communicate responsive intent.

[!TIP] Resize the frame in Figma to check that it behaves as expected before generating code.

  • Use annotations and dev resources to convey design intent that's hard to capture from visuals alone, like how something should behave, align, or respond.

Write effective prompts to guide the AI

MCP gives your AI assistant structured Figma data, but your prompt drives the result. Good prompts can:

  • Align the result with your framework or styling system
  • Follow file structure and naming conventions
  • Add code to specific paths (e.g. src/components/ui)
  • Add or modify code in existing files instead of creating new ones
  • Follow specific layout systems (e.g. grid, flexbox, absolute)

Examples:

  • "Generate iOS SwiftUI code from this frame"
  • "Use Chakra UI for this layout"
  • "Use src/components/ui components"
  • "Add this to src/components/marketing/PricingCard.tsx"
  • "Use our Stack layout component"

Think of prompts like a brief to a teammate. Clear intent leads to better results.

Trigger specific tools when needed

The MCP supports different tools, and each one provides your AI assistant with a different kind of structured context. Sometimes, the assistant doesn't automatically pick the right one, especially as more tools become available. If results are off, try being explicit in your prompt.

  • get_design_context provides a structured React + Tailwind representation of your Figma selection. This is a starting point that your AI assistant can translate into any framework or code style, depending on your prompt.
  • get_variable_defs extracts the variables and styles used in your selection (color, spacing, typography, etc). This helps the model reference your tokens directly in the generated code.

For example, if you're getting raw code instead of tokens, try something like:

  • "Get the variable names and values used in this frame."

Add custom rules

Set project-level guidance to keep output consistent—just like onboarding notes for a new developer. These are things like:

  • Preferred layout primitives
  • File organization
  • Naming patterns
  • What not to hardcode

You can provide this in whatever format your MCP client uses for instruction files.

Examples:

Ensure consistently good output
yaml
## Figma MCP Integration RulesThese rules define how to translate Figma inputs into code for this project and must be followed for every Figma-driven change.
### Required flow (do not skip)1. Run get_design_context first to fetch the structured representation for the exact node(s).2. If the response is too large or truncated, run get_metadata to get the high‑level node map and then re‑fetch only the required node(s) with get_design_context.3. Run get_screenshot for a visual reference of the node variant being implemented.4. Only after you have both get_design_context and get_screenshot, download any assets needed and start implementation.5. Translate the output (usually React + Tailwind) into this project's conventions, styles and framework.  Reuse the project's color tokens, components, and typography wherever possible.6. Validate against Figma for 1:1 look and behavior before marking complete.
### Implementation rules- Treat the Figma MCP output (React + Tailwind) as a representation of design and behavior, not as final code style.- Replace Tailwind utility classes with the project's preferred utilities/design‑system tokens when applicable.- Reuse existing components (e.g., buttons, inputs, typography, icon wrappers) instead of duplicating functionality.- Use the project's color system, typography scale, and spacing tokens consistently.- Respect existing routing, state management, and data‑fetch patterns already adopted in the repo.- Strive for 1:1 visual parity with the Figma design. When conflicts arise, prefer design‑system tokens and adjust spacing or sizes minimally to match visuals.- Validate the final UI against the Figma screenshot for both look and behavior.
Cursor
yaml
---description: Figma MCP server rulesglobs:alwaysApply: true---- The Figma MCP server provides an assets endpoint which can serve image and SVG assets- IMPORTANT: If the Figma MCP server returns a localhost source for an image or an SVG, use that image or SVG source directly- IMPORTANT: DO NOT import/add new icon packages, all the assets should be in the Figma payload- IMPORTANT: do NOT use or create placeholders if a localhost source is provided
Claude Code
markdown
# MCP Servers
## Figma MCP server rules
- The Figma MCP server provides an assets endpoint which can serve image and SVG assets- IMPORTANT: If the Figma MCP server returns a localhost source for an image or an SVG, use that image or SVG source directly- IMPORTANT: DO NOT import/add new icon packages, all the assets should be in the Figma payload- IMPORTANT: do NOT use or create placeholders if a localhost source is provided
General quality rules
- IMPORTANT: Always use components from `/path_to_your_design_system` when possible- Prioritize Figma fidelity to match designs exactly- Avoid hardcoded values, use design tokens from Figma where available- Follow WCAG requirements for accessibility- Add component documentation- Place UI components in `/path_to_your_design_system`; avoid inline styles unless truly necessary

Adding these once can dramatically reduce the need for repetitive prompting and ensures that teammates or agents consistently follow the same expectations.

Be sure to check your IDE or MCP client's documentation for how to structure rules, and experiment to find what works best for your team. Clear, consistent guidance often leads to better, more reusable code with less back-and-forth.

Break down large selections

Break screens into smaller parts (like components or logical chunks) for faster, more reliable results.

Large selections can slow the tools down, cause errors, or result in incomplete responses, especially when there's too much context for the model to process. Instead:

  1. Generate code for smaller sections or individual components (e.g. Card, Header, Sidebar)
  2. If it feels slow or stuck, reduce your selection size

This helps keep the context manageable and results more predictable, both for you and for the model.

If something in the output doesn't look quite right, it usually helps to revisit the basics: how the Figma file is structured, how the prompt is written, and what context is being sent. Following the best practices above can make a big difference, and often leads to more consistent, reusable code.

Bringing Make context to your agent

The Make + MCP integration makes it easier to take prototypes from design to production. By connecting Make projects directly to your agent via MCP, you can extract resources and reuse them in your codebase. This reduces friction when extending prototypes into real applications, and ensures that design intent is faithfully carried through to implementation.

With this integration, you can:

  • Fetch project context directly from Make (individual files or the whole project)
  • Prompt to use existing code components instead of starting from scratch
  • Extend prototypes with real data to validate and productionize designs faster

How it works

[!NOTE] This integration leverages the MCP resources capability, which allows your agent to fetch context directly from Make projects. It is available only on clients that support MCP resources.

Steps to fetch resources from Make
  1. Prompt your agent to fetch context by providing a valid Make link
  2. Receive a list of available files from your Make project
  3. Download the files you want to fetch when prompted

Example workflow

Goal: Implement a popup component in your production codebase that matches the design and behavior defined in Make.

  1. Share your Make project link with your agent.
  2. Prompt the agent: "I want to get the popup component behavior and styles from this Make file and implement it using my popup component."

Your agent will fetch the relevant context from Make and guide you in extending your existing popup component with the prototype's functionality and styles.

Icon Guidelines

See the Figma Brand Usage Guidelines for displaying any icons contained in this repo.

來源:README.md,提交 f049329

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v1.0.3最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Figma 整合