next-ai-drawio (via mcp2cli)
Create and manage draw.io diagrams via CLI with live browser preview.
Shortcuts
mcp2cli drawio <cmd>(alias fornext-ai-drawio)
Commands
Session
| Command | Description | Example | Ref |
|---|---|---|---|
mcp2cli drawio session start |
Start diagram session and open browser for live preview | mcp2cli drawio session start |
ref |
Diagram
| Command | Description | Example | Ref |
|---|---|---|---|
mcp2cli drawio diagram create |
Create a new diagram from mxGraphModel XML | mcp2cli drawio diagram create --xml '<mxGraphModel>...</mxGraphModel>' |
ref |
mcp2cli drawio diagram get |
Get the current diagram XML from browser | mcp2cli drawio diagram get |
ref |
mcp2cli drawio diagram edit |
Edit diagram by ID-based cell operations (add/update/delete) | ref | |
mcp2cli drawio diagram export |
Export diagram to file (.drawio/.png/.svg) | mcp2cli drawio diagram export --path ./diagram.png |
ref |
Discover Parameters
Append --help to any command for full parameter list:
mcp2cli drawio diagram create --help
Note: Use Ref links in the Commands table above to view detailed parameter reference and more examples.
User Notes
MUST READ users/skill.md for custom workflows and tips. Config: MCP server settings live in
~/.agents/mcp2cli/servers.yaml- edit there to take effect.