figma-comments-mcp

figma-comments-mcp

An MCP server that lets Claude read Figma file comments directly, with tools to list comment threads scoped to a frame or file and render images of pinned nodes.

Category
访问服务器

README

figma-comments-mcp

Lets Claude read your Figma feedback — comment threads and Dev Mode annotations — so you don't have to retype it.

Design feedback lives in Figma. The agent can't see it. So every round meant reading comments in Figma, retyping them into Claude, and getting the change back — with me as the copy-paste layer in between.

Now: leave your comments in Figma, paste the frame link, and Claude reads them and makes the changes.

What it does

Two tools.

list_figma_comments — reads the comment threads and annotations on a file, or on one frame within it. Each one is resolved to the layer it's pinned to, so a comment arrives as "on 01 · Results — default" rather than a node id.

rNK3UkoeLnbBHHYQiv9MW8 · frame 132:5 "01 · Results — default" · 1 thread · 1 annotation

1873426532 · Eun Ji Jung · 2026-08-05 19:22
  on 132:5 "01 · Results — default" FRAME
  have hover states

annotation on 132:258 "Overview" FRAME
  allow for collapsing panels

get_figma_comment_image — renders the layer a comment is pinned to. For when the comment is spatial ("too much space here") and the words alone aren't enough, or when it's pinned to a pasted screenshot whose layer name is something useless like image 21.

It only reads. It never writes to Figma, edits your designs, or posts replies.

Two behaviours worth knowing:

  • A frame link reads only that frame. Any Figma URL copied with a frame selected carries ?node-id=, and the tool scopes to it — including everything nested inside, excluding the section around it. It always reports how many threads it left out. Pass scope: "file" for the whole file.
  • Annotations are not comments. Dev Mode annotations are a separate Figma feature, invisible to the comments API, and easy to forget you left. Both counts are on the headline so a frame never looks emptier than it is.

Setup

Node 20 or newer.

1. Clone and build

git clone https://github.com/ejun-9/figma-comments-mcp.git
cd figma-comments-mcp
npm install
npm run build

The client runs dist/, not src/, so the build isn't optional.

2. Make a Figma token

Figma → your avatar → Settings → Security → Personal access tokens → Generate new token.

You need two scopes, both read-only:

Scope Set to
File content Read-only
Comments Read-only

File content alone is the easy mistake — the server starts fine, resolves layer names fine, then returns a 403 the moment it asks for comments.

Copy the token when it's shown. Figma won't show it again.

3. Point your client at it

Claude Code:

claude mcp add figma-comments --env FIGMA_TOKEN=figd_your_token_here -- node /absolute/path/to/figma-comments-mcp/dist/index.js

Claude Desktop — edit ~/Library/Application Support/Claude/claude_desktop_config.json (Windows: %APPDATA%\Claude\claude_desktop_config.json):

{
  "mcpServers": {
    "figma-comments": {
      "command": "node",
      "args": ["/absolute/path/to/figma-comments-mcp/dist/index.js"],
      "env": { "FIGMA_TOKEN": "figd_your_token_here" }
    }
  }
}

The path must be absolute — ~ won't resolve.

4. Restart the client

MCP servers are spawned once at launch. Editing the config or rebuilding dist/ does nothing to a session that's already running. This catches everyone at least once.

5. Check it works

Before involving the client at all:

FIGMA_TOKEN=figd_your_token_here npm run try -- "https://figma.com/design/<key>/...?node-id=1-2"

If that prints threads and your client shows nothing, the problem is the config or the restart — not the token.

Using it

Copy a link from Figma with the frame selected, and ask:

"Read the comments on https://figma.com/design/abc123/...?node-id=132-5 and apply them."

"What's still open across the whole file?"

"What did I annotate on this frame?"

Troubleshooting

What you see What it is
403 on every call Token is missing the Comments scope, or it expired. File content alone isn't enough.
403 on some calls only Token works, but the account can't see this file. Check you can open it in the browser as the same user.
404 on a file that exists Wrong file key, or the file belongs to an org the token's account isn't in.
429 Figma rate limit. Wait and retry.
FIGMA_TOKEN is not set The client isn't passing the env var — it goes in the server's env block, not your shell.
Server not listed in the client Restart it. See step 4.
Changes to src/ do nothing npm run build, then restart the client.
No node "1:2" in this file The node-id is from a different file. Pass scope: "file" to search everything.

Notes

  • TypeScript on @modelcontextprotocol/server v2, over stdio. Hits the Figma REST API with fetch — no SDK.
  • Auth is the X-Figma-Token header. figd_ tokens reject Authorization: Bearer, which is the first thing to check on a 401 or 403.
  • Read-only endpoints used: /v1/files/:key/comments, /v1/files/:key/nodes, /v1/files/:key, /v1/images/:key.
  • Built with Claude.

License

ISC.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选