
Figma Context MCP AIR
io.github.compassalessandrolorenz由 GitHub 帳號 compassalessandrolorenz 發布v2.0.2更新於 Oct 27, 2026
Figma MCP server for AI agents. 9 tools: design context, variables, screenshots, and FigJam.
發布方自己的服務:Figma MCP Server
概覽
本機 MCP 伺服器,讓 AI 程式助理讀取 Figma 設計資料,進而把設計實作為程式碼。
- 可以做什麼
- 取得並簡化 Figma 檔案或節點的設計資料(版面、字體、顏色、元件)
- 下載 PNG/SVG 素材,並把節點截圖存到本機檔案系統
- 讀取設計權杖、變數與已發布樣式,輸出 CSS 自訂屬性語法
- 以精簡 XML 檢視圖層結構,並擷取 FigJam 白板內容
- 產生符合框架的設計系統規則,並驗證 Figma 帳號驗證狀態
- 適用情境
- 適合想讓 AI 程式助理把 Figma 檔案、畫框或元件依指定框架寫成程式碼,或把設計權杖與素材帶進專案的情境。
- 執行需求
- 透過 npx(Node.js)以 stdio 模式在本機執行。需要 Figma 個人存取權杖,透過 FIGMA_API_KEY 或 --figma-api-key 參數提供,也可改用 OAuth 權杖。需要連線至 Figma API 的網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Figma Context MCP AIR,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Figma Context MCP AIR
Give your AI coding agent access to Figma design data.
Implement designs in any framework with pixel-perfect accuracy — in one shot.
[npm version] [npm downloads] [MIT License]
What is this?
figma-context-mcp-air is a Model Context Protocol (MCP) server that gives AI coding tools (Cursor, Claude, Windsurf, etc.) direct access to your Figma design data.
It exposes 9 tools covering the full design-to-code workflow:
Before returning data to the AI, the server simplifies and filters the raw Figma API response — keeping only the layout and styling information that matters for code generation. This reduces noise and dramatically improves AI accuracy.
Getting Started
You need a Figma Personal Access Token to use this server.
How to create a Figma API access token →
MacOS / Linux
Add this to your MCP client configuration file (e.g. ~/.cursor/mcp.json, claude_desktop_config.json):
Windows
Using Environment Variables
You can also set FIGMA_API_KEY in the env field instead of passing it as a flag:
How it works
- Open your AI coding tool's chat (e.g. agent mode in Cursor).
- Paste a link to a Figma file, frame, or component.
- Ask the AI to implement the design.
- The AI calls
get_design_context(orget_figma_data) to fetch structured design data, then writes your code.
For more advanced workflows, the AI can:
- Call
get_screenshotto visually inspect a node before implementing it - Call
get_variable_defsto extract your design tokens and map them to CSS variables - Call
get_metadatafor a quick layer overview before fetching full data - Call
create_design_system_rulesto generate project-specific coding guidelines
Configuration Options
Tool Reference
get_figma_data / get_design_context
Fetches and simplifies Figma design data for a file or specific node. Returns layout (flexbox/grid), typography, colors, borders, effects, and component metadata in YAML or JSON.
Parameters:
fileKey(required) — The key from your Figma URL:figma.com/design/<fileKey>/...nodeId(optional) — The node ID from the URL:?node-id=<nodeId>. Use format1234:5678.depth(optional) — How many levels deep to traverse. Only use if explicitly needed.
download_figma_images
Downloads PNG or SVG renders of Figma nodes to your local filesystem.
Parameters:
fileKey(required)nodes(required) — Array of{ nodeId, fileName }objectslocalPath(required) — Directory to save imagespngScale(optional) — Scale factor for PNG exports (default: 1)svgOptions(optional) — SVG export options (outline text, include IDs, simplify strokes)
get_screenshot
Captures a Figma node as a 2x PNG and saves it to disk. Useful for visual validation.
Parameters:
fileKey(required)nodeId(required)localPath(optional) — Save directory (default:./screenshots)fileName(optional) — Output filename without extension
get_metadata
Returns a sparse XML representation of the node hierarchy (depth=2). Use this for quick layer discovery before fetching full design context.
Parameters:
fileKey(required)nodeId(required)
get_variable_defs
Fetches all design tokens from a Figma file — variable collections (colors, spacing, typography) and published styles (effects, text styles, fill styles). Returns data with CSS custom property syntax.
Parameters:
fileKey(required)
whoami
Returns the authenticated user's Figma account information (name, email, plan tier). Useful for verifying your API key is working.
Parameters: None
create_design_system_rules
Generates a comprehensive markdown template for project-specific design system rules. Tailored to your language and framework combination. Save the output to CLAUDE.md or your project's AI instructions file.
Parameters:
clientLanguages(required) — e.g."typescript,javascript"clientFrameworks(required) —"react","vue","svelte","angular", or"unknown"
get_figjam
Extracts content from a FigJam board — sticky notes, connectors, shapes, sections — as XML with screenshot URLs.
Parameters:
fileKey(required)nodeId(optional) — Specific section or frame within the FigJam board
Development
Contributing
Contributions are welcome! Please read CONTRIBUTING.md before submitting a pull request.
For major features, open an issue first to discuss the approach.
License
MIT — see LICENSE
Acknowledgements
This project is a fork of GLips/Figma-Context-MCP (the Framelink MCP server), extended with additional tools to match the full official Figma MCP tool surface.
來源:README.md,提交 234a9b1
工具
0版本歷史
1- v2.0.2最新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 權杖,也不受速率限制。