Install the Draw.io Base Skill first. Add the Academic Overlay beside it only when you need publication-facing defaults. Add optional live-edit MCP only if you want base-skill browser sessions.
npxVerify Node:
node --version
npx --version
npx skills add bahayonghang/drawio-skills
This installs the repository skill set into the correct skill directory for the current client integration.
skills/drawio: Draw.io Base Skill for general diagrams, network topology, structured redraws, import/export, shared styles, and optional live refinement.skills/drawio-academic-skills: Academic Overlay for paper-first diagrams. It depends on sibling ../drawio; it does not include copied base runtime files and does not require MCP.git clone https://github.com/bahayonghang/drawio-skills.git
cd drawio-skills
Copy skills/drawio by default.
For academic-paper defaults, copy both folders side by side:
skills/
├── drawio/
└── drawio-academic-skills/
The overlay resolves ../drawio/scripts/cli.js, ../drawio/references/, ../drawio/assets/themes/, and ../drawio/styles/built-in/ at runtime.
~/Library/Application Support/Claude/skills/~/.config/Claude/skills/%APPDATA%\Claude\skills\~/Library/Application Support/gemini/skills/~/.gemini/skills/%APPDATA%\gemini\skills\~/.codex/skills/%USERPROFILE%\.codex\skills\Restart the client after copying the folders.
Normal create/edit/export work does not require MCP. Configure @next-ai-drawio/mcp-server only if you want base-skill live browser refinement.
Academic overlay does not need MCP and should not route through a live backend.
macOS / Linux:
{
"mcpServers": {
"drawio": {
"command": "npx",
"args": ["--yes", "@next-ai-drawio/mcp-server@latest"]
}
}
}
Windows:
{
"mcpServers": {
"drawio": {
"type": "stdio",
"command": "cmd",
"args": ["/c", "npx", "--yes", "@next-ai-drawio/mcp-server@latest"]
}
}
}
config.tomlmacOS / Linux:
[mcp_servers.drawio]
command = "npx"
args = ["--yes", "@next-ai-drawio/mcp-server@latest"]
Windows:
[mcp_servers.drawio]
type = "stdio"
command = "cmd"
args = ["/c", "npx", "--yes", "@next-ai-drawio/mcp-server@latest"]
Install draw.io Desktop if you want:
.png, .pdf, .jpg export.drawio.svgThe standalone SVG path does not require draw.io Desktop.
Try a simple request in your client:
/drawio create a small high-contrast flowchart with 4 nodes
/drawio-academic-skills create a grayscale-safe IEEE workflow figure with 4 stages
If the overlay reports missing ../drawio, copy the base skill beside it.
node skills/drawio/scripts/cli.js skills/drawio/references/examples/login-flow.yaml --validate
npm view @next-ai-drawio/mcp-server version
That is expected in the default runtime. Browser sessions happen only when you configured optional MCP and explicitly use base-skill live refinement.
../drawioInstall skills/drawio next to skills/drawio-academic-skills. The overlay is not a standalone copied package in the source tree.
No active sessionYou are using MCP tools without a live session. Call start_session first, or switch back to the offline bundle workflow.
Use standalone SVG instead, or install draw.io Desktop before using --use-desktop.
Wrap npx with cmd /c as shown above. Direct npx launch is often unreliable on Windows MCP transports.