figmanage
figmanage
让智能体管理你的 Figma 工作区。席位、团队、权限、账单、离职交接、清理——全部通过对话完成,无需在管理面板中逐个点击。
每个 Figma MCP 都是设计转代码。figmanage 是管理层:102 个工具让智能体直接操作工作区本身。兼容 Claude Code、Cursor、OpenClaw,也可作为独立 CLI 使用。
示例
工作区管理(管理员)
"which paid seats haven't been active in 30 days? how much would we save?"
"offboard sarah@company.com -- show me everything she owns, then transfer it
to jake and remove her from the org"
"set up a new hire: invite alex@company.com to Design and Engineering as an editor"
"create a user group called Platform Design and add the three designers"
"run a quarterly design ops report for the org"日常设计工作(所有人)
"clean up the Mobile App project -- find stale files and archive dead branches"
"what are the unresolved comments across the Platform project?"
"export all the icons from the Design System file as SVGs"
"move the Q4 files into the Archive project"
"share the Homepage mockup with alex@company.com and set link access to view-only"
"summarize the Brand Guidelines file -- pages, components, styles"Related MCP server: figma-pilot
安装
# Claude Code
claude mcp add figmanage -- npx -y figmanage
# Cursor / OpenClaw / other MCP clients
{
"mcpServers": {
"figmanage": {
"command": "npx",
"args": ["-y", "figmanage"]
}
}
}首次运行时,figmanage 会在对话中引导你完成设置——提取你的 Chrome 会话 cookie,要求你创建 PAT,并将凭据存储在本地。无需环境变量,无需编辑 JSON。
也可以作为 CLI 使用:
npm install -g figmanage
figmanage login工作原理
Figma 的公开 REST API 覆盖设计文件,但不涉及管理侧——没有席位、团队、权限、账单。figmanage 同时使用两套 API:
API | 认证方式 | 覆盖范围 |
内部 API | 会话 cookie | 席位、团队、权限、账单、用户组、组织管理、搜索 |
公开 API | 个人访问令牌 | 文件、评论、导出、组件、版本、Webhooks、变量 |
两者结合可解锁全部 102 个工具。仅使用 cookie 或仅使用 PAT 也可以,但可用工具会受限。
管理员自动检测。 启动时,figmanage 会检查你是否为组织管理员。管理员可见全部 102 个工具。非管理员可见 68 个——除组织管理、席位变更、账单、用户组和离职交接外的所有工具。无需任何配置。
工具集预设。 使用 FIGMA_TOOLSETS 仅暴露特定工具组:
预设 | 包含内容 |
| 导航、读取、评论、导出 |
| 导航、组织、权限、分析、团队、资源库 |
| 导航、读取、评论、导出、组件、版本 |
| 全部(默认) |
CLI
命令采用名词-动词模式:figmanage <group> <action>。
figmanage org seat-optimization # find inactive paid seats
figmanage org offboard sarah@co.com # audit what a user owns
figmanage org offboard sarah@co.com --execute \
--transfer-to jake@co.com # soft offboard
figmanage org offboard sarah@co.com --execute \
--transfer-to jake@co.com --remove-from-org # hard offboard (permanent)
figmanage org onboard alex@co.com --teams 123,456 \
--role editor --seat full --confirm # set up a new hire
figmanage org quarterly-report # org-wide design ops snapshot
figmanage org members --search danny # find org members
figmanage permissions audit --scope team --id 789 # audit a team's permissions
figmanage branches cleanup 573408414 # find stale branches所有命令在管道输出或传入 --json 时均输出 JSON。运行 figmanage <group> --help 查看子命令。
设置
先在 Chrome 中登录 figma.com,然后:
figmanage login # extract cookie, create PAT, store credentials
figmanage whoami # verify auth
figmanage logout # clear credentials凭据存储在 ~/.config/figmanage/,权限为 0o600。
环境变量(FIGMA_PAT、FIGMA_AUTH_COOKIE 等)会覆盖配置文件。可通过 --mcp --http <port> 使用 HTTP 传输。
工具参考
下表显示 MCP 工具名称(snake_case)。CLI 对应名称使用 kebab-case:list_recent_files 变为 figmanage navigate list-recent-files。
navigate(10 个)
工具 | 认证方式 | 描述 |
| 任一 | 验证 PAT 和 cookie 认证 |
| cookie | 列出可用的 Figma 工作区 |
| cookie | 切换当前会话的活跃工作区 |
| cookie | 列出组织中的团队 |
| 任一 | 列出团队中的项目 |
| 任一 | 列出项目中的文件 |
| cookie | 最近查看/编辑的文件 |
| cookie | 在工作区中搜索文件 |
| 任一 | 文件元数据:名称、项目、团队、链接访问权限 |
| cookie | 收藏的文件(已损坏——Figma BigInt 错误) |
files(10 个)
工具 | 认证方式 | 描述 |
| cookie | 创建设计、白板、幻灯片或网站文件 |
| cookie | 重命名文件 |
| cookie | 在项目之间移动文件(批量) |
| cookie | 复制文件 |
| cookie | 将文件移至回收站(批量) |
| cookie | 从回收站恢复文件(批量) |
| cookie | 添加/移除收藏 |
| cookie | 设置链接共享级别 |
| pat | 页面、组件、样式、评论数量 |
| 任一 | 查找旧文件,可选择移入回收站(默认仅预览) |
projects(8 个)
工具 | 认证方式 | 描述 |
| cookie | 在团队中创建项目 |
| cookie | 重命名项目 |
| cookie | 将项目移至另一个团队 |
| cookie | 将项目移至回收站 |
| cookie | 从回收站恢复项目 |
| cookie | 设置或更新项目描述 |
| cookie | 批量将文件移入项目 |
| cookie | 根据计划创建多个项目 |
permissions(8 个)
工具 | 认证方式 | 描述 |
| cookie | 列出有权访问的人员及角色 |
| cookie | 更改用户的访问级别 |
| cookie | 通过电子邮件邀请某人 |
| cookie | 移除某人的访问权限 |
| cookie | 列出待处理的访问请求 |
| cookie | 接受访问请求 |
| cookie | 拒绝访问请求 |
| cookie | 团队/项目访问审计,含过度共享标记 |
org(24 个,仅管理员)
工具 | 认证方式 | 描述 |
| cookie | 组织管理员及权限级别 |
| cookie | 所有团队及成员和项目数量 |
| cookie | 按类型和活跃度划分的席位明细 |
| cookie | 团队成员及角色和活跃度 |
| cookie | 所有组织成员及席位和活跃度 |
| cookie | 每席位定价 |
| cookie | 更改用户的席位类型 |
| cookie | 发票历史记录和账单状态 |
| cookie | 未结和即将到期的发票 |
| cookie | 已付发票/付款历史记录 |
| cookie | 域名配置和 SSO/SAML |
| cookie | AI 积分使用情况(根据团队解析套餐) |
| cookie | 触发所有成员的 CSV 导出 |
| cookie | 组织审计日志,支持电子邮件筛选和分页 |
| cookie | 创建用户组 |
| cookie | 删除用户组 |
| cookie | 按电子邮件将成员添加到用户组 |
| cookie | 从用户组移除成员 |
| cookie | 从组织永久移除成员 |
| cookie | 组织快照:团队、席位、账单 |
| cookie | 非活跃席位检测及成本分析 |
| cookie | 审计并执行用户离职(软或硬) |
| cookie | 批量邀请加入团队、共享文件、设置席位 |
| cookie | 席位利用率、账单、团队、资源库采用情况 |
teams(5 个,仅管理员)
工具 | 认证方式 | 描述 |
| cookie | 创建团队 |
| cookie | 重命名团队 |
| cookie | 删除团队 |
| cookie | 按电子邮件添加成员 |
| cookie | 移除成员 |
analytics(2 个,仅管理员)
工具 | 认证方式 | 描述 |
| cookie | 团队级资源库采用指标 |
| cookie | 按文件统计的组件使用情况 |
comments(9 个)
工具 | 认证方式 | 描述 |
| pat | 带线程结构的评论 |
| pat | 发布评论 |
| pat | 删除评论 |
| cookie | 解决或取消解决评论线程 |
| cookie | 编辑现有评论的文本 |
| pat | 评论上的表情反应 |
| pat | 添加表情反应 |
| pat | 移除表情反应 |
| pat | 项目中未解决的评论 |
versions(2 个)
工具 | 认证方式 | 描述 |
| pat | 版本历史记录 |
| cookie | 创建命名版本检查点 |
branches(4 个)
工具 | 认证 | 描述 |
| either | 列出文件的分支 |
| cookie | 创建分支 |
| cookie | 归档分支 |
| either | 过期分支检测,可选归档 |
读取 (2)
工具 | 认证 | 描述 |
| pat | 以节点树形式读取文件,支持深度控制 |
| pat | 按 ID 读取特定节点 |
导出 (2)
工具 | 认证 | 描述 |
| pat | 导出为 PNG、SVG、PDF 或 JPG |
| pat | 所有用作填充的图片的 URL |
组件 (7)
工具 | 认证 | 描述 |
| pat | 从文件发布的组件 |
| pat | 文件中的样式 |
| pat | 跨团队的已发布组件 |
| pat | 跨团队的已发布样式 |
| pat | 文件上的开发资源(链接、注释) |
| pat | 将开发资源附加到节点 |
| pat | 移除开发资源 |
Webhooks (5)
工具 | 认证 | 描述 |
| pat | 列出团队的网络钩子 |
| pat | 创建网络钩子订阅 |
| pat | 更新网络钩子 |
| pat | 删除网络钩子 |
| pat | 投递历史(最近 7 天) |
变量 (3,企业版)
工具 | 认证 | 描述 |
| pat | 本地变量和集合 |
| pat | 来自库的已发布变量 |
| pat | 批量创建、更新或删除变量 |
库 (1)
工具 | 认证 | 描述 |
| cookie | 带共享信息的设计系统库 |
安全
所有 ID 参数均根据 /^[\w.:-]+$/ 进行验证。速率限制重试仅限于安全的 HTTP 方法——变更操作绝不重试。计费响应会去除 PII。破坏性操作默认采用 dry-run 模式。组织移除需要明确的二次确认。配置文件以 0o600 权限存储。
已知限制
list_favorites:Figma 服务器上的 BigInt 溢出错误。
favorite_file正常工作。分支合并 / 版本恢复:需要 Figma 的多玩家协议,没有 REST 端点。
Cookie 过期:约 30 天。运行
figmanage login --refresh续期。Windows Cookie:尽力而为的 DPAPI 提取。回退到仅 PAT 模式。
变量:企业级作用域。
用户组:只写(创建、删除、添加/移除成员)。没有列表端点——Figma 在服务端渲染页面。
开发
git clone https://github.com/dannykeane/figmanage.git
cd figmanage
npm install
npm run build
npm test三层架构:operations 持有所有业务逻辑,tools 和 CLI 是薄包装层。
src/
index.ts Entry: --setup, --mcp, or CLI mode
mcp.ts MCP server setup, admin detection, toolset presets
setup.ts Cross-platform Chrome cookie extraction
auth/ AuthConfig from env vars and config file
clients/ Axios clients for internal (cookie) and public (PAT) APIs
operations/ Shared business logic (19 modules)
tools/ MCP tool wrappers (thin, call operations)
cli/ CLI Commander wrappers (thin, call operations)
types/figma.ts Shared types including Toolset union许可证
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP (Multi-Agent Conversation Protocol) Server that enables interaction with the Figma REST API, auto-generated using AG2's MCP builder.1
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to create, modify, and manage Figma designs through natural language commands via a specialized MCP server and plugin bridge. It supports a wide range of operations including element creation, property modification, component management, and accessibility checks.7103MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that connects AI clients to Figma, enabling real-time reading, creation, and modification of designs using natural language.MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server that provides write access to Figma through the Plugin API, enabling AI agents to create, modify, and manage Figma designs programmatically.23
Related MCP Connectors
The Figma MCP server brings Figma design context directly into your AI workflow.
Free public MCP for AI agents — 193 tools, 44 workflows. No API key.
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dannykeane/figmanage'
If you have feedback or need assistance with the MCP directory API, please join our Discord server