
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.
概览
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 套餐和席位。
安装
在 SourceWeft 中
- 打开 控制台中的 Figma MCP Server,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
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_imageafter asking permission and disclosing Figma AI credit usage. Generated images are uploaded withupload_assetsand 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.
-
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
- Use the shortcut
⌘ Shift Pto search forMCP:Add Server. - Select
HTTP. - Paste the server url
https://mcp.figma.com/mcpin the search bar. Then hitEnter. - When you're prompted for a server ID, enter
figma. - 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.jsonfile:
- Open the chat toolbar using
⌥⌘Bor⌃⌘Iand switch to Agent mode. - With the chat open, type in
#get_design_contextto 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:
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
- Open Cursor → Settings → Cursor Settings.
- Go to the MCP tab.
- Click + Add new global MCP server.
- Enter the following configuration and save:
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.
Learn more about Anthropic's Claude Code Plugins and Agent Skills.
Manual setup
- Open your terminal and run:
- Use the following commands to check MCP settings and manage servers:
- List all configured servers
- Get details for a specific server
- Remove a server
For more information, see Anthropic's official documentation.
Gemini CLI
Install the Figma extension for Gemini CLI by running the following command:
Once installed, authenticate with Figma by running gemini and then executing the following command within the CLI:
To uninstall the extension:
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:
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:
- Copy the link to a frame or layer in Figma.
- 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:
workflow-skills/video-interaction-mapper: Turns UI recordings into annotated Figma storyboardsworkflow-skills/generate-project-plan: Turn a PRD (plus optional codebase grounding) into a FigJam project plan board
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, notGroup 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/uicomponents" - "Add this to
src/components/marketing/PricingCard.tsx" - "Use our
Stacklayout 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
Cursor
Claude Code
General quality rules
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:
- Generate code for smaller sections or individual components (e.g. Card, Header, Sidebar)
- 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
- Prompt your agent to fetch context by providing a valid Make link
- Receive a list of available files from your Make project
- 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.
- Share your Make project link with your agent.
- 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版本历史
1- v1.0.3最新Sep 16, 2026
评分
已满足适用检查项的 75%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。
其他 Figma 集成

Figma Vector MCP
由 GitHub 账号 workingmodel 发布
本地 MCP 服务器加 Figma 插件,让助手在 Figma 画布上创建和编辑可完全编辑的矢量节点、形状、文本与组件。

Figma CodeKit MCP
由 GitHub 账号 Mehmoodqureshi 发布
把 Figma 画板转换为 HTML、React 或 Next.js 代码,并将渲染结果与设计稿做像素比对,反复迭代直至收敛。

figma-mcp
由 GitHub 账号 Mehmoodqureshi 发布
把 Figma 画板确定性地转换为 HTML、React 或 Next.js 代码,在 Chromium 中渲染并与设计稿做像素比对,直到一致。

figma-vault
由 GitHub 账号 NBhey 发布
本地 MCP 服务器,让助手读取一次性拉取到本地库中的 Figma 设计,离线可用,无需 Figma 令牌,也不受速率限制。

Figma MCP
io.scalably
本地运行的 Figma REST API MCP 服务器,让助手列出文件中的顶层画框,并下载某个画框的 PNG、节点 JSON 和图片填充映射。