Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
No arguments |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
design_strategy | Best practices for working with Figma designs |
read_design_strategy | Best practices for reading Figma designs |
text_replacement_strategy | Systematic approach for replacing text in Figma designs |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
get_document_info | Get detailed information about the current Figma document |
get_selection | Get information about the current selection in Figma |
get_node_info | Get detailed information about a specific node in Figma |
get_nodes_info | Get detailed information about multiple nodes in Figma |
get_styles | Get all styles from the current Figma document |
get_local_components | Get all local components from the Figma document |
get_remote_components | Get available components from team libraries in Figma |
scan_text_nodes | Scan all text nodes in the selected Figma node |
join_channel | Join a specific channel to communicate with Figma |
export_node_as_image | Export a node as an image from Figma |
create_rectangle | Create a new rectangle in Figma |
create_frame | Create a new frame in Figma |
create_text | Create a new text element in Figma |
create_ellipse | Create a new ellipse in Figma |
create_polygon | Create a new polygon in Figma |
create_star | Create a new star in Figma |
group_nodes | Group nodes in Figma |
ungroup_nodes | Ungroup nodes in Figma |
clone_node | Clone an existing node in Figma |
insert_child | Insert a child node inside a parent node in Figma |
flatten_node | Flatten a node in Figma (e.g., for boolean operations or converting to path) |
set_fill_color | Set the fill color of a node in Figma. Alpha component defaults to 1 (fully opaque) if not specified. Use alpha 0 for fully transparent. |
set_stroke_color | Set the stroke color of a node in Figma (defaults: opacity 1, weight 1) |
move_node | Move a node to a new position in Figma |
resize_node | Resize a node in Figma |
delete_node | Delete a node from Figma |
set_corner_radius | Set the corner radius of a node in Figma |
set_auto_layout | Configure auto layout properties for a node in Figma |
set_effects | Set the visual effects of a node in Figma |
set_effect_style_id | Apply an effect style to a node in Figma |
set_text_content | Set the text content of an existing text node in Figma |
set_multiple_text_contents | Set multiple text contents parallelly in a node |
set_font_name | Set the font name and style of a text node in Figma |
set_font_size | Set the font size of a text node in Figma |
set_font_weight | Set the font weight of a text node in Figma |
set_letter_spacing | Set the letter spacing of a text node in Figma |
set_line_height | Set the line height of a text node in Figma |
set_paragraph_spacing | Set the paragraph spacing of a text node in Figma |
set_text_case | Set the text case of a text node in Figma |
set_text_decoration | Set the text decoration of a text node in Figma |
get_styled_text_segments | Get text segments with specific styling in a text node |
load_font_async | Load a font asynchronously in Figma |
create_component_instance | Create an instance of a component in Figma |