Skip to main content
Glama

create_components_from_node

Convert Figma nodes into reusable components using node IDs, with options for batch processing and error handling. Maintains node positions during conversion.

Instructions

Converts one or more existing nodes into components in Figma.

Returns:

  • content: Array of objects. Each object contains:

    • type: "text"

    • text: JSON string with created component IDs and any errors.

Input Schema

NameRequiredDescriptionDefault
entriesNoAn array of node-to-component conversion entries for batch conversion.
entryNoA single node-to-component conversion entry.
skip_errorsNoIf true, skip errors and continue processing remaining entries.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "entries": { "description": "An array of node-to-component conversion entries for batch conversion.", "items": { "$ref": "#/properties/entry" }, "type": "array" }, "entry": { "additionalProperties": false, "description": "A single node-to-component conversion entry.", "properties": { "maintain_position": { "description": "Whether to maintain the node's position after conversion.", "type": "boolean" }, "nodeId": { "description": "The Figma node ID to convert into a component.", "type": "string" } }, "required": [ "nodeId" ], "type": "object" }, "skip_errors": { "description": "If true, skip errors and continue processing remaining entries.", "type": "boolean" } }, "type": "object" }

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/amalinakurniasari/conduit'

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