
Excalidraw Mcp
io.github.cmd8由 GitHub 账号 cmd8 发布v1.2.0更新于 Oct 24, 2026
Model Context Protocol server for Excalidraw diagrams.
概览
让助手在本地 Excalidraw 图表文件中创建、连接、删除和读取节点与连线。
- 可以做什么
- 该 MCP 服务器只操作启动时指定的单个 Excalidraw 图表文件。其工具可创建节点(带标签的图形)并返回节点 ID,按 ID 或标签文本在两个节点之间创建箭头,按 ID 或标签删除节点或连线,并返回整张图表的 markdown 表示,包含节点、关系、标签、框架和颜色。
- 适用场景
- 适合希望助手直接构建或编辑图表文件的场景,例如用节点和箭头绘制架构图或流程图,或把已有图表读成 markdown 以便审阅。
- 运行要求
- 以 npm 包形式通过 stdio 在本地运行,需要 Node.js v18.0.0 或更高版本。必须用必填的 --diagram 选项传入图表文件路径。未声明任何账号、API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Excalidraw Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@cmd8/excalidraw-mcp
Model Context Protocol (MCP) server for Excalidraw diagrams.
🛠️ Installation
Requirements
- Node.js >= v18.0.0
Install in Cursor
Add to your Cursor MCP config (~/.cursor/mcp.json):
Install in Claude Code
Install in Amp
Install in VS Code
Add to your VS Code MCP settings:
Install in Windsurf
Add to your Windsurf MCP config:
Install in Claude Desktop
Add to your claude_desktop_config.json:
Install in OpenAI Codex
Add to your Codex MCP config:
CLI Options
-d, --diagram(required): Path to the Excalidraw diagram file
🔨 Available Tools
createNode
Create a new node (shape with label) in the diagram. Returns the created node ID.
createEdge
Create an arrow connecting two nodes. Nodes can be referenced by ID or by label text.
deleteElement
Delete a node or edge from the diagram by ID or label.
getFullDiagramState
Returns a markdown representation of the complete diagram, including nodes, relationships, labels, frames, and colors.
License
MIT
来源:README.md,提交 21abaea
工具
0版本历史
1- v1.2.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分