gitnexus
MCPShips with gitnexus: GitNexus indexes a codebase into a knowledge graph of symbols, calls, dependencies and execution flows. Use…
Ships with drawio-mcp-server: Let's do some Vibe Diagramming with the most wide-spread diagramming tool called Draw.io (Diagrams.net).
Claude Code
> /plugin marketplace add lgazo/drawio-mcp-server> /plugin install drawio@drawio-mcp-server
Codex
$ codex mcp add drawio --url http://localhost:3000/mcp
Cursor
{ "mcpServers": { "drawio": { "url": "http://localhost:3000/mcp" } } }
Add it to mcp.json.
Gemini CLI
$ gemini mcp add --transport http drawio http://localhost:3000/mcp
GitHub Copilot
$ copilot mcp add --transport http drawio http://localhost:3000/mcp
OpenCode
{ "mcp": { "drawio": { "type": "remote", "url": "http://localhost:3000/mcp" } } }
Add it to opencode.json.
Windsurf
{ "mcpServers": { "drawio": { "serverUrl": "http://localhost:3000/mcp" } } }
Add it to mcp_config.json.
From the README
Document discovery
list connected Draw.io document instances and route later calls to a specific tab/file instance
Diagram inspection
read shapes, pages, layers, and cell properties
Diagram modification
add/edit/delete shapes, edges, and labels on a target page
Page management
list pages, inspect the current page, create pages, copy pages, and rename pages without forcing a visible page switch on supported runtimes
Layer management
create, switch, and organize layers
Vendor shape coverage
AWS, GCP, Azure, Cisco19, and CiscoSafe stencils auto-discovered at runtime from drawio's sidebar, so agents can place icons like mxgraph.gcp2.cloud_run or mxgraph.cisco19.router without…
Built-in TLS
opt-in HTTPS + WSS with manual cert/key or auto-generated self-signed material via a per-user local CA.
Security report
Not enough data
Known flaws
Not published
Signed build
Not published
Maintained
Nov 1, 2026
Last push
Licence
MIT
Runs as
Remote
localhost
Deprecated
Not published
Signals from public registries, not an audit. Checked Nov 21, 2026.
Let's do some Vibe Diagramming with the most wide-spread diagramming tool called Draw.io (Diagrams.net).
Browser extension UI and documentation localized to Simplified Chinese (zh-CN)
Claude Code plugin: /plugin marketplace add lgazo/drawio-mcp-server then /plugin install drawio, with /drawio-open and /drawio-status slash commands
npx drawio-mcp-server install <host> writes the MCP config for claude-code, claude-desktop, codex, zed, opencode, or all
Document persistence tools: set-document-title and save-document
Draw.io library API version compatibility mechanism
Enable Draw.io MCP in IFrames
AWS, GCP, Azure, Cisco19, and CiscoSafe stencils auto-discovered at runtime from drawio's sidebar
Multi-document targeting with list-documents and target_document selectors for multi-tab workflows
Multi-page targeting with required target_page selectors for page-scoped tools
Per-document FIFO serialization for live operations, so multiple agents can work on different files safely
Page management tools: list-pages, get-current-page, create-page, copy-page, rename-page
Import, embed, or expand Mermaid diagrams
Firefox support is back, TLS mode is necessary
Server supports TLS mode and optionally generates self-signed certificates
Import and export diagrams from/to XML, SVG (with embedded XML), or PNG (with embedded XML)
Edge geometry control with waypoints and automatic self-connector routing
Parent-child relationships for nested shapes and grouping
Unified Server and Extension in the same mono-repo
Built-in Draw.io editor - no browser extension required
MCP server that lets AI agents control Draw.io diagrams
Programmatic diagram creation, inspection, and modification via MCP tools
Layer management for complex diagrams
Works with any MCP client (Claude Desktop, Claude Code, Zed, Codex, etc.)
The Draw.io MCP server brings Draw.io diagramming capabilities to AI agents. It provides MCP tools that can create, read, update, and delete diagram elements - letting AI assistants build architectural diagrams, flowcharts, and visual documentation automatically.
Two ways to use:
Experimental: integration with the draw.io desktop (Electron) app is in progress but currently blocked by an upstream CSP issue — see DESKTOP.md.
No additional requirements - runs out of the box with --editor flag.
Fastest path:
/plugin marketplace add lgazo/drawio-mcp-server then /plugin install drawio.npx drawio-mcp-server install <host> where <host> is claude-code, claude-desktop, codex, zed, opencode, or all.See docs/PLUGINS.md for the full reference, flags, and uninstall, and docs/release.md for how releases are cut.
Manual install (JSON snippet, Claude Desktop example)
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"drawio": {
"command": "npx",
"args": ["-y", "drawio-mcp-server", "--editor"]
}
}
}
For other MCP clients and detailed configuration (including pnpm options), see Configuration.
After restarting your MCP host, open: http://localhost:3000/
Example prompts you can try:
"Create an event-driven architecture diagram showing a message queue with producers, consumers, and three backend services"
"Create a three-page event-driven architecture diagram. Use three agents in parallel for service topology, message flow, and retry/failure handling, with each agent assigned to a separate target page."
"Draw a CRUD API diagram with a database, API gateway, and four microservices with their endpoints"
"Add a new layer called 'Background' and move all decorative elements to it, then create a new layer for annotations"
Your AI assistant can now control the diagram using MCP tools.
The server provides MCP tools for:
mxgraph.gcp2.cloud_run or mxgraph.cisco19.router without hand-curated catalogsSee Tools Reference for the complete list of available tools.
On MCP Apps-capable hosts (Claude Desktop, QuixiDesk, MCPJam, VS Code Copilot), the show-diagram tool opens the diagram as an interactive draw.io editor directly inside the conversation. The framed editor displays the diagram, connects to the server's WebSocket bridge, and registers there as a live document: it appears in list-documents (in embed mode) and agent tool calls (e.g. add-rectangle) apply to it, verified in headless E2E. Syncing user-side edits made in the framed editor so the agent sees them remains pending real-browser verification.
Enable it by running the server with the --editor flag; no other configuration is needed. On hosts without MCP Apps support, show-diagram falls back to returning plain diagram XML text.
Limitation: the MCP host must be able to reach http://localhost:<http-port>, where the locally served draw.io editor is framed. Native desktop hosts like Claude Desktop work; remote browser sessions may not be able to.
See the show-diagram tool for details.
The server runs as part of your MCP host. Detailed configuration for all supported clients (Claude Desktop, Claude Code, Zed, Codex, oterm) including npm and pnpm options is available in Configuration.
Instead of the built-in editor, you can use the browser extension to connect to Draw.io running in your browser. This works with or without the --editor flag.
Configuration without --editor:
{
"mcpServers": {
"drawio": {
"command": "npx",
"args": ["-y", "drawio-mcp-server"]
}
}
}
See the extension documentation for more details.
Integration with the draw.io desktop (Electron) app is experimental and currently blocked end-to-end by an upstream CSP issue. The plugin loads inside draw.io desktop, but its WebSocket connection back to the MCP server is rejected by draw.io's hard-coded connect-src 'self' policy.
See DESKTOP.md for the full setup steps and the current limitation.
Configuration - CLI flags and advanced options
Tools Reference - Complete MCP tools documentation
Draw.io Desktop (experimental) - install path and known CSP limitation
Ships with gitnexus: GitNexus indexes a codebase into a knowledge graph of symbols, calls, dependencies and execution flows. Use…
Ships with treg: OpenRouter, but for agent tools instead of models. Point an agent at one base URL with one token and it can do…