原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Figma MCP Server

作者:oabolade版本 2.1.0i★ –i在你的电脑上运行
注册名称io.github.oabolade/figma_mcp_server_actor

安装

概览

作者提供的说明(英文原文)

MCP server enabling AI assistants to interact with Figma designs via natural language commands

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 设计、图片与音频
  • 你需要填写:FIGMA_ACCESS_TOKEN

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: FIGMA_ACCESS_TOKEN

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "figma-actor": {
      "command": "npx",
      "args": [
        "-y",
        "@oabolade-pegasus/figma-mcp-server"
      ],
      "env": {
        "FIGMA_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add figma-actor --env FIGMA_ACCESS_TOKEN=your-value -- npx -y @oabolade-pegasus/figma-mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "figma-actor": {
      "command": "npx",
      "args": [
        "-y",
        "@oabolade-pegasus/figma-mcp-server"
      ],
      "env": {
        "FIGMA_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "figma-actor": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@oabolade-pegasus/figma-mcp-server"
      ],
      "env": {
        "FIGMA_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • FIGMA_ACCESS_TOKEN 机密 必填 env
    Figma Personal Access Token for API authentication. Get yours at https://www.figma.com/developers/api#access-tokens

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 oabolade 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“设计、图片与音频”中的其他服务器比较i

  • 星标数多于此分类中其他 2751 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2751 个服务器的 1% 更新
  • 基础检查结果等于或优于此分类中其他 2751 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Figma MCP Server 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:FIGMA_ACCESS_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(2.1.0)于11个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Figma Context MCP, Claude Real Video, Figma MCP Server

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Figma Context MCP

作者:GLips

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

在你的电脑上运行★ 16,165MIT5个月前更新
安装

Claude Real Video

作者:HUANGCHIHHUNGLeo

Let any LLM watch a video locally — and search everything it has ever watched.

在你的电脑上运行★ 2,284MIT2个月前更新
安装

Figma MCP Server

作者:figma

The Figma MCP server brings Figma design context directly into your AI workflow.

在云端运行★ 2,15213个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Figma MCP Server (Apify Actor)

Model Context Protocol (MCP) server that exposes Figma REST API capabilities to AI assistants (Cursor, Claude, custom agents). Runs as a long-running web server on the Apify platform (standby / container URL) or locally via apify run.

Features

  • File analysis — structure, metadata, styles, depth-limited trees
  • Components — list, details, usage
  • Assets — export nodes (PNG, SVG, PDF, JPG)
  • Comments — read and create
  • Projects / teams — listings and metadata
  • MCP resources & prompts for guided workflows

Authentication

Personal Access Token (default)

Recommended for solo use. Set `figmaAccessToken` in Actor input (or FIGMA_ACCESS_TOKEN in env).

OAuth 2.0 (optional — team / shared files)

Use when you omit figmaAccessToken and provide a Figma OAuth app:

InputPurpose
oauthClientIdFrom Figma → Developers → Apps
oauthClientSecretSame app
oauthRedirectUriExact redirect URL registered on the app, e.g. https:// .runs.apify.net/oauth/callback
oauthScopesOptional; comma-separated scopes. Must be a subset of the app’s configured scopes. Defaults include file_content:read, file_content:write, file_comments:read, file_comments:write.

Flow

  1. Start the Actor with OAuth fields filled and no PAT.
  2. Open `GET https:// /oauth/authorize` in a browser (normal browser — not an embedded WebView; Figma requirement).
  3. After consent, Figma redirects to `/oauth/callback`; tokens are stored in the run’s default key-value store (FIGMA_OAUTH_SESSION) and refreshed when near expiry.

Token exchange uses Figma’s documented endpoints (https://api.figma.com/v1/oauth/token and .../oauth/refresh). Codes expire quickly — complete the redirect promptly.

Requirements

  • Node.js ≥ 20
  • Apify account (for cloud)
  • Figma PAT and/or OAuth app

Quick start (Apify Cloud)

npm install

apify login apify push

In Apify Console, open the Actor, set input (at minimum figmaAccessToken), start with web server / long-running as required by your template, then use the Container URL from the run.

Deploy reference: apify push builds and publishes; see Apify CLI.

Configuration (input)

ParameterTypeDefaultDescription
figmaAccessTokenstring—PAT (recommended). If set, used for all Figma API calls.
portinteger8080HTTP listen port (Apify may override via web_server_port).
oauthClientIdstring—OAuth app client ID (only if not using PAT).
oauthClientSecretstring—OAuth app secret (secret input).
oauthRedirectUristring—Must match Figma app redirect URI exactly.
oauthScopesstring—Optional scope override (comma-separated).
maxConcurrentRequestsinteger10Reserved / future use.
enableCachingbooleantrueCache GET responses from Figma.

Local / CLI input file example (apify run):

{

"figmaAccessToken": "figd_...", "port": 8080 }

HTTP API

MethodPathDescription
GET/Service info and endpoint list
GET/healthLiveness; includes auth_mode: pat \oauth \pending_oauth, figma_authenticated
POST/mcpMCP JSON-RPC 2.0 (primary transport for this server)
GET/oauth/authorizeStart OAuth (browser); disabled if PAT is set
GET/oauth/callbackOAuth redirect handler

Apify MCP path: .actor/actor.json sets webServerMcpPath to `/mcp`. Your MCP client URL is typically:

https:// .runs.apify.net/mcp

(Use the Container URL from the run page + /mcp.)

Cursor IDE

  1. Deploy and start the Actor; copy the run Container URL (while status is RUNNING).
  2. Edit `~/.cursor/mcp.json` (paths differ on Windows/Linux — see Cursor docs).

Example (remote HTTP MCP — adjust to your Cursor version’s expected shape):

{

"mcpServers": { "figma-mcp-standby": { "url": "https://YOUR_RUN_ID.runs.apify.net/mcp" } } }

Notes

  • `env.APIFY_TOKEN` in mcp.json is not passed to this Node process; it does not replace Figma auth. Use `figmaAccessToken` (or OAuth) in Actor input.
  • Container URLs are per run and stop working when the run ends; update mcp.json and restart Cursor after a new run.
  • If connection fails, use Cursor → Output → MCP and curl https://.../health.

Claude Desktop / other clients

Use your client’s supported way to attach a remote MCP URL (e.g. mcp-remote pointing at https://.../mcp). Paths and query params depend on the client version.

Local development

npm install

apify run

Or run the entry with Node if you inject env / input yourself:

export FIGMA_ACCESS_TOKEN="figd_..."

node src/main.js

Check health (port from logs or input):

curl -s http://localhost:8080/health | jq .

Sample MCP initialize:

curl -s -X POST http://localhost:8080/mcp \

-H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'

Project structure

figma_mcp_actor/

├── .actor/ │ ├── actor.json # Apify Actor metadata (incl. webServerMcpPath: /mcp) │ ├── input_schema.json │ ├── output_schema.json │ └── dataset_schema.json ├── src/ │ ├── main.js # Express app, /mcp, /oauth/*, Apify bootstrap │ ├── figma/ │ │ ├── auth.js # PAT + OAuth token exchange, refresh, KV hook │ │ └── client.js # Figma REST wrapper │ ├── oauth/ │ │ └── persist.js # Apify KV: FIGMA_OAUTH_SESSION │ ├── mcp/ # Protocol, handlers, server │ ├── tools/ │ ├── resources/ │ └── prompts/ ├── Dockerfile ├── package.json └── README.md

MCP tools (overview)

Includes (names may vary slightly in code): file analysis (analyze_file, get_file_structure, …), components (list_components, …), export (export_node, …), comments (get_comments, create_comment, …), design modification helpers, plus resources (figma://file/..., etc.) and prompts for common tasks.

Limitations

  • REST vs Plugin API — deep design writes may need the Plugin API; this Actor uses REST where supported.
  • Ephemeral Apify URLs — each run has a new base URL unless you use a stable hosting pattern.
  • OAuth — single stored session per run (KV); not multi-user concurrent OAuth in one process.

Scripts

npm run lint

npm run lint:fix npm run format

License

ISC

Changelog

0.2
  • Optional OAuth 2.0 (Figma authorization code + refresh); PAT remains default when set.
  • `/oauth/authorize` and `/oauth/callback`; session persisted in default KV (FIGMA_OAUTH_SESSION).
  • Input: oauthRedirectUri, oauthScopes.
  • Health JSON: auth_mode, figma_authenticated.
0.1 / 0.0.1
  • Initial MCP + Figma REST integration, PAT, long-running server, /mcp JSON-RPC.

References: Apify Actors · Figma REST API · Model Context Protocol

问 PopNx