Excalidraw MCP Server provides a powerful API that enables LLMs to create, modify, and manipulate Excalidraw diagrams programmatically. Built with Node.js using the Model Context Protocol SDK, it exposes a comprehensive set of tools for element creation, modification, querying, and organization including grouping, alignment, and distribution functions. The server maintains an in-memory representation of Excalidraw elements and scene state, validates operations through Zod schemas, and supports integration with Claude Desktop and Cursor through configuration files. This implementation is particularly valuable for AI-assisted diagramming, flowchart creation, and visual collaboration where diagrams need to be generated or modified through conversation.
yctimlin