drawio-architecture
Installation
SKILL.md
Draw.io Architecture Diagrams + MCP Integration
Create professional, editable architecture diagrams in draw.io's native .drawio XML format and integrate the official draw.io MCP server so diagrams open directly in the editor. This skill merges two proven sources:
- Authoring knowledge — how to write correct
.drawioXML for architecture, network, cloud, flowchart and ER diagrams (fromAgents365-ai/drawio-skillandscarr05/claude-skills-pub). - MCP integration — how to configure and call the official
@drawio/mcpserver so the agent opens diagrams inline/editor instead of dumping XML to a file (fromjgraph/drawio-mcp, the vendor's own reference).
Security and Trust Boundaries
- Pin the MCP server version:
npxcan download and execute remote code. Do not run barenpx -y @drawio/mcp. Usenpx -y @drawio/mcp@<VERSION>with an explicit version verified on npm or the project's lockfile. Verify the package name and publisher (JGraph /drawio) before installing. - Prefer local stdio or self-hosted: The recommended integration runs
@drawio/mcpas a local stdio process. If you useDRAWIO_BASE_URL, point it to a draw.io instance you control and trust. - Hosted endpoint caution:
https://mcp.draw.io/mcpis a remote MCP Apps endpoint operated by the draw.io vendor. It receives diagram XML and renders inline. Only use it when the vendor, TLS channel, and data sensitivity are acceptable for your diagrams. Do not send confidential or regulated architecture data to the hosted endpoint. - SVG/PNG exports are local: The CLI export path (
drawio -x ...) runs the desktop application locally and does not upload diagrams unless you explicitly open a browser URL.