Cursor Talk To Figma MCP

by toiletmadarchut
Verified

create_frame

Generate and position frames in Figma with customizable dimensions, fill and stroke colors, and optional parent node placement for structured design workflows.

Instructions

Create a new frame in Figma

Input Schema

NameRequiredDescriptionDefault
fillColorNoFill color in RGBA format
heightYesHeight of the frame
nameNoOptional name for the frame
parentIdNoOptional parent node ID to append the frame to
strokeColorNoStroke color in RGBA format
strokeWeightNoStroke weight
widthYesWidth of the frame
xYesX position
yYesY position

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "fillColor": { "additionalProperties": false, "description": "Fill color in RGBA format", "properties": { "a": { "description": "Alpha component (0-1)", "maximum": 1, "minimum": 0, "type": "number" }, "b": { "description": "Blue component (0-1)", "maximum": 1, "minimum": 0, "type": "number" }, "g": { "description": "Green component (0-1)", "maximum": 1, "minimum": 0, "type": "number" }, "r": { "description": "Red component (0-1)", "maximum": 1, "minimum": 0, "type": "number" } }, "required": [ "r", "g", "b" ], "type": "object" }, "height": { "description": "Height of the frame", "type": "number" }, "name": { "description": "Optional name for the frame", "type": "string" }, "parentId": { "description": "Optional parent node ID to append the frame to", "type": "string" }, "strokeColor": { "additionalProperties": false, "description": "Stroke color in RGBA format", "properties": { "a": { "description": "Alpha component (0-1)", "maximum": 1, "minimum": 0, "type": "number" }, "b": { "description": "Blue component (0-1)", "maximum": 1, "minimum": 0, "type": "number" }, "g": { "description": "Green component (0-1)", "maximum": 1, "minimum": 0, "type": "number" }, "r": { "description": "Red component (0-1)", "maximum": 1, "minimum": 0, "type": "number" } }, "required": [ "r", "g", "b" ], "type": "object" }, "strokeWeight": { "description": "Stroke weight", "exclusiveMinimum": 0, "type": "number" }, "width": { "description": "Width of the frame", "type": "number" }, "x": { "description": "X position", "type": "number" }, "y": { "description": "Y position", "type": "number" } }, "required": [ "x", "y", "width", "height" ], "type": "object" }

You must be authenticated.

Other Tools from Cursor Talk To Figma MCP

Related Tools

ID: txvwena7c6