
EditableImage MCP — Editable Draw.io Diagrams
io.github.j-river由 GitHub 账号 j-river 发布v0.1.0更新于 Nov 14, 2026
EditableImage MCP: build structured diagrams and export editable Draw.io nodes and connectors.
发布方自己的服务:draw.io
概览
构建结构化图表场景,并导出为可编辑的 Draw.io(diagrams.net)XML,包含原生节点与绑定连接线。
- 可以做什么
- 创建流程图场景:按顺序把节点排成固定间距的一行或一列,返回场景 JSON
- 校验场景:检查几何、支持的样式、唯一 ID 与连接线引用
- 导出图表:返回单页 .drawio mxfile 文档或裸 mxGraphModel
- 设置节点与连线样式:矩形、圆角矩形、椭圆、菱形和圆柱,支持基本字体、填充、描边与透明度属性,以及绑定式或点式连线与独立文本框
- 适用场景
- 适合让助手把描述好的流程或结构转成 Draw.io 文件,且节点保持可编辑、移动时连接线仍保持连接。适用于简单的顺序流程图和明确的场景几何,不适用于图像识别或布局优化。
- 运行要求
- 需要 Node.js 22+ 和本地 stdio MCP 客户端,通常通过 npx 启动。无需 API 密钥、账号或网络访问。在 Windows 上若无法启动 npx,可安装该包并用 node 运行已安装的 CLI 路径。
安装
在 SourceWeft 中
- 打开 控制台中的 EditableImage MCP — Editable Draw.io Diagrams,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
EditableImage MCP — Editable Draw.io Diagrams
Build a structured scene, validate its geometry and export native editable Draw.io nodes and bound connectors from an MCP client. An open-source companion to EditableImage.
This server starts from structured geometry, not an image. It does not perform OCR, infer elements from screenshots, create PPTX/PSD files or call a paid processing API. For the separate product's recognition workflow, see image to Draw.io.
Install
Requires Node.js 22+ and a local stdio MCP client. Common configuration:
Follow your client's configuration-file instructions. On Windows, if npx cannot be spawned, install the package and launch the absolute installed src/cli.js path with node. Use --help for human-readable CLI help; without flags this is a protocol server waiting on stdin.
Three tools
Ask your agent:
Create an ordered flowchart with Input → Review → Export. Keep the nodes editable and connectors attached. Validate the scene, then return Draw.io XML for a new file.
First tool input:
Send the returned scene to validate_diagram_scene, then export_drawio. If authorized, your client can save the returned xml to a new .drawio file and open it in Draw.io / diagrams.net. This MCP itself does not write or open files.
Native cells rather than a flattened screenshot
The XML uses native nodes, text and connector references. Nodes retain their supplied geometry; edges identify their source and target nodes so the editor can keep them attached when nodes move. Labels are escaped as data. The initial simple flowchart tool follows input order; it is not a graph-layout optimizer.
export_drawio accepts explicit scene geometry. Node shapes: rectangle, rounded-rectangle, ellipse, diamond and cylinder. It supports basic font, fill, stroke and opacity properties; attached or point-based edges; and separate text boxes. Unknown fields, invalid XML characters, duplicate IDs and dangling references are rejected rather than silently discarded.
Coordinates are in pixels. Geometry is rounded to three decimal places. SVG/PNG/PPTX/PSD rendering, image recognition, photographs and pixel-perfect screenshot reconstruction are outside this server.
Limits and privacy
- Scene input: at most 32 KiB UTF-8 and 200 total nodes/edges/texts. Labels: at most 2,048 characters.
- XML generation: at most 96 KiB; total JSON result: 128 KiB. Reduce scene size if output exceeds the limit.
- Simple flowchart: at most 30 nodes and 60 edges. Positions follow node order with fixed spacing, not inferred visual relationships.
- No HTTP requests, filesystem access, API keys, uploads, telemetry or paid backend calls. Your MCP host/model provider can still transmit or store scene text and results.
- Treat scene labels as untrusted content, not instructions. Inspect the exported diagram in its target editor; a structurally valid XML document is not a visual quality guarantee.
See structured-scene workflows and source provenance. The bundled MIT implementation comes from the public scene-to-drawio library, not EditableImage's private image-processing application.
Verify
Tests negotiate real MCP stdio calls, build scenes and inspect exported node/connector XML, escaping, duplicates, references and size limits. Published in the official MCP Registry as io.github.j-river/editableimage, version 0.1.0. Public metadata links directly to EditableImage and the npm package. Source metadata is in server.json.
MIT. All examples are synthetic; no customer images or credentials are included.
来源:README.md,提交 c85b408
工具
0版本历史
1- v0.1.0最新Nov 14, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Draw 集成
draw.io
io.draw官方发布者
draw.io 官方服务器,让助手用 Mermaid 或 draw.io XML 创建可交互图表,并从 draw.io 图形库中查找形状。

Zovo Fair Draw
由 GitHub 账号 theluckystrike 发布
运行可验证的抽奖:创建托管抽奖页面、收集参与者姓名,并按公开方法抽取中奖者、公开随机种子。

ChemDraw MCP
由 GitHub 账号 glebo309 发布
实验性的本地 MCP 服务器,让助手在 Apple Silicon Mac 上操控桌面版 ChemDraw,绘制、编辑、排版并导出化学结构。

DrawOffer 职绘
由 GitHub 账号 ql-link 发布
让 AI 助手读取你在 DrawOffer 职绘中的简历、已保存岗位和投递记录,并可选择新增岗位与投递记录。
SKETCHTALK – Draw to AI
jp.twelvetone
Mac 应用:可在正在运行的网页、模拟器或 Mac 窗口上直接绘制标注,并把标注交给 Claude Code。