figma-mcp
Provides tools for interacting with the Figma REST API: retrieving the authenticated user, files, and node data; rendering nodes as images; listing image fills; and reading or posting comments.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@figma-mcp export node 12:34 from my Figma file as a PNG"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
figma-mcp
MCP server for the Figma REST API (stdio). TypeScript; only dependencies are the MCP SDK + zod.
Tools
Tool | What it does | Writes |
| Token user, sanity check | no |
| File as document tree (limit | no |
| Full node data (fills, layout, text) for node IDs | no |
| Render nodes as PNG/JPG/SVG/PDF, temporary URLs | no |
| URLs of all image fills in a file | no |
| Read comments | no |
| Post a comment, optionally pinned to a node | yes |
Related MCP server: figma-mcp-proxy
Setup
Create a personal access token: https://www.figma.com/settings → Security → Personal access tokens (scope
file_content:readat minimum; comments scope forfigma_post_comment).MCP client configuration:
{
"mcpServers": {
"figma": {
"command": "node",
"args": ["<absolute-path>/figma-mcp/dist/index.js"],
"env": { "FIGMA_API_KEY": "figd_YOUR_TOKEN" }
}
}
}Restart your MCP client.
Usage notes
File key = the part of a Figma URL between
/design/and the next/.Node ID =
12:34format. Right-click → "Copy link to selection" givesnode-id=12-34→ use12:34.Large files: start with
figma_get_fileatdepth=1..2, then go deeper withfigma_get_file_nodes.
Dev
npm install
npm run buildLicense
MIT
Available Tools
7 toolsfigma_get_commentsGet file commentsCRead-onlyIdempotent
Returns all comments on a Figma file.
Inputs: file_key (required).
figma_get_fileGet Figma fileARead-onlyIdempotent
Returns a Figma file as a document tree (pages, frames, layers). Large files return huge payloads — start with depth=1 or depth=2, then drill in with figma_get_file_nodes.
Inputs: file_key (required), depth.
figma_get_file_nodesGet specific nodes of a Figma fileARead-onlyIdempotent
Returns full node data (fills, layout, dimensions, text) for specific node IDs. Use after figma_get_file to drill into a frame or component.
Inputs: file_key (required), node_ids (required).
figma_get_image_fillsGet image fill URLsBRead-onlyIdempotent
Returns URLs for all images used as fills in a file (photos embedded in the design).
Inputs: file_key (required).
figma_get_imagesExport nodes as imagesARead-only
Renders Figma nodes as PNG/JPG/SVG/PDF and returns temporary download URLs (valid ~30 days). Use to look at a design: render a frame and view the image.
Inputs: file_key (required), node_ids (required), scale, format.
figma_get_meGet authenticated userARead-onlyIdempotent
Returns the Figma user the token belongs to. Use first to verify the token works.
Inputs: no named parameters.
figma_post_commentPost a commentC
Posts a comment on a Figma file. Optionally pins the comment to a node.
Inputs: message (required), file_key (required), node_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Most tools target clearly distinct resources (user, comments, file tree, nodes, rendered images). The one pair that could be confused is figma_get_image_fills (embedded photo assets) vs figma_get_images (rendered node exports), but the descriptions make the distinction explicit, and figma_get_file vs figma_get_file_nodes is clearly framed as a drill-down workflow.
Every tool follows the same figma_<verb>_<noun> pattern with consistent snake_case, and get_/post_ verbs map cleanly to read vs write. The shared prefix also makes the tools trivially groupable in a multi-server context.
Seven tools is well-scoped for a Figma read/inspect server: each one covers a distinct facet (auth check, file tree, nodes, image fills, renders, comment read, comment write). Nothing feels redundant or padded.
The read path is fully covered end to end—verify token, walk the document tree, drill into nodes, resolve assets, render images, and read/post comments. Gaps remain around write operations (no creating/updating nodes or styles), no project/team file listing, and no comment resolution or deletion, but these are workable omissions for an inspection-focused server.
Maintenance
Related MCP Connectors
Read spaces, collections, pages and content; search docs and manage GitBook organization spaces.
Browse OfficeRnD members, bookings, memberships, invoices and tickets, with optional write access.
Read-only design skills, components and tokens from your Alpy library for any AI agent.
Read forms, responses and analytics; create forms and publish drafts in Tally.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables integrating Figma with AI assistants like Claude Desktop and Gemini CLI for accessing and managing Figma design files.716 npm13MIT
- AlicenseNot gradedqualityDmaintenanceA read-only MCP proxy for the Figma REST API, providing tools to fetch design context, file data, images, comments, and user info using a personal access token. Designed for MCP clients that cannot use Figma's official OAuth flow.MIT
- FlicenseNot gradedqualityDmaintenanceEnables read-only access to Figma files, nodes, styles, and image assets via the Figma REST API for any MCP client, using your own personal access token.-
- AlicenseNot gradedqualityBmaintenanceEnables reading Figma design data through the Figma REST API — fetching files and nodes, rendering node images, listing image fills, styles and components, browsing team projects and project files, and reading or posting file comments. Authenticates with a Figma personal access token.57 npmMIT