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
Visit Server

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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured