create_component

MCP tool from Figma MCP Rust by alvinindra

Convert an existing FRAME node into a reusable component

How to use it

Project documentation lists create_component for the Figma MCP Rust MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

Install Figma MCP Rust

$claude mcp add -s project figma-mcp-rust -- npx -y @alvinindra/figma-mcp-rust@latest
FULL FIGMA MCP RUST LISTING

Other tools in Figma MCP Rust (39)

add_variable_mode

Add a new mode to an existing collection (e.g. Light/Dark)

apply_style_to_node

Apply an existing local style to a node, linking it to that style

batch_rename_nodes

Bulk rename nodes via find/replace, regex, or prefix/suffix

clone_node

Clone a node, optionally repositioning or reparenting

create_effect_style

Create a named effect style (drop shadow, inner shadow, blur)

create_ellipse

Create an ellipse or circle

create_frame

Create a frame with optional auto-layout, fill, and parent

create_grid_style

Create a named layout grid style (columns, rows, or grid)

create_paint_style

Create a named paint style with a solid color

create_rectangle

Create a rectangle with optional fill and corner radius

create_section

Create a Figma Section node to organise frames on a page

create_text

Create a text node (font loaded automatically)

create_text_style

Create a named text style with font, size, and spacing

create_variable_collection

Create a new local variable collection with an optional initial mode

delete_nodes

Delete one or more nodes permanently

delete_style

Delete any style (paint, text, effect, or grid) by ID

find_replace_text

Find and replace text across all TEXT nodes in a subtree or page; supports regex

import_image

Decode base64 image and place it as a rectangle fill

lock_nodes

Lock one or more nodes to prevent accidental edits

move_nodes

Move nodes to an absolute x/y position

remove_reactions

Remove all or specific reactions by zero-based index from a node

rename_node

Rename a node

reorder_nodes

Change z-order: bringToFront, sendToBack, bringForward, sendBackward

reparent_nodes

Move nodes to a different parent frame, group, or section

resize_nodes

Resize nodes by width and/or height

rotate_nodes

Set absolute rotation in degrees on one or more nodes

set_auto_layout

Set or update auto-layout (flex) properties on a frame

set_blend_mode

Set blend mode (MULTIPLY, SCREEN, OVERLAY, and more) on one or more nodes

set_constraints

Set responsive constraints { horizontal, vertical } on one or more nodes

set_corner_radius

Set corner radius, uniform or per-corner

set_effects

Apply drop shadow / blur effects directly on a node (no style required)

set_fills

Set solid fill color (hex) on a node

set_opacity

Set opacity of one or more nodes (0 = transparent, 1 = opaque)

set_reactions

Set prototype reactions (triggers + actions) on a node; mode replace or append

set_strokes

Set solid stroke color and weight on a node

set_text

Update text content of an existing TEXT node

set_visible

Show or hide one or more nodes

unlock_nodes

Unlock one or more nodes

update_paint_style

Rename or recolor an existing paint style