MCP tool
get_variable_defs
extracts the variables and styles used in your selection (color, spacing, typography, etc).
The get_variable_defs tool is provided by Figma MCP Server. Install that server in your AI client and the assistant can call it directly.
Servers exposing get_variable_defs
From the publisher:extracts the variables and styles used in your selection (color, spacing, typography, etc). This helps the model reference your tokens directly in the generated code.
Install Figma MCP Server →
Related tools
The same action under a namespaced name on other servers.
Tool lists are read from the live servers (or, for packaged servers, from their documentation) each morning, so this reflects what they exposed at the last refresh. Search all tools.