Excalidraw绘图
STDIOExcalidraw绘图创建管理导出服务
Excalidraw绘图创建管理导出服务
This is a Model Context Protocol (MCP) server for Excalidraw, providing API functionality for operating on Excalidraw drawings.
# Clone the repository git clone https://github.com/yourusername/excalidraw-mcp.git cd excalidraw-mcp # Install dependencies npm install # Build the project npm run build
npm start
The server provides the following tools:
create_drawing: Create a new Excalidraw drawingget_drawing: Get an Excalidraw drawing by IDupdate_drawing: Update an Excalidraw drawing by IDdelete_drawing: Delete an Excalidraw drawing by IDlist_drawings: List all Excalidraw drawingsexport_to_svg: Export an Excalidraw drawing to SVGexport_to_png: Export an Excalidraw drawing to PNGexport_to_json: Export an Excalidraw drawing to JSONexcalidraw-mcp/
├── src/
│   ├── common/
│   │   └── errors.ts
│   └── operations/
│       ├── drawings.ts
│       └── export.ts
├── index.ts
├── package.json
├── tsconfig.json
└── README.md
npm run build
npm run dev
MIT