mcp-figma

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
set_api_key

Set your Figma API personal access token (will be saved to ~/.mcp-figma/config.json)

check_api_key

Check if a Figma API key is already configured

get_file

Get a Figma file by key

get_file_nodes

Get specific nodes from a Figma file

get_image

Get images for nodes in a Figma file

get_image_fills

Get URLs for images used in a Figma file

get_comments

Get comments on a Figma file

post_comment

Post a comment on a Figma file

delete_comment

Delete a comment from a Figma file

get_team_projects

Get projects for a team

get_project_files

Get files for a project

get_team_components

Get components for a team

get_file_components

Get components from a file

get_component

Get a component by key

get_team_component_sets

Get component sets for a team

get_team_styles

Get styles for a team

get_file_styles

Get styles from a file

get_style

Get a style by key