Skip to main content
Glama
figma-forge-mcp

figma-forge-mcp

by TBlopT

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
completions
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_document_infoA

Get detailed information about the current Figma document

get_selectionB

Get information about the current selection in Figma

read_my_designA

Get detailed information about the current selection in Figma, including all node details

get_node_infoB

Get detailed information about a specific node in Figma

get_nodes_infoC

Get detailed information about multiple nodes in Figma

create_rectangleC

Create a new rectangle in Figma

create_frameC

Create a new frame in Figma

create_textC

Create a new text element in Figma

set_fill_colorC

Set the fill color of a node in Figma can be TextNode or FrameNode

set_stroke_colorB

Set the stroke color of a node in Figma

move_nodeC

Move a node to a new position in Figma

clone_nodeC

Clone an existing node in Figma

resize_nodeC

Resize a node in Figma

delete_nodeC

Delete a node from Figma

delete_multiple_nodesB

Delete multiple nodes from Figma at once

export_node_as_imageC

Export a node as an image from Figma

set_text_contentA

Set the text content of an existing text node in Figma

get_stylesA

Get all styles from the current Figma document

get_local_componentsA

Get all local components from the Figma document

get_annotationsB

Get all annotations in the current document or specific node

set_annotationB

Create or update an annotation

set_multiple_annotationsC

Set multiple annotations parallelly in a node

create_component_instanceA

Create an instance of a component in Figma. For LOCAL components (from get_local_components), use componentId with the id field. For published LIBRARY components, use componentKey with the publishedKey field.

get_instance_overridesA

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_overridesA

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_radiusA

Set the corner radius of a node in Figma

scan_text_nodesC

Scan all text nodes in the selected Figma node

scan_nodes_by_typesC

Scan for child nodes with specific types in the selected Figma node

set_multiple_text_contentsB

Set multiple text contents parallelly in a node

set_layout_modeB

Set the layout mode and wrap behavior of a frame in Figma

set_paddingB

Set padding values for an auto-layout frame in Figma

set_axis_alignA

Set primary and counter axis alignment for an auto-layout frame in Figma

set_layout_sizingA

Set horizontal and vertical sizing modes for an auto-layout frame in Figma

set_item_spacingA

Set distance between children in an auto-layout frame

get_reactionsA

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_connectorB

Set a copied connector node as the default connector

create_connectionsB

Create connections between nodes using the default connector style

set_focusA

Set focus on a specific node in Figma by selecting it and scrolling viewport to it

set_selectionsA

Set selection to multiple nodes in Figma and scroll viewport to show them

set_image_fillA

Fill a node in Figma with an image from a local file path, a URL, or base64 data (replaces the node's existing fills)

rename_nodeA

Rename a node in Figma

create_sectionC

Create a section in Figma to group related content on the canvas

set_parentA

Move a node into a new parent node (e.g. a section, frame or group). Preserves the node's absolute position unless x/y are provided

pingA

Check that the Figma Forge plugin is connected and report its version

create_pageB

Create a new page in the Figma document (and make it current)

build_treeA

Build a complete node tree in ONE call. Far faster and more precise than creating nodes one by one. Node spec: { type: FRAME|COMPONENT|TEXT|RECT|ELLIPSE|LINE|INSTANCE|SVG, name, x, y, w, h, children: [...] }

  • Auto-layout: layout: { mode: HORIZONTAL|VERTICAL, gap, pad: n|[v,h]|[t,r,b,l], primary: MIN|CENTER|MAX|SPACE_BETWEEN, counter, wrap, crossGap }

  • Sizing: sizeH / sizeV: FIXED|HUG|FILL, grow, minW, maxW, minH, maxH, absolute (absolute position inside auto-layout)

  • Paint: fills: ["#hex" | {color, opacity} | {type: GRADIENT_LINEAR, angle, stops:[{pos,color,opacity}]} | {type: GRADIENT_RADIAL, cx, cy, rx, ry, stops}], fillStyle: "Style/Name", fillVar: "variable/name"

  • Strokes: strokes, strokeWeight, strokeAlign: INSIDE|CENTER|OUTSIDE, dash: [4,2]; radius: n|[tl,tr,br,bl] (corner smoothing 60% by default), smoothing

  • Effects: effects: [{type: DROP_SHADOW|INNER_SHADOW, color, opacity, x, y, blur, spread} | {type: LAYER_BLUR|BACKGROUND_BLUR, radius}], effectStyle

  • Text: text: { chars, style: "Text/Style" OR font: "Any Family", weight: "Regular|Medium|SemiBold|Bold|Light", size, lineHeight (px number or "120%"), letterSpacing (%), textCase, align, decoration, color, ranges: [{match, color, font, weight, underline}] }, autoResize

  • Other: opacity, blend, rotation, clip, mask, constraints, grids: [{pattern: COLUMNS|ROWS|GRID, count, gutter, offset, alignment, size, color, opacity}], exports: [{format, scale}], description (components)

  • INSTANCE: { type: INSTANCE, componentId }. SVG: { type: SVG, svg: "<svg…>", svgColor } The root is built hidden and shown when finished. Returns root id, size and (with returnIds) a name→id map.

create_stylesA

Create or update local paint, text and effect styles (upsert by name). Paints accept solid hex or gradients; texts accept any installed font.

create_variablesB

Create or update a Figma variable collection with modes (design tokens). Values are given per mode.

combine_variantsC

Combine components into a component set (variants). Name each component 'Prop=Value'.

set_reactionsA

Add prototype interactions (real animation in Present mode). items: [{ nodeId, append?, reactions: [{ on: click|hover|press|timeout|enter|leave, timeout (s), to: destinationNodeId, nav: CHANGE_TO|NAVIGATE|SCROLL_TO|OVERLAY|BACK, anim: SMART_ANIMATE|DISSOLVE|SCROLL_ANIMATE|INSTANT, duration (s), easing: [x1,y1,x2,y2] | EASE_OUT | EASE_IN_AND_OUT… }] }] Use CHANGE_TO between variants of a component set for micro-interactions (hover, toggles, multi-step animations).

set_flowsC

Set the prototype flow starting points of a page

set_image_fill_cachedB

Fill a node with an image from a local file (PNG/JPG/GIF). The plugin caches each image by key, so the bytes travel only once.

run_codeA

Escape hatch: run arbitrary Figma Plugin API code inside the plugin. code is the body of an async function receiving (figma, args, h); its return value (JSON) comes back. Use for anything not covered by other tools: vectors, boolean ops, component properties, export settings, etc.

join_channelC

Join a specific channel to communicate with 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
annotation_conversion_strategyStrategy for converting manual annotations to Figma's native annotations
swap_overrides_instancesGuide to swap instance overrides between instances
reaction_to_connector_strategyStrategy for converting Figma prototype reactions to connector lines using the output of 'get_reactions'

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.9/5.0

Scored across 54 tools

Disambiguation2/5

Several tools have unclear boundaries or near-duplicate purposes: read_my_design duplicates get_selection, get_node_info/get_nodes_info/get_document_info overlap, and set_annotation/set_multiple_annotations plus delete_node/delete_multiple_nodes differ mainly by cardinality. The broad build_tree and run_code escape hatches also overlap nearly every individual creation/editing tool, making tool selection less predictable.

Naming Consistency4/5

Most tool names follow a clear snake_case verb_noun convention such as create_frame, set_fill_color, get_styles, and delete_node. There are minor deviations like ping, read_my_design, run_code, and join_channel, but the overall pattern remains highly readable.

Tool Count1/5

With 54 tools, the surface is far beyond a well-scoped 3-15 tool set and exceeds the rubric's 50+ extreme-mismatch threshold. Many cardinality variants and convenience wrappers could be consolidated without losing core Figma capabilities.

Completeness4/5

The surface covers a wide Figma lifecycle: node creation/read/update/delete, layout, styles, variables, components, annotations, prototyping, export, and a run_code escape hatch. Minor gaps exist around variable/style inspection or deletion and page management, but run_code prevents hard dead ends.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues