Figma MCP Server
v2.1.0MCP server enabling AI assistants to interact with Figma designs via natural language commands
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
analyze_file
Analyze a Figma file structure, extracting metadata, pages, and top-level components
| Parameter | Type | Description |
|---|---|---|
fileKey * | string | Figma file key (from file URL) |
includeGeometry | boolean | Include geometry information in the analysis |
get_file_structure
Get the hierarchical structure of a Figma file including pages and layers
| Parameter | Type | Description |
|---|---|---|
fileKey * | string | Figma file key |
depth | integer | Depth of the tree to retrieve (default: 1) |
extract_styles
Extract design tokens, styles, and design system information from a Figma file
| Parameter | Type | Description |
|---|---|---|
fileKey * | string | Figma file key |
list_components
List all components available in a Figma file
| Parameter | Type | Description |
|---|---|---|
fileKey * | string | Figma file key |
get_component_details
Get detailed information about a specific component including properties and variants
| Parameter | Type | Description |
|---|---|---|
componentKey * | string | Component key (ID) |
fileKey * | string | Figma file key |
find_component_usage
Find all instances where a component is used in a Figma file
| Parameter | Type | Description |
|---|---|---|
componentKey * | string | Component key to search for |
fileKey * | string | Figma file key |
export_node
Export a specific node (component, frame, etc.) as an image in PNG, SVG, PDF, or JPG format
| Parameter | Type | Description |
|---|---|---|
fileKey * | string | Figma file key |
nodeId * | string | Node ID to export |
format | string | Export format |
scale | number | Scale factor (1x, 2x, 3x, etc.) |
export_multiple_nodes
Export multiple nodes from a Figma file in a specified format
| Parameter | Type | Description |
|---|---|---|
fileKey * | string | Figma file key |
nodeIds * | array | Array of node IDs to export |
format | string | Export format |
scale | number | Scale factor |
export_file_pages
Export all pages from a Figma file as images
| Parameter | Type | Description |
|---|---|---|
fileKey * | string | Figma file key |
format | string | Export format |
scale | number | Scale factor |
get_comments
Retrieve all comments from a Figma file
| Parameter | Type | Description |
|---|---|---|
fileKey * | string | Figma file key |
create_comment
Create a new comment on a Figma file at a specific position or node
| Parameter | Type | Description |
|---|---|---|
fileKey * | string | Figma file key |
message * | string | Comment message text |
nodeId | string | Node ID to attach comment to (alternative to x/y coordinates) |
x | number | X coordinate for comment position (required if node_id not provided) |
y | number | Y coordinate for comment position (required if node_id not provided) |
resolve_comment
Mark a comment as resolved (Note: This may require Plugin API, currently returns info)
| Parameter | Type | Description |
|---|---|---|
commentId * | string | Comment ID to resolve |
fileKey * | string | Figma file key |
delete_comment
Delete a comment (Note: May require Plugin API or may not be available via REST)
| Parameter | Type | Description |
|---|---|---|
commentId * | string | Comment ID to delete |
fileKey * | string | Figma file key |
update_node_properties
Update properties of a design node (Note: Figma REST API has limited write capabilities. Full modification may require Plugin API)
| Parameter | Type | Description |
|---|---|---|
fileKey * | string | Figma file key |
nodeId * | string | Node ID to update |
properties | object | Properties to update (structure depends on node type) |
get_node_for_modification
Get detailed node information to plan modifications (useful before using Plugin API)
| Parameter | Type | Description |
|---|---|---|
fileKey * | string | Figma file key |
nodeId * | string | Node ID |
includeGeometry | boolean | Include geometry information |