Skip to content

Figma Connector

Connect Agentcy to your Figma workspace to import design files, components, styles, and variables into the knowledge graph — and interact with them through chat tools.

Overview

The Figma connector provides:

  • Ingestion: Import projects, files, components, component sets, styles, variables, comments, and version history into the knowledge graph
  • Live Tools (21): Interact with Figma in real-time — browse files, export images, manage comments, inspect components and styles, work with variables and dev resources

Setup

Prerequisites

Generate a Personal Access Token

  1. Go to Figma Settings (click your avatar → Settings)
  2. Scroll to Personal access tokens
  3. Click Generate new token
  4. Give it a descriptive name (e.g., "Agentcy")
  5. Select the required scopes (file content read access at minimum)
  6. Copy the token — it will only be shown once

Configuration Fields

FieldRequiredDescription
Personal Access TokenYesYour Figma PAT (starts with figd_...)
Team IDNoImport all projects/files from a team. Find it in the URL: figma.com/files/team/<team_id>/...
File KeysNoComma-separated file keys for specific files. Find in URL: figma.com/design/<file_key>/...
FeaturesNoSelect which modules to enable: files, components, styles, variables, comments, versions, images, dev_resources
Image Export ScaleNoScale factor for image exports (0.01-4.0, default: 2)
Image Export FormatNoFormat for exports: png, jpg, svg, pdf (default: png)

TIP

You can provide a Team ID to import everything from your team, or specify individual File Keys — or both. If neither is provided, only the authenticated user's info will be imported.

Ingestion

When syncing, the connector imports:

Record TypeGraph LabelDescription
ProjectsFigmaProjectTeam projects
FilesFigmaFileDesign files with thumbnails
ComponentsFigmaComponentPublished components
Component SetsFigmaComponentSetVariant groups
StylesFigmaStyleColor, text, effect, grid styles
VariablesFigmaVariableDesign tokens (colors, numbers, strings, booleans)
Variable CollectionsFigmaVariableCollectionVariable groupings
CommentsFigmaCommentFile comments and threads
VersionsFigmaVersionNamed version history
UserFigmaUserAuthenticated user

Graph Relationships

  • FigmaComponentDEFINED_INFigmaFile
  • FigmaStyleDEFINED_INFigmaFile
  • FigmaVariableBELONGS_TOFigmaVariableCollection
  • FigmaVariableDEFINED_INFigmaFile
  • FigmaCommentCOMMENTED_ONFigmaFile
  • FigmaCommentAUTHORED_BYFigmaUser
  • FigmaVersionVERSION_OFFigmaFile

Tools

Files (3 tools)

ToolDescription
figma_get_fileGet full file document tree, components, and styles
figma_get_file_nodesGet specific nodes by ID
figma_get_file_metaGet lightweight file metadata

Images (2 tools)

ToolDescription
figma_export_imagesExport/render nodes as PNG, JPG, SVG, or PDF
figma_get_image_fillsGet download URLs for image fills in a file

Components (3 tools)

ToolDescription
figma_get_componentsList published components (file or team level)
figma_get_componentGet single component details by key
figma_get_component_setsList component sets / variant groups

Styles (2 tools)

ToolDescription
figma_get_stylesList published styles (file or team level)
figma_get_styleGet single style details by key

Variables (2 tools)

ToolDescription
figma_get_variablesGet all local variables and collections
figma_get_published_variablesGet published/shared variables

Comments (3 tools)

ToolDescription
figma_get_commentsGet all comments on a file
figma_post_commentPost a comment (with optional node position)
figma_delete_commentDelete a comment
ToolDescription
figma_list_projectsList all projects in a team
figma_list_project_filesList files in a project
figma_get_versionsGet file version history

Dev Resources (2 tools)

ToolDescription
figma_get_dev_resourcesGet linked dev resources on nodes
figma_create_dev_resourceAttach a URL to a design node

User (1 tool)

ToolDescription
figma_get_meGet current user profile

Rate Limits

Figma API has rate limits that vary by plan tier. The connector handles 429 responses with automatic retry (up to 3 attempts with Retry-After header support). For large teams with many files, ingestion may take several minutes.

Example Chat Interactions

"Show me the components in our design system file"
"Export the hero section as a PNG at 2x"
"What comments are on the homepage design?"
"List all projects in our team"
"Post a comment on the login screen about the button spacing"
"Get the color variables from our tokens file"
"Show me the version history of the mobile app file"

Built by AgentcyLabs. For in-house deployment or Agentcy Cloud (PaaS) access, visit agentcylabs.com.