Figma MCP server for AI agents
Read Figma files, render nodes as images, browse team folders and libraries, and manage comments and dev resources.
Runs with your users' own Figma accounts. Credentials stay on prompt-tm.com.
24 tools · 0 triggers
- Auth
- API key · OAuth 2.0 (sign in with the app)
- Tools
- 24
- Triggers
- 0
- Category
- Productivity, Developer tools
Tools and triggers
Get the current user
FIGMA_GET_ME
Returns the user the token belongs to: ID, handle, email and profile image.read-only
Get a file
FIGMA_GET_FILE
Returns a file's document tree as JSON: pages, frames and layers, plus its components and styles. For a large file, pass `depth` or `ids` to fetch less.read-only
Get file nodes
FIGMA_GET_FILE_NODES
Returns only the given nodes of a file, with their children, as JSON. Node IDs appear in a file's tree and as `node-id` in Figma URLs (with `-` in place of `:`).read-only
Get file metadata
FIGMA_GET_FILE_META
Returns a file's name, editor type, creator, last editor, last modified time, thumbnail, URL and version, without the document tree.read-only
Render nodes as images
FIGMA_GET_IMAGES
Renders nodes of a file as PNG, JPG, SVG or PDF and returns a temporary image URL for each node ID. The URLs expire after 30 days.read-only
Get image fills
FIGMA_GET_IMAGE_FILLS
Returns download URLs for every image used as an image fill in a file (the images people placed in it), keyed by the `imageRef` found in the file's tree. The URLs expire within 14 days.read-only
List file versions
FIGMA_GET_FILE_VERSIONS
Lists a file's version history: ID, label, description, author and time of each saved version. Pass a version ID to Get a file or Render nodes as images to read that version.read-only
List team folders
FIGMA_GET_TEAM_FOLDERS
Lists the top-level folders (formerly projects) of a team. The API can't list teams: the team ID is the number after `/team/` in the team page's URL.read-only
List subfolders
FIGMA_GET_FOLDER_FOLDERS
Lists the folders directly inside a folder.read-only
List files in a folder
FIGMA_GET_FOLDER_FILES
Lists the files directly inside a folder: key, name, thumbnail and last modified time.read-only
List comments
FIGMA_GET_COMMENTS
Lists the comments and replies on a file, with author, text, position and resolved state.read-only
Add a comment
FIGMA_POST_COMMENT
Posts a comment on a file, optionally pinned to a position or node, or replies to an existing comment.
Delete a comment
FIGMA_DELETE_COMMENT
Deletes a comment. Only its author can delete it.destructive
List comment reactions
FIGMA_GET_COMMENT_REACTIONS
Lists the emoji reactions on a comment, one page at a time.read-only
React to a comment
FIGMA_POST_COMMENT_REACTION
Adds an emoji reaction to a comment.
List file components
FIGMA_GET_FILE_COMPONENTS
Lists the published components of a library file: key, name, description and thumbnail.read-only
List file component sets
FIGMA_GET_FILE_COMPONENT_SETS
Lists the published component sets (components with variants) of a library file.read-only
List file styles
FIGMA_GET_FILE_STYLES
Lists the published color, text, effect and grid styles of a library file.read-only
List team components
FIGMA_GET_TEAM_COMPONENTS
Lists the components published to a team's library, one page at a time.read-only
List team styles
FIGMA_GET_TEAM_STYLES
Lists the styles published to a team's library, one page at a time.read-only
Get a component
FIGMA_GET_COMPONENT
Returns a published component's metadata by key: name, description, thumbnail and the file and node it lives in.read-only
List dev resources
FIGMA_GET_DEV_RESOURCES
Lists the dev resources (links to code, docs or tickets) attached to nodes in a file.read-only
Add dev resources
FIGMA_POST_DEV_RESOURCES
Attaches links to code, docs or tickets to nodes, across one or more files. Created links come back in `links_created`, failures in `errors`.
Get local variables
FIGMA_GET_LOCAL_VARIABLES
Lists the variables and variable collections defined in a file, and the library variables it uses (referenced by `subscribed_id`). Only for full members of Enterprise organizations.read-only
Try Figma now
Sign in, connect your account and run any of these in the playground, or ask your agent through the router.
Try it freeConnect via MCP
Create an MCP server for Figma in the dashboard, then add its URL to your client. This is the Claude Code command; the client guide has the others.
claude mcp add --transport http figma \
"https://www.prompt-tm.com/mcp/<server id>?user_id=<your user>" \
--header "x-api-key: ptm_…"Connect via REST
Run a tool with one request. The response is { data, error, successful, log_id } for every tool.
curl -X POST https://www.prompt-tm.com/api/v3/tools/execute/FIGMA_GET_ME \
-H "x-api-key: $PROMPT_TM_KEY" -H "content-type: application/json" \
-d '{ "user_id": "alice", "arguments": {} }'