get_variable_defs

MCP tool from MCP Server Guide by figma

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.

How to use it

Project documentation lists get_variable_defs for the MCP Server Guide MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

Install MCP Server Guide

$claude mcp add --transport http figma https://mcp.figma.com/mcp
FULL MCP SERVER GUIDE LISTING