Figma (Framelink) 是一个基于 MCP(Model Context Protocol)协议的开源工具,能够将 Figma 设计稿的内容结构化地传递给 AI 编程助手,从而让 AI 更准确地根据设计稿生成前端代码。它的核心思路是:开发者在与 AI 对话时,无需手动截图或复制描述,工具会直接从 Figma 读取设计数据,作为上下文提供给 AI。这解决了设计与开发之间「看图写代码」效率低、信息传递失真的问题。适合需要将 Figma 设计稿还原为代码的前端开发者,以及在日常工作中频繁使用 Cursor、Claude 等 AI 编程工具的设计还原从业者。项目以开源形式发布在 GitHub,可自行部署配置。
npx -y figma-developer-mcp --stdio
{
"mcpServers": {
"figma": {
"command": "npx",
"args": [
"-y",
"figma-developer-mcp",
"--stdio"
],
"env": {
"FIGMA_API_KEY": ""
}
}
}
}传输方式:stdio
需配置环境变量:FIGMA_API_KEY
这个工具会直接生成代码吗?
不会。Figma (Framelink) 本身只负责将 Figma 设计数据作为上下文传递给 AI,代码由你所使用的 AI 助手(如 Claude、Cursor 等)生成。
使用前需要做哪些准备?
需要有 Figma 账号及对应文件的访问权限,获取 Figma API 访问令牌,并在本地完成 MCP 服务的配置,使其能与你使用的 AI 工具连接。
Finds timely sources across news, social, and the web and writes posts worth publishing.
No-data MCP handoff for local Claude Code to Codex harness moves. $49 lifetime.
Search AutoRFP.ai projects, requirements, content library, and tags for Q&A and analytics.
Your product team's shared strategic memory — an MCP server your AI tools reason over.
Manage your projects, debug deployment, and check analytics for any MCP server you host with Alpic
评论
还没有评论,来做第一个分享体验的人吧。