Skip to main content
Glama

Excalidraw MCP Server

update_element

Modifies an existing element in Excalidraw diagrams by updating properties such as position, size, colors, text, and styles through the Excalidraw MCP Server API.

Instructions

Update an existing Excalidraw element

Input Schema

NameRequiredDescriptionDefault
backgroundColorNo
fontFamilyNo
fontSizeNo
heightNo
idYes
opacityNo
roughnessNo
strokeColorNo
strokeWidthNo
textNo
typeNo
widthNo
xNo
yNo

Input Schema (JSON Schema)

{ "properties": { "backgroundColor": { "type": "string" }, "fontFamily": { "type": "string" }, "fontSize": { "type": "number" }, "height": { "type": "number" }, "id": { "type": "string" }, "opacity": { "type": "number" }, "roughness": { "type": "number" }, "strokeColor": { "type": "string" }, "strokeWidth": { "type": "number" }, "text": { "type": "string" }, "type": { "enum": [ "rectangle", "ellipse", "diamond", "arrow", "text", "label", "freedraw", "line", "arrowLabel" ], "type": "string" }, "width": { "type": "number" }, "x": { "type": "number" }, "y": { "type": "number" } }, "required": [ "id" ], "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/Abdullah007bajwa/mcp_excalidraw'

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