Sign inSign up

mcpcommunity/thirdstrandstudio-figma

By mcpcommunity

Updated over 1 year ago

Figma MCP Server with full API functionality

Image
Machine learning & AI
0

1.4K

mcpcommunity/thirdstrandstudio-figma repository overview

Thirdstrandstudio-figma MCP Server

Figma MCP Server with full API functionality

What is an MCP Server?

Characteristics

AttributeDetails
Image SourceCommunity Image
Authorthirdstrandstudio
Repositoryhttps://github.com/thirdstrandstudio/mcp-figma
Dockerfilehttps://github.com/thirdstrandstudio/mcp-figma/blob/main/Dockerfile
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
LicenceMIT License

Available Tools

Tools provided by this ServerShort Description
figma_delete_commentDelete a comment from a Figma file
figma_delete_comment_reactionDelete a reaction from a comment
figma_delete_webhookDelete a webhook
figma_get_comment_reactionsGet reactions for a comment
figma_get_commentsGet comments in a Figma file
figma_get_componentGet a component by key
figma_get_component_setGet a component set by key
figma_get_fileGet a Figma file by key
figma_get_file_component_setsGet component sets in a file
figma_get_file_componentsGet components in a file
figma_get_file_nodesGet specific nodes from a Figma file
figma_get_file_stylesGet styles in a file
figma_get_file_versionsGet version history of a Figma file
figma_get_image_fillsGet image fills in a Figma file
figma_get_imagesRender images from a Figma file
figma_get_library_analytics_component_usagesGet library analytics component usage data
figma_get_library_analytics_style_usagesGet library analytics style usage data
figma_get_library_analytics_variable_usagesGet library analytics variable usage data
figma_get_meGet the current user
figma_get_project_filesGet files in a project
figma_get_styleGet a style by key
figma_get_team_component_setsGet component sets in a team
figma_get_team_componentsGet components in a team
figma_get_team_projectsGet projects in a team
figma_get_team_stylesGet styles in a team
figma_get_team_webhooksGet webhooks for a team
figma_get_webhookGet a webhook by ID
figma_post_commentAdd a comment to a Figma file
figma_post_comment_reactionAdd a reaction to a comment
figma_post_webhookCreate a webhook
figma_update_webhookUpdate a webhook

Tools Details

Tool: figma_delete_comment

Delete a comment from a Figma file

ParametersTypeDescription
commentIdstringThe ID of the comment to delete
fileKeystringThe file key to use for the operation

Tool: figma_delete_comment_reaction

Delete a reaction from a comment

ParametersTypeDescription
commentIdstringThe ID of the comment to delete a reaction from
emojistringThe emoji to remove
fileKeystringThe file key to use for the operation

Tool: figma_delete_webhook

Delete a webhook

ParametersTypeDescription
webhook_idstringThe ID of the webhook to delete

Tool: figma_get_comment_reactions

Get reactions for a comment

ParametersTypeDescription
commentIdstringThe ID of the comment to get reactions for
fileKeystringThe file key to use for the operation
cursorstring optionalCursor for pagination

Tool: figma_get_comments

Get comments in a Figma file

ParametersTypeDescription
fileKeystringThe file key to use for the operation
as_mdboolean optionalWhether to return the comments as markdown

Tool: figma_get_component

Get a component by key

ParametersTypeDescription
keystringThe key of the component to get

Tool: figma_get_component_set

Get a component set by key

ParametersTypeDescription
keystringThe key of the component set to get

Tool: figma_get_file

Get a Figma file by key

ParametersTypeDescription
fileKeystringThe file key to use for the operation
branch_databoolean optionalReturns branch metadata for the requested file
depthnumber optionalPositive integer representing how deep into the document tree to traverse
geometrystring optionalSet to "paths" to export vector data
idsstring optionalComma separated list of nodes that you care about in the document
plugin_datastring optionalA comma separated list of plugin IDs and/or the string "shared"
versionstring optionalA specific version ID to get

Tool: figma_get_file_component_sets

Get component sets in a file

ParametersTypeDescription
fileKeystringThe file key to use for the operation

Tool: figma_get_file_components

Get components in a file

ParametersTypeDescription
fileKeystringThe file key to use for the operation

Tool: figma_get_file_nodes

Get specific nodes from a Figma file

ParametersTypeDescription
fileKeystringThe file key to use for the operation
idsstringA comma separated list of node IDs to retrieve and convert
depthnumber optionalPositive integer representing how deep into the node tree to traverse
geometrystring optionalSet to "paths" to export vector data
plugin_datastring optionalA comma separated list of plugin IDs and/or the string "shared"
versionstring optionalA specific version ID to get

Tool: figma_get_file_styles

Get styles in a file

ParametersTypeDescription
fileKeystringThe file key to use for the operation

Tool: figma_get_file_versions

Get version history of a Figma file

ParametersTypeDescription
fileKeystringThe file key to use for the operation
afternumber optionalA version ID for one of the versions in the history. Gets versions after this ID
beforenumber optionalA version ID for one of the versions in the history. Gets versions before this ID
page_sizenumber optionalThe number of items returned in a page of the response

Tool: figma_get_image_fills

Get image fills in a Figma file

ParametersTypeDescription
fileKeystringThe file key to use for the operation

Tool: figma_get_images

Render images from a Figma file

ParametersTypeDescription
fileKeystringThe file key to use for the operation
idsstringA comma separated list of node IDs to render
contents_onlyboolean optionalWhether content that overlaps the node should be excluded from rendering
formatstring optionalA string enum for the image output format
scalenumber optionalA number between 0.01 and 4, the image scaling factor
svg_include_idboolean optionalWhether to include id attributes for all SVG elements
svg_include_node_idboolean optionalWhether to include node id attributes for all SVG elements
svg_outline_textboolean optionalWhether text elements are rendered as outlines (vector paths) or as elements in SVGs
svg_simplify_strokeboolean optionalWhether to simplify inside/outside strokes and use stroke attribute if possible
use_absolute_boundsboolean optionalUse the full dimensions of the node regardless of whether or not it is cropped
versionstring optionalA specific version ID to get

Tool: figma_get_library_analytics_component_usages

Get library analytics component usage data

ParametersTypeDescription
fileKeystringThe file key to use for the operation
group_bystringA dimension to group returned analytics data by
cursorstring optionalCursor indicating what page of data to fetch

Tool: figma_get_library_analytics_style_usages

Get library analytics style usage data

ParametersTypeDescription
fileKeystringThe file key to use for the operation
group_bystringA dimension to group returned analytics data by
cursorstring optionalCursor indicating what page of data to fetch

Tool: figma_get_library_analytics_variable_usages

Get library analytics variable usage data

ParametersTypeDescription
fileKeystringThe file key to use for the operation
group_bystringA dimension to group returned analytics data by
cursorstring optionalCursor indicating what page of data to fetch

Tool: figma_get_me

Get the current user

Tool: figma_get_project_files

Get files in a project

ParametersTypeDescription
projectIdstringThe ID of the project to get files for
branch_databoolean optionalReturns branch metadata in the response

Tool: figma_get_style

Get a style by key

ParametersTypeDescription
keystringThe key of the style to get

Tool: figma_get_team_component_sets

Get component sets in a team

ParametersTypeDescription
teamIdstringThe ID of the team to get component sets for
afternumber optionalCursor indicating which id after which to start retrieving component sets for
beforenumber optionalCursor indicating which id before which to start retrieving component sets for
page_sizenumber optionalNumber of items to return in a paged list of results

Tool: figma_get_team_components

Get components in a team

ParametersTypeDescription
teamIdstringThe ID of the team to get components for
afternumber optionalCursor indicating which id after which to start retrieving components for
beforenumber optionalCursor indicating which id before which to start retrieving components for
page_sizenumber optionalNumber of items to return in a paged list of results

Tool: figma_get_team_projects

Get projects in a team

ParametersTypeDescription
teamIdstringThe ID of the team to get projects for

Tool: figma_get_team_styles

Get styles in a team

ParametersTypeDescription
teamIdstringThe ID of the team to get styles for
afternumber optionalCursor indicating which id after which to start retrieving styles for
beforenumber optionalCursor indicating which id before which to start retrieving styles for
page_sizenumber optionalNumber of items to return in a paged list of results

Tool: figma_get_team_webhooks

Get webhooks for a team

ParametersTypeDescription
team_idstringThe ID of the team to get webhooks for

Tool: figma_get_webhook

Get a webhook by ID

ParametersTypeDescription
webhook_idstringThe ID of the webhook to get

Tool: figma_post_comment

Add a comment to a Figma file

ParametersTypeDescription
fileKeystringThe file key to use for the operation
messagestringThe text contents of the comment to post
client_metastring optionalThe position where to place the comment
comment_idstring optionalThe ID of the comment to reply to, if any

Tool: figma_post_comment_reaction

Add a reaction to a comment

ParametersTypeDescription
commentIdstringThe ID of the comment to add a reaction to
emojistringThe emoji to react with
fileKeystringThe file key to use for the operation

Tool: figma_post_webhook

Create a webhook

ParametersTypeDescription
endpointstringThe HTTP endpoint that will receive a POST request when the event triggers
event_typestringAn enum representing the possible events that a webhook can subscribe to
passcodestringString that will be passed back to your webhook endpoint to verify that it is being called by Figma
team_idstringTeam id to receive updates about
descriptionstring optionalUser provided description or name for the webhook
statusstring optionalState of the webhook, including any error state it may be in

Tool: figma_update_webhook

Update a webhook

ParametersTypeDescription
webhook_idstringThe ID of the webhook to update
descriptionstring optionalUser provided description or name for the webhook
endpointstring optionalThe HTTP endpoint that will receive a POST request when the event triggers
passcodestring optionalString that will be passed back to your webhook endpoint to verify that it is being called by Figma
statusstring optionalState of the webhook, including any error state it may be in

Use this MCP Server

{
  "mcpServers": {
    "thirdstrandstudio-figma": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "FIGMA_API_KEY",
        "mcpcommunity/thirdstrandstudio-figma"
      ],
      "env": {
        "FIGMA_API_KEY": "YOUR_FIGMA_API_KEY"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?

Tag summary

Content type

Image

Digest

sha256:b62508c9f

Size

78.3 MB

Last updated

over 1 year ago

docker pull mcpcommunity/thirdstrandstudio-figma