Figma MCP Server (Framelink) 是 Figma 官方的 MCP 吗?
不是。它是开源社区项目(GLips/Figma-Context-MCP)。Figma 官方服务器的文档在 developers.figma.com,远程地址是 `https://mcp.figma.com/mcp`。
@GLips
基本信息
为 Cursor 等 AI 编程代理提供 Figma 布局信息的 MCP 服务器
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"figma-developer-mcp": {
"command": "npx",
"args": [
"-y",
"figma-developer-mcp",
"--stdio"
],
"env": {
"FIGMA_API_KEY": "<your-figma-api-key>"
}
}
}
}When the nodeId cannot be obtained, obtain the layout information about the entire Figma file
Download SVG and PNG images used in a Figma file based on the IDs of image or icon nodes
Figma MCP Server (Framelink) 是一个开源的 Figma MCP 服务器,可以把 Figma 中的布局和样式数据提供给 Cursor、Claude Code 等 AI 编程代理。粘贴一个链接,代理就能据此实现设计,不必再根据截图去猜。
它由 GLips 开发,是社区项目,不是 Figma 官方服务器。npm 包名为 figma-developer-mcp,采用 MIT 许可证。数据送到模型之前,它会精简并转换 Figma REST API 的响应,只留下与写代码相关的布局、样式和内容。上下文越少,生成的结果越准确。
前置条件:
npx 运行)。file_content:read 和 file_dev_resources:read。令牌可以通过 --figma-api-key=YOUR-KEY 传入,也可以写在 env 中的 FIGMA_API_KEY 里。服务器同样支持 OAuth 令牌,对应 --figma-oauth-token 或 FIGMA_OAUTH_TOKEN。加上 --stdio 参数,它会作为本地 stdio MCP 服务器运行。
claude mcp add Framelink_Figma_MCP -- npx -y figma-developer-mcp --figma-api-key=YOUR-KEY --stdio
打开 Settings → Developer,编辑 claude_desktop_config.json,加入:
{
"mcpServers": {
"Framelink_Figma_MCP": {
"command": "npx",
"args": ["-y", "figma-developer-mcp", "--figma-api-key=YOUR-KEY", "--stdio"]
}
}
}
进入 Cursor Settings → MCP → Add new global MCP server,或者编辑 ~/.cursor/mcp.json(只对单个项目生效时用 .cursor/mcp.json)。上面的 JSON 可以直接用,也可以改用环境变量写法:
{
"mcpServers": {
"figma-developer-mcp": {
"command": "npx",
"args": ["-y", "figma-developer-mcp", "--stdio"],
"env": {
"FIGMA_API_KEY": "<your-figma-api-key>"
}
}
}
}
"mcp": {
"servers": {
"Framelink_Figma_MCP": {
"type": "stdio",
"command": "npx",
"args": ["-y", "figma-developer-mcp", "--figma-api-key=YOUR-KEY", "--stdio"]
}
}
}
Windsurf 使用与 Claude Desktop 相同的 mcpServers JSON。
在 Windows 上,大多数客户端无法直接启动 npx。请把 "command" 设为 "cmd",并在 args 开头加上 "/c", "npx"。
使用方法:在 Figma 中右键点击某个 frame 或 group,选择 Copy/Paste as → Copy link to selection,把链接粘贴到代理对话中,然后让代理实现它。
node-id 直接从 URL 中解析。tree,也可以用 --format=yaml 或 --format=json。--image-dir 目录,默认是当前工作目录。--skip-image-downloads 彻底移除下载工具。/mcp,默认端口 3333),每个请求都可以带上自己的 X-Figma-Token 请求头。--proxy、FIGMA_PROXY),适合企业网络环境。--no-telemetry、FRAMELINK_TELEMETRY=off 或 DO_NOT_TRACK 关闭。服务器提供两个工具:
get_figma_data:接收 fileKey 和可选的 nodeId,返回该文件或节点精简后的布局、内容、视觉和组件信息。你粘贴 Figma 链接后,代理调用的就是这个工具。download_figma_images:把图片填充和图标节点导出为 SVG 或 PNG(PNG 默认 2 倍缩放),保存到图片目录下的 localPath,这样生成的代码可以直接引用真实资源。Figma 有自己的官方 Figma MCP server,以前叫 Dev Mode MCP server。它有两种形式:一种是位于 https://mcp.figma.com/mcp 的远程服务器,用 Figma 账号登录;另一种是通过 Figma 桌面应用运行的桌面服务器,需要付费计划中的 Dev 或 Full 席位。官方服务器的工具多得多,包括 get_design_context、get_screenshot、get_variable_defs、Code Connect 相关工具以及写入画布的工具。在 Claude Code 中的配置命令是 claude mcp add --transport http figma https://mcp.figma.com/mcp。
如果你想要一个小巧、以读取为主的 figma context MCP,在本地用个人访问令牌运行、不需要桌面应用,Framelink 更合适。它的输出紧凑,在任何 MCP 客户端中表现都一样。如果需要 Code Connect、变量,或者要把设计写回 Figma,请选择 Figma 官方服务器。
file_content:read 和 file_dev_resources:read,并检查配置里有没有拼写错误或残留的占位文字。fetch failed/ECONNRESET:添加 --proxy=http://your-proxy:8080 或设置 FIGMA_PROXY。用 --proxy=none 可以忽略代理相关的环境变量。Cannot find module 错误:关闭客户端,运行 npx clear-npx-cache,然后重新打开。不是。它是开源社区项目(GLips/Figma-Context-MCP)。Figma 官方服务器的文档在 developers.figma.com,远程地址是 `https://mcp.figma.com/mcp`。
免费。这个包采用 MIT 许可证,可以免费运行。你只需要一个 Figma 账号和个人访问令牌,不过 Figma API 的速率限制仍取决于文件所有者的计划。
需要 Figma 个人访问令牌,通过 `--figma-api-key` 或 `FIGMA_API_KEY` 传入。也可以通过 `FIGMA_OAUTH_TOKEN` 使用 OAuth bearer 令牌。
支持。它最初是为 Cursor 设计的,Framelink 文档给出了 Claude Code、Claude Desktop、Cursor、VS Code 和 Windsurf 的配置方法。任何能启动 stdio 服务器的 MCP 客户端都应该可以使用。
本地服务器。它通过 `npx` 在你的机器上运行,可以走 stdio,也可以作为本地 HTTP 服务器。README 中没有提供托管的 Framelink 端点。
不能。它通过 Figma API 读取设计数据,唯一的写入操作是把下载的图片保存到本地图片目录。
Framelink 本身不需要,因为它用你的令牌调用普通的 Figma REST API。需要付费计划中 Dev 或 Full 席位的是 Figma 官方的桌面 MCP 服务器。
指向具体 frame 或 group 的链接(URL 中带 `node-id`)效果最好。获取整个大文件会给代理远超所需的上下文。

Ask your AI assistant about your Angelcam security cameras: list cameras and locations, check which are online, take live or recorded snapshots, browse recordings and review security incidents. Read-only; sign in with yo

Official LinkedIn, Slack and GitHub profile photo specs with sources, headshot style guides by use and industry, and a free 0-100 headshot audit. No API key needed.

Run complete AI fashion photoshoots from ChatGPT, Claude, or Codex. Turn flat-lay, packshot, and mannequin product images into catalog-ready on-model photos and video with saved art direction, automatic QA, and catalog-s

Instagram + TikTok content tools inside your AI: download HD posts/reels/carousels, view Instagram stories anonymously, AI-transcribe videos (100+ languages, SRT/VTT/TXT). Requires a Repost PRO subscription.

Turn your data into map images of countries, states, counties and ZIP codes with Ultimaps MCP server. Each map comes with a link to Ultimaps Studio, where you can keep editing it, export it, or publish an interactive ver
评论