Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Tools

Functions exposed to the LLM to take actions

NameDescription
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

get_bound_variables

Get all variable bindings for a node. Shows which variables are bound to fills, strokes, and other properties.

set_fill_variable

Bind a color variable to a node's fill. Use this for theme-compatible colors instead of hardcoded RGB values.

set_stroke_variable

Bind a color variable to a node's stroke. Use this for theme-compatible border colors.

set_fill_style_id

Apply a fill style to a node in Figma. Use get_styles to find available fill style IDs.

set_stroke_style_id

Apply a stroke style to a node in Figma. Use get_styles to find available stroke style IDs.

set_text_style_id

Apply a text style to a text node in Figma. Use get_styles to find available text style IDs.

resolve_variable_by_name

Find a variable ID by its name. Useful for binding variables when you know the semantic name (e.g., 'base-100', 'primary').

clear_variable_binding

Remove a variable binding from a node property, reverting to the static value.

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

Prompts

Interactive templates invoked by user choice

NameDescription
design_strategyBest practices for working with Figma designs
read_design_strategyBest practices for reading Figma designs
text_replacement_strategySystematic approach for replacing text in Figma designs

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/agenisea/cc-fig-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server