Skip to main content
Glama

Excalidraw MCP Server

create_element

Generate and customize Excalidraw elements like rectangles, arrows, text, and more by specifying type, position, size, colors, and styling. Manage diagrams effectively using the Excalidraw MCP Server API.

Instructions

Create a new Excalidraw element

Input Schema

NameRequiredDescriptionDefault
backgroundColorNo
fontFamilyNo
fontSizeNo
heightNo
opacityNo
roughnessNo
strokeColorNo
strokeWidthNo
textNo
typeYes
widthNo
xYes
yYes

Input Schema (JSON Schema)

{ "properties": { "backgroundColor": { "type": "string" }, "fontFamily": { "type": "string" }, "fontSize": { "type": "number" }, "height": { "type": "number" }, "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": [ "type", "x", "y" ], "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