Skip to main content
Glama
dannykeane

figmanage

by dannykeane

figmanage

让智能体管理你的 Figma 工作区。席位、团队、权限、账单、离职交接、清理——全部通过对话完成,无需在管理面板中逐个点击。

每个 Figma MCP 都是设计转代码。figmanage 是管理层:102 个工具让智能体直接操作工作区本身。兼容 Claude Code、Cursor、OpenClaw,也可作为独立 CLI 使用。

npm downloads tests license MCP

示例

工作区管理(管理员)

"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 仅暴露特定工具组:

预设

包含内容

starter

导航、读取、评论、导出

admin

导航、组织、权限、分析、团队、资源库

readonly

导航、读取、评论、导出、组件、版本

full

全部(默认)

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_PATFIGMA_AUTH_COOKIE 等)会覆盖配置文件。可通过 --mcp --http <port> 使用 HTTP 传输。

工具参考

下表显示 MCP 工具名称(snake_case)。CLI 对应名称使用 kebab-case:list_recent_files 变为 figmanage navigate list-recent-files

navigate(10 个)

工具

认证方式

描述

check_auth

任一

验证 PAT 和 cookie 认证

list_orgs

cookie

列出可用的 Figma 工作区

switch_org

cookie

切换当前会话的活跃工作区

list_teams

cookie

列出组织中的团队

list_projects

任一

列出团队中的项目

list_files

任一

列出项目中的文件

list_recent_files

cookie

最近查看/编辑的文件

search

cookie

在工作区中搜索文件

get_file_info

任一

文件元数据:名称、项目、团队、链接访问权限

list_favorites

cookie

收藏的文件(已损坏——Figma BigInt 错误)

files(10 个)

工具

认证方式

描述

create_file

cookie

创建设计、白板、幻灯片或网站文件

rename_file

cookie

重命名文件

move_files

cookie

在项目之间移动文件(批量)

duplicate_file

cookie

复制文件

trash_files

cookie

将文件移至回收站(批量)

restore_files

cookie

从回收站恢复文件(批量)

favorite_file

cookie

添加/移除收藏

set_link_access

cookie

设置链接共享级别

file_summary

pat

页面、组件、样式、评论数量

cleanup_stale_files

任一

查找旧文件,可选择移入回收站(默认仅预览)

projects(8 个)

工具

认证方式

描述

create_project

cookie

在团队中创建项目

rename_project

cookie

重命名项目

move_project

cookie

将项目移至另一个团队

trash_project

cookie

将项目移至回收站

restore_project

cookie

从回收站恢复项目

set_project_description

cookie

设置或更新项目描述

organize_project

cookie

批量将文件移入项目

setup_project_structure

cookie

根据计划创建多个项目

permissions(8 个)

工具

认证方式

描述

get_permissions

cookie

列出有权访问的人员及角色

set_permissions

cookie

更改用户的访问级别

share

cookie

通过电子邮件邀请某人

revoke_access

cookie

移除某人的访问权限

list_role_requests

cookie

列出待处理的访问请求

approve_role_request

cookie

接受访问请求

deny_role_request

cookie

拒绝访问请求

permission_audit

cookie

团队/项目访问审计,含过度共享标记

org(24 个,仅管理员)

工具

认证方式

描述

list_admins

cookie

组织管理员及权限级别

list_org_teams

cookie

所有团队及成员和项目数量

seat_usage

cookie

按类型和活跃度划分的席位明细

list_team_members

cookie

团队成员及角色和活跃度

list_org_members

cookie

所有组织成员及席位和活跃度

contract_rates

cookie

每席位定价

change_seat

cookie

更改用户的席位类型

billing_overview

cookie

发票历史记录和账单状态

list_invoices

cookie

未结和即将到期的发票

list_payments

cookie

已付发票/付款历史记录

org_domains

cookie

域名配置和 SSO/SAML

ai_credit_usage

cookie

AI 积分使用情况(根据团队解析套餐)

export_members

cookie

触发所有成员的 CSV 导出

activity_log

cookie

组织审计日志,支持电子邮件筛选和分页

create_user_group

cookie

创建用户组

delete_user_groups

cookie

删除用户组

add_user_group_members

cookie

按电子邮件将成员添加到用户组

remove_user_group_members

cookie

从用户组移除成员

remove_org_member

cookie

从组织永久移除成员

workspace_overview

cookie

组织快照:团队、席位、账单

seat_optimization

cookie

非活跃席位检测及成本分析

offboard_user

cookie

审计并执行用户离职(软或硬)

onboard_user

cookie

批量邀请加入团队、共享文件、设置席位

quarterly_design_ops_report

cookie

席位利用率、账单、团队、资源库采用情况

teams(5 个,仅管理员)

工具

认证方式

描述

create_team

cookie

创建团队

rename_team

cookie

重命名团队

delete_team

cookie

删除团队

add_team_member

cookie

按电子邮件添加成员

remove_team_member

cookie

移除成员

analytics(2 个,仅管理员)

工具

认证方式

描述

library_usage

cookie

团队级资源库采用指标

component_usage

cookie

按文件统计的组件使用情况

comments(9 个)

工具

认证方式

描述

list_comments

pat

带线程结构的评论

post_comment

pat

发布评论

delete_comment

pat

删除评论

resolve_comment

cookie

解决或取消解决评论线程

edit_comment

cookie

编辑现有评论的文本

list_comment_reactions

pat

评论上的表情反应

add_comment_reaction

pat

添加表情反应

remove_comment_reaction

pat

移除表情反应

open_comments

pat

项目中未解决的评论

versions(2 个)

工具

认证方式

描述

list_versions

pat

版本历史记录

create_version

cookie

创建命名版本检查点

branches(4 个)

工具

认证

描述

list_branches

either

列出文件的分支

create_branch

cookie

创建分支

delete_branch

cookie

归档分支

branch_cleanup

either

过期分支检测,可选归档

读取 (2)

工具

认证

描述

get_file

pat

以节点树形式读取文件,支持深度控制

get_nodes

pat

按 ID 读取特定节点

导出 (2)

工具

认证

描述

export_nodes

pat

导出为 PNG、SVG、PDF 或 JPG

get_image_fills

pat

所有用作填充的图片的 URL

组件 (7)

工具

认证

描述

list_file_components

pat

从文件发布的组件

list_file_styles

pat

文件中的样式

list_team_components

pat

跨团队的已发布组件

list_team_styles

pat

跨团队的已发布样式

list_dev_resources

pat

文件上的开发资源(链接、注释)

create_dev_resource

pat

将开发资源附加到节点

delete_dev_resource

pat

移除开发资源

Webhooks (5)

工具

认证

描述

list_webhooks

pat

列出团队的网络钩子

create_webhook

pat

创建网络钩子订阅

update_webhook

pat

更新网络钩子

delete_webhook

pat

删除网络钩子

webhook_requests

pat

投递历史(最近 7 天)

变量 (3,企业版)

工具

认证

描述

list_local_variables

pat

本地变量和集合

list_published_variables

pat

来自库的已发布变量

update_variables

pat

批量创建、更新或删除变量

库 (1)

工具

认证

描述

list_org_libraries

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

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables 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.
    7
    103
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server that connects AI clients to Figma, enabling real-time reading, creation, and modification of designs using natural language.
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that provides write access to Figma through the Plugin API, enabling AI agents to create, modify, and manage Figma designs programmatically.
    23

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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