
Figma MCP Server
io.github.oabolade由 GitHub 账号 oabolade 发布v2.1.0更新于 Oct 25, 2026
MCP server enabling AI assistants to interact with Figma designs via natural language commands
发布方自己的服务:Figma MCP Server
概览
一个本地 MCP 服务器,让 AI 助手通过 Figma REST API 分析文件、列出组件、导出素材并管理评论。
- 可以做什么
- 分析 Figma 文件:结构、元数据、样式和限深树,以及项目和团队列表与元数据。列出组件并查看其详情与使用情况。将节点导出为 PNG、SVG、PDF 或 JPG。读取并创建设计评论。提供 MCP 资源和提示词以引导工作流,并包含设计修改辅助工具。
- 适用场景
- 适合让助手查看 Figma 设计、获取组件清单、导出素材,或在不离开对话的情况下读取和发布设计评论。适用于使用 Figma 账号的个人设计师和开发者。
- 运行要求
- 以 Node.js 进程(Node.js 20 或更高版本)通过 stdio 在本地运行,或作为 Apify 上的长期运行 Web 服务器(云端需要 Apify 账号)。需要 FIGMA_ACCESS_TOKEN 中的 Figma 个人访问令牌,或改用 Figma OAuth 应用(客户端 ID、密钥和精确的重定向 URI)。需要访问 Figma API 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Figma MCP Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Figma MCP Server (Apify Actor)
Model Context Protocol (MCP) server that exposes Figma REST API capabilities to AI assistants (Cursor, Claude, custom agents). Runs as a long-running web server on the Apify platform (standby / container URL) or locally via apify run.
Features
- File analysis — structure, metadata, styles, depth-limited trees
- Components — list, details, usage
- Assets — export nodes (PNG, SVG, PDF, JPG)
- Comments — read and create
- Projects / teams — listings and metadata
- MCP resources & prompts for guided workflows
Authentication
Personal Access Token (default)
Recommended for solo use. Set figmaAccessToken in Actor input (or FIGMA_ACCESS_TOKEN in env).
- Generate: Figma → Settings → Security → Personal access tokens
- API header:
X-Figma-Token - When PAT is set, OAuth is disabled for API calls (and
/oauth/*routes return an error).
OAuth 2.0 (optional — team / shared files)
Use when you omit figmaAccessToken and provide a Figma OAuth app:
Flow
- Start the Actor with OAuth fields filled and no PAT.
- Open
GET https://<container-url>/oauth/authorizein a browser (normal browser — not an embedded WebView; Figma requirement). - After consent, Figma redirects to
/oauth/callback; tokens are stored in the run’s default key-value store (FIGMA_OAUTH_SESSION) and refreshed when near expiry.
Token exchange uses Figma’s documented endpoints (https://api.figma.com/v1/oauth/token and .../oauth/refresh). Codes expire quickly — complete the redirect promptly.
Requirements
- Node.js ≥ 20
- Apify account (for cloud)
- Figma PAT and/or OAuth app
Quick start (Apify Cloud)
In Apify Console, open the Actor, set input (at minimum figmaAccessToken), start with web server / long-running as required by your template, then use the Container URL from the run.
Deploy reference: apify push builds and publishes; see Apify CLI.
Configuration (input)
Local / CLI input file example (apify run):
HTTP API
Apify MCP path: .actor/actor.json sets webServerMcpPath to /mcp. Your MCP client URL is typically:
https://<container-id>.runs.apify.net/mcp
(Use the Container URL from the run page + /mcp.)
Cursor IDE
- Deploy and start the Actor; copy the run Container URL (while status is RUNNING).
- Edit
~/.cursor/mcp.json(paths differ on Windows/Linux — see Cursor docs).
Example (remote HTTP MCP — adjust to your Cursor version’s expected shape):
Notes
env.APIFY_TOKENinmcp.jsonis not passed to this Node process; it does not replace Figma auth. UsefigmaAccessToken(or OAuth) in Actor input.- Container URLs are per run and stop working when the run ends; update
mcp.jsonand restart Cursor after a new run. - If connection fails, use Cursor → Output → MCP and
curl https://.../health.
Claude Desktop / other clients
Use your client’s supported way to attach a remote MCP URL (e.g. mcp-remote pointing at https://.../mcp). Paths and query params depend on the client version.
Local development
Or run the entry with Node if you inject env / input yourself:
Check health (port from logs or input):
Sample MCP initialize:
Project structure
MCP tools (overview)
Includes (names may vary slightly in code): file analysis (analyze_file, get_file_structure, …), components (list_components, …), export (export_node, …), comments (get_comments, create_comment, …), design modification helpers, plus resources (figma://file/..., etc.) and prompts for common tasks.
Limitations
- REST vs Plugin API — deep design writes may need the Plugin API; this Actor uses REST where supported.
- Ephemeral Apify URLs — each run has a new base URL unless you use a stable hosting pattern.
- OAuth — single stored session per run (KV); not multi-user concurrent OAuth in one process.
Scripts
License
ISC
Changelog
0.2
- Optional OAuth 2.0 (Figma authorization code + refresh); PAT remains default when set.
/oauth/authorizeand/oauth/callback; session persisted in default KV (FIGMA_OAUTH_SESSION).- Input:
oauthRedirectUri,oauthScopes. - Health JSON:
auth_mode,figma_authenticated.
0.1 / 0.0.1
- Initial MCP + Figma REST integration, PAT, long-running server,
/mcpJSON-RPC.
References: Apify Actors · Figma REST API · Model Context Protocol
来源:README.md,提交 5497202
工具
0版本历史
1- v2.1.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Figma 集成

Figma MCP Server
com.figma.mcp官方发布者
Figma 官方远程 MCP 服务器,为 AI 编程助手提供 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 令牌,也不受速率限制。