@figwright/mcp

中文文档
0.7.0发布于 2026/10/26MITES Module构建来源已验证近 30 天下载 8120

Free, two-way Figma MCP server. Turn designs into framework-aware code, and push code back to the canvas. Works with Claude Code, Cursor, Codex, and any MCP client.

原始使用文档
文档目录4 节
  1. Usage
  2. Requirements
  3. Links
  4. License

@figwright/mcp

The MCP server for Figwright: a two-way Figma agent for Claude Code, Cursor, Codex, and other MCP clients.

Figwright bridges MCP clients to a Figma plugin over a local WebSocket relay, so an AI agent can both read your designs with high-fidelity grounding and write back to the canvas. No Figma paid tier required. The server exposes 135 tools spanning reads, writes, and codebase-grounded context.

Usage

Add it to your MCP client config (e.g. Claude Code's .mcp.json):

{
  "mcpServers": {
    "figwright": {
      "command": "npx",
      "args": ["-y", "@figwright/mcp@latest"]
    }
  }
}

The server talks to the Figwright Figma plugin running in your Figma app. See the main repository for the full setup (installing the plugin, connecting, and the available skills).

Requirements

  • Node.js 20.19+ or 22.12+ (the server runs via npx as its own process, independent of your project's Node version)

License

MIT

版本与发布记录

@figwright/mcp 共发布 7 个版本,首次发布于 2026/06/19;过去 12 个月发布了 7 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.7.0latest2026/10/2619 天前
0.6.02026/10/021 个月前
0.5.02026/08/302 个月前
0.4.02026/08/093 个月前
0.3.02026/07/144 个月前
0.2.02026/06/274 个月前

关于 @figwright/mcp 的常见问题

@figwright/mcp 是什么?

Free, two-way Figma MCP server. Turn designs into framework-aware code, and push code back to the canvas. Works with Claude Code, Cursor, Codex, and any MCP client.

如何安装 @figwright/mcp?

在项目目录运行 npm install @figwright/mcp,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 figwright-mcp,可以用 npx figwright-mcp 直接运行。

@figwright/mcp 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/figwright__mcp 是否存在。

@figwright/mcp 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@figwright/mcp 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js ^20.19.0 || >=22.12.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@figwright/mcp 可以商用吗?

@figwright/mcp 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@figwright/mcp 的下载量有多少?

根据 npm 官方下载统计,@figwright/mcp 在 2026/10/15 – 2026/11/13 这 30 天内被下载 8,120 次,日均约 271 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@figwright/mcp 还在维护吗?

最新版本 0.7.0 发布于 2026/10/26(19 天前);至今共发布 7 个版本,其中过去 12 个月发布了 7 个;首次发布于 2026/06/19。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。