Data as of
Draw.io MCP Server for Claude Desktop: Setup & Config
Draw.io MCP Server gives Claude Desktop control over diagrams in a browser.
What you can do with Draw.io in Claude Desktop
Keep assistant-driven diagram edits tied to explicit files and pages, with a bundled browser editor.
- Assign diagram work to explicit pages while keeping a multi-file session organized.
- Refine connectors, labels, and grouped shapes in an existing architecture drawing.
- Bring Mermaid material into a Draw.io editing session.
Before you start: Draw.io in Claude Desktop
- Node.js version 22 or above
- MCP host to launch the server
- Browser to open the included editor
This is the README's included-editor configuration. Restart the MCP host, then browse to http://localhost:3000/ for the editor UI; that address is not the MCP transport endpoint. An extension-based session can omit --editor. Do not assume the blocked desktop path works like either browser option.
Draw.io Claude Desktop configuration
Choose Claude Desktop configuration scope
For Draw.io MCP Server, open macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json. Merge under mcpServers via Settings → Developer → Edit Config when available.
Add Draw.io MCP Server to Claude Desktop
Use the drawio-mcp-server entry below in mcpServers. Keep Draw.io MCP Server's documented stdio connection fields and your other Claude Desktop entries.
Check Draw.io MCP Server in Claude Desktop
Draw.io MCP Server: Fully quit and reopen Claude Desktop; check developer diagnostics.
Config file · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"drawio-mcp-server": {
"command": "npx",
"args": [
"-y",
"drawio-mcp-server",
"--editor"
],
"env": {}
}
}
}Draw.io tools available to Claude Desktop
Draw.io's stored tool list documents 6 tools; compare it with Claude Desktop's connected tool list, because the stored list is not a live check.
- list-documents
When Claude Desktop requests list-documents from Draw.io, review the action before approving it.
Find connected diagram instances before choosing the document to edit.
- get-current-page
When Claude Desktop requests get-current-page from Draw.io, review the action before approving it.
Identify the active page in a diagram.
- list-pages
When Claude Desktop requests list-pages from Draw.io, review the action before approving it.
Discover the pages belonging to a document.
- copy-page
When Claude Desktop requests copy-page from Draw.io, review the action before approving it.
- rename-page
When Claude Desktop requests rename-page from Draw.io, review the action before approving it.
- create-page
When Claude Desktop requests create-page from Draw.io, review the action before approving it.
Troubleshooting Draw.io in Claude Desktop
- Fully quit and reopen Claude Desktop for Draw.io MCP Server. If npx drawio-mcp-server (Node.js/npm) is missing, check the desktop process's PATH, which may differ from your terminal.
- Draw.io MCP Server uses stdio here: Claude Desktop must keep the configured process running; protocol output belongs on stdout and diagnostics on stderr.
- Known limitation: Runtime requirements start at Node.js 22.
- Known limitation: Firefox needs a TLS-enabled connection.
- Known limitation: The experimental desktop integration is presently blocked by upstream CSP behavior.
- General Claude Desktop troubleshooting lives in the /clients/claude-desktop guide.
Draw.io MCP Server — details. Claude Desktop guide