drawio-architecture
БесплатноЗапускает вложенные скриптыНе проверенUse when generating or editing draw.io/diagrams.net architecture diagrams via MCP or native XML.
от afonsoft741 установка в других каталогахОб этом скилле
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.
When to use
The user asks for an architecture / system / service / network / cloud diagram, a flowchart, ER diagram, sequence / UML class, C4 model, or any draw.io/diagrams.net visualization.
The user wants diagrams to open in draw.io automatically (MCP) rather than be saved as a file for manual import.
You are setting up the draw.io MCP server for the current agent/IDE and need the exact config block per platform.
You want the agent to search the official shape library (AWS/Azure/GCP/Cisco/K8s/brand logos) without guessing
shape=strings.User asks or mentions this skill in English (e.g., "use /drawio-architecture", "run drawio-architecture").
O usuário pede ou menciona esta skill em português (ex.: "use /drawio-architecture", "execute drawio-architecture").
When NOT to use
- A casual hand-drawn / whiteboard look → excalidraw or tldraw.
- Diagrams-as-code that live in git and render in Markdown → use mermaid-architecture (general) or plantuml (UML).
- Freeform infinite-canvas sketching → tldraw.
Two delivery paths (pick one, or combine)
| Path | What it does | When to use |
|---|---|---|
| A. MCP (recommended for chat agents) | Agent calls an MCP tool (open_drawio_xml) → draw.io editor opens in a browser tab with the diagram. No file on disk required. |
Agent is an MCP client (Claude Desktop/Code, VS Code Copilot, Cursor, OpenCode, Windsurf). Best for "show me the diagram" flows. |
| B. Local CLI | Agent writes a .drawio file, then drawio -x -f png ... exports PNG/SVG/PDF locally. |
Headless/CI, need image deliverables, or no MCP available. Requires draw.io desktop CLI. |
Both paths share the same XML authoring rules in this skill — only the delivery step differs. You can generate XML with the rules below and feed it to either open_drawio_xml (path A) or a local file + CLI export (path B).
PATH A — MCP server: configure + use
A.1 Configure the server
The server is distributed as npx @drawio/mcp (stdio). Pin an explicit version and run it locally:
npx -y @drawio/mcp@<VERSION>
Replace <VERSION> with the latest stable release verified on npm. Do not run bare npx -y @drawio/mcp because it resolves to the latest remote version at runtime.
Add it to your client's MCP config under mcpServers.drawio. For the concrete JSON block per platform plus self-hosting, see references/mcp-config.md (Claude Desktop, Claude Code, VS Code .vscode/mcp.json, Cursor ~/.cursor/mcp.json, OpenCode, Windsurf, and the DRAWIO_BASE_URL env for self-hosted instances).
There is also a hosted alternative (https://mcp.draw.io/mcp) that renders diagrams inline via the MCP Apps protocol (Claude.ai, VS Code, Cursor) — no install, but it is a different server type than the stdio one above and sends your diagram XML to the draw.io vendor's servers. Only use it for non-sensitive diagrams and when you trust the vendor endpoint.
Automated setup helper
Run the bundled helper to detect the agent/platform and append the correct config automatically:
python3 scripts/s
Установить drawio-architecture в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл drawio-architecture?
Use when generating or editing draw.io/diagrams.net architecture diagrams via MCP or native XML.
Как установить скилл drawio-architecture?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл drawio-architecture запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic