
为MCP客户端、终端和代码生成工作流程提供具备配额意识、唯读的Figma工具。
概览
为MCP客户端、终端和代码生成工作流程提供具备配额意识、唯读的Figma工具。 Figma-MCP-Free 提供了两种显式读取路径: 1. 一个速率感知的 Figma REST 后端,用于文件、节点、组件、令牌和无头自动化;2. 一个经过认证、仅回环的 Figma 开发插件桥,用于用户批准的当前选择捕获,无需 PAT 或 REST 请求。 两条路径都提供相同的有界检查和React、Vue、Svelte或HTML入门代码生成流水线。两条路径都不写入Figma。 该项目并不取代 Figma 开发模式或官方 Figma MCP 服务器。它提供了一个透明的开源读取流程,并有明确的限制。 Figma REST API 的限制取决于端点、座位、计划和资源位置。
概述(AI 翻译)
为MCP客户端、终端和代码生成工作流程提供具备配额意识、唯读的Figma工具。
figma-mcp-free 提供了两个显式的读取路径:
- 一个速率感知的 Figma REST 后端,用于文件、节点、组件、令牌和无头自动化;
- 经过认证、仅回环的 Figma 开发插件桥,用于用户批准的当前选择捕获,无需 PAT 或 REST 请求。
两条路径都提供相同的有界检查和React、Vue、Svelte或HTML入门代码生成流水线。两条路径都不写入Figma。
能力矩阵
| 能力 | REST 后端 | 本地插件桥 |
|---|---|---|
| 无头使用 | 是的 | 不,需要Figma桌面和明确捕获 |
| Figma PAT | 必需 | 非必需 |
| 使用REST quota | 是的 | 不 |
| 全文件和组件元数据 | 是的 | 不是 |
| 当前选择节点 | 按文件/节点ID | 是的 |
| MCP 和 CLI | 是的 | 是的 |
| 只读 | 是的 | 是的 |
| 远程服务 | Figma API | 不,只有回环 |
| 持久快照 | 仅限于有界进程缓存 | 仅存内存快照 |
本项目并不取代 Figma 开发模式或官方 Figma MCP 服务器。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
figma-mcp-free
Quota-aware, read-only Figma tooling for MCP clients, terminals, and code-generation workflows.
figma-mcp-free provides two explicit read paths:
- a rate-aware Figma REST backend for files, nodes, components, tokens, and headless automation;
- an authenticated, loopback-only Figma development-plugin bridge for a user-approved capture of the current selection without a PAT or REST request.
Both paths feed the same bounded inspection and React, Vue, Svelte, or HTML starter-code generation pipeline. Neither path writes to Figma.
Capability Matrix
| Capability | REST backend | Local Plugin bridge |
|---|---|---|
| Headless use | Yes | No, Figma Desktop and an explicit capture are required |
| Figma PAT | Required | Not required |
| Uses REST quota | Yes | No |
| Whole-file and component metadata | Yes | No |
| Current selected nodes | By file/node ID | Yes |
| MCP and CLI | Yes | Yes |
| Read-only | Yes | Yes |
| Remote service | Figma API | No, loopback only |
| Persistent snapshot | Bounded process cache only | One in-memory snapshot only |
This project does not replace Figma Dev Mode or the official Figma MCP server. It provides a transparent open-source read pipeline with explicit limits.
Why This Project Exists
Figma REST API limits depend on endpoint, seat, plan, and resource location. This project treats network requests as a budgeted resource:
- node IDs are de-duplicated and batched;
- identical in-flight reads are joined;
- successful responses use a bounded, short-lived memory cache;
- a hard per-client request budget is available;
- short-lived failures retry within configured ceilings;
- long-lived or plan-related
429responses fail fast with structured metadata; - response size can be bounded by depth or transformed into compact selection context;
- the local Plugin bridge can capture the current selection without spending REST quota.
See Figma’s official REST API rate-limit documentation for current limits. Figma may change them.
Features
- MCP STDIO server with stable, read-only tools.
- CLI for REST inspection, batch node reads, component search, token export, and code generation.
- Local bridge CLI for serving, listing, inspecting, generating from, and clearing the captured selection.
- Figma development plugin using
JSON_REST_V1after an explicit Capture & Send action. - Full
/fileand/designURL parsing with numericnode-id=1-2normalization to1:2. - Bounded implementation context through
inspect_selectionandinspect_current_selection. - W3C-style design tokens for colors, sizes, spacing, typography, and shadows.
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →