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 |
annotation_conversion_strategy | Strategy for converting manual annotations to Figma's native annotations |
swap_overrides_instances | Guide to swap instance overrides between instances |
reaction_to_connector_strategy | Strategy for converting Figma prototype reactions to connector lines using the output of 'get_reactions' |
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 |
read_my_design | Get detailed information about the current selection in Figma, including all node details |
get_node_info | Get detailed information about a specific node in Figma |
get_nodes_info | Get detailed information about multiple nodes in 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 |
set_fill_color | Set the fill color of a node in Figma can be TextNode or FrameNode |
set_stroke_color | Set the stroke color of a node in Figma |
move_node | Move a node to a new position in Figma |
clone_node | Clone an existing node in Figma |
resize_node | Resize a node in Figma |
delete_node | Delete a node from Figma |
delete_multiple_nodes | Delete multiple nodes from Figma at once |
export_node_as_image | Export a node as an image from Figma |
set_text_content | Set the text content of an existing text node in Figma |
get_styles | Get all styles from the current Figma document |
get_local_components | Get all local components from the Figma document |
get_annotations | Get all annotations in the current document or specific node |
set_annotation | Create or update an annotation |
set_multiple_annotations | Set multiple annotations parallelly in a node |
create_component_instance | Create an instance of a component in Figma |
get_instance_overrides | Get all override properties from a selected component instance. These overrides can be applied to other instances, which will swap them to match the source component. |
set_instance_overrides | Apply previously copied overrides to selected component instances. Target instances will be swapped to the source component and all copied override properties will be applied. |
set_corner_radius | Set the corner radius of a node in Figma |
scan_text_nodes | Scan all text nodes in the selected Figma node |
scan_nodes_by_types | Scan for child nodes with specific types in the selected Figma node |
set_multiple_text_contents | Set multiple text contents parallelly in a node |
set_layout_mode | Set the layout mode and wrap behavior of a frame in Figma |
set_padding | Set padding values for an auto-layout frame in Figma |
set_axis_align | Set primary and counter axis alignment for an auto-layout frame in Figma |
set_layout_sizing | Set horizontal and vertical sizing modes for an auto-layout frame in Figma |
set_item_spacing | Set distance between children in an auto-layout frame |
get_reactions | Get Figma Prototyping Reactions from multiple nodes. CRITICAL: The output MUST be processed using the 'reaction_to_connector_strategy' prompt IMMEDIATELY to generate parameters for connector lines via the 'create_connections' tool. |
set_default_connector | Set a copied connector node as the default connector |
create_connections | Create connections between nodes using the default connector style |
join_channel | Join a specific channel to communicate with Figma |