Skip to main content
Glama

Talk to Figma MCP

by yhc984

create_rectangle

Use this tool to generate a rectangle in Figma by specifying its position, dimensions, and optional name or parent node for precise design placement.

Instructions

Create a new rectangle in Figma

Input Schema

NameRequiredDescriptionDefault
heightYesHeight of the rectangle
nameNoOptional name for the rectangle
parentIdNoOptional parent node ID to append the rectangle to
widthYesWidth of the rectangle
xYesX position
yYesY position

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "height": { "description": "Height of the rectangle", "type": "number" }, "name": { "description": "Optional name for the rectangle", "type": "string" }, "parentId": { "description": "Optional parent node ID to append the rectangle to", "type": "string" }, "width": { "description": "Width of the rectangle", "type": "number" }, "x": { "description": "X position", "type": "number" }, "y": { "description": "Y position", "type": "number" } }, "required": [ "x", "y", "width", "height" ], "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/yhc984/cursor-talk-to-figma-mcp-main'

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