Skip to main content
Glama
figma-comments-mcp

figma-comments-mcp

Figma Comments MCP

An MCP server for Claude Code that fetches comments from any Figma file link, plus a triage skill that sorts them into what the team needs to do: decisions, open questions, who's waiting on whom, and who owns each to-do.

Tools

Tool

What it returns

get_all_comments

Every comment thread in the file

get_unresolved_comments

Threads not yet marked resolved in Figma

get_comments_mentioning_me

Threads where you are @mentioned (detected from your token, no config)

get_recent_comments

Threads with activity in the past 24 hours (or a custom hours)

reply_to_comment

Posts a reply to a thread (needs the write scope, see below)

The fetch tools take a figma.com link (or bare file key) and return threads grouped by the canvas element each comment is pinned to, with authors, replies, @mentions, age, the page it sits on, and a deep link back to the comment in Figma.

Output is deliberately compact to keep Claude's context cost low: resolved threads come back as a count only, messages are capped at 300 characters, and at most max_threads unresolved threads (default 50, newest first) are shown, with a note on how to narrow further. Deep links are built from one pattern in the header rather than repeated per thread.

Every fetch tool also accepts three optional narrowing arguments. In Claude Code, just say it: "unresolved comments on the Homepage page of ", "what has Sarah commented?", "any comments about the pricing table?".

  • page — one page only, by name ("Homepage") or id ("1:2" / "1-2"). If the name doesn't match, the error lists the file's pages. Figma's comments API itself is file-wide, so comments are anchored via the page's top-level frames; in rare cases a comment pinned to a deeply nested element may not resolve to a page and only appears in unfiltered results.

  • author — threads where this person wrote a message (partial, case-insensitive).

  • search — threads whose text contains a keyword (case-insensitive).

reply_to_comment lets Claude answer a thread for you ("reply 'on it' to that one"). It posts as the token owner and only works if your token has the File comments (write) scope; with a read-only token the fetch tools still work and only replying fails.

Related MCP server: Figma Comments MCP

Setup

  1. Figma token. figma.com → Settings → Security → Personal access tokens. Create one with the File comments scope: read is enough for fetching, write if you also want reply_to_comment.

  2. Save the token. Paste this in the terminal, replacing your-token-here with the token you copied:

    echo "FIGMA_TOKEN=your-token-here" > ~/.figma-comments-mcp.env

    That creates a small file in your home folder. The token stays on your machine and is only ever sent to Figma. When the token expires, repeat this step with a new one. (A FIGMA_TOKEN environment variable also works and takes precedence, if you prefer that.)

  3. Register with Claude Code.

    claude mcp add figma-comments -- npx -y figma-comments-mcp

    Or, running from a clone of this repo:

    npm install
    npm run build
    claude mcp add figma-comments -- node /path/to/figma-comments-mcp/dist/server.js
  4. Use it. In a Claude Code session:

    Triage the comments in https://www.figma.com/design/abc123/My-File

The triage skill

The server fetches and filters; the actual sorting intelligence lives in a skill, a markdown file at .claude/skills/figma-comment-triage/SKILL.md that teaches Claude how to read the threads. It sorts every unresolved thread into four categories, in this order:

  1. Needs a decision — explicit "should we A or B" threads, plus conflicts: because threads arrive grouped by canvas element, the skill compares takes on the same element and flags it when two people argue opposite directions, quoting both positions.

  2. Open questions — unanswered questions, each with who it's waiting on (inferred from @mentions or who spoke last).

  3. Waiting for — threads blocked on something promised or external, with what and how long.

  4. To-dos — actionable requests with an inferred owner, marked unassigned when nobody has picked it up, so tasks don't silently fall to nobody.

Anything older than 7 days gets called out as stale, every item links back to the comment in Figma, and resolved threads are reported as one closing count line.

To get it: copy the .claude/skills/figma-comment-triage folder into your own project's .claude/skills/ folder (the npm package ships only the server, so the skill comes from this repo). Without it, Claude still fetches and sorts comments when asked; the skill is what makes the triage consistent and opinionated. It's also plain markdown, so if you want different categories or rules, edit the file. No rebuild needed.

Quick manual check

Test the fetcher against a real file without going through MCP:

FIGMA_TOKEN=<your-token> npm run probe -- https://www.figma.com/design/abc123/My-File

Prints the token owner, thread counts, and the raw grouped JSON.

Project layout

src/
├── core/          # transport-agnostic: API client, threading, filters
│   ├── figma.ts
│   └── filters.ts
├── tools.ts       # MCP tool definitions (Figma client injected)
├── server.ts      # local stdio entry point (token from env)
└── probe.ts       # manual CLI check

core/ and tools.ts never touch env vars, the filesystem, or stdio. A future hosted version (Cloudflare Workers + Figma OAuth) only needs a new entry point next to server.ts.

A note from the maker

I'm a designer, and this is my first published developer tool. I built it because I kept opening Figma files to forty comment bubbles with no way to tell which ones actually needed me. It's been solid in my own daily use, but there may be rough edges I haven't hit yet. If something breaks or behaves oddly, open an issue and I'll take a look.

Licence

MIT

Available Tools

5 tools
get_all_commentsGet all commentsA

Fetch every comment thread in a Figma file, grouped by page and the canvas element each thread is pinned to. Resolved threads are returned as a count only. Prefer a narrower tool (unresolved/recent/mentions, or the page argument) when it answers the question.

Inputs: url (required), page, author, search, +1 more.

get_comments_mentioning_meGet comments mentioning meB

Comment threads where the owner of the Figma token is @mentioned.

Inputs: url (required), page, author, search, +1 more.

get_recent_commentsGet recent commentsC

Comment threads with activity in the past N hours (default 24).

Inputs: url (required), page, author, search, +2 more.

get_unresolved_commentsGet unresolved commentsC

Comment threads not yet marked resolved in Figma.

Inputs: url (required), page, author, search, +1 more.

reply_to_commentReply to a commentA

Post a reply to an existing comment thread in a Figma file. Use a thread id from the [brackets] in fetch output as comment_id. Requires the Figma token to have the File comments write scope.

Inputs: url (required), comment_id (required), message (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool targets a clearly distinct subset of comments: all, unresolved, recent, mentions, or replying. No overlap in purpose.

    Naming Consistency4/5

    Most tools follow `get_<modifier>_comments` pattern, but `reply_to_comment` breaks the verb prefix convention. Still clear and predictable overall.

    Tool Count5/5

    Five tools is well-scoped for a Figma comments server, covering core read operations and a write operation without overwhelming.

    Completeness3/5

    Reading and replying are covered, but there is no tool to create a new comment thread, which is a notable omission for a comments-focused server.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      A lightweight MCP server that adds Figma Comments support to AI assistants, enabling reading, querying, and replying to comments via the Figma REST API.
      15 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      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.
      15 npm
      4
      ISC
    • F
      license
      Not graded
      quality
      D
      maintenance
      Custom MCP server for the Figma REST API that enables inspecting file structures, nodes, styles, components, variables, and exporting images, with optional comment posting. It is read-only except for posting comments and is designed for use with Claude Code.
      2,341 npm
      -