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 |
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 |
| 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 |
| get_styles | Get all styles from the current Figma document |
| get_local_components | Get all local components from the Figma document |
| create_component_instance | Create an instance of a component in Figma |
| export_node_as_image | Export a node as an image from Figma |
| set_corner_radius | Set the corner radius of a node in Figma |
| set_text_content | Set the text content of an existing text node in Figma |
| join_channel | Join a specific channel to communicate with Figma |