drawio-mcp-server

Level ALocal

Draw.io Model Context Protocol (MCP) Server

Overview

Draw.io MCP server lets AI agents create, read, modify, and delete Draw.io diagram elements through MCP tools, enabling automatic generation of architecture diagrams, flowcharts, and visual documentation. It works via a built-in editor or browser extension, and offers page and layer management, multi-document and multi-tab routing, Mermaid import, and runtime auto-discovery of AWS, GCP, Azure, and Cisco stencils. It works with MCP clients such as Claude Desktop, Claude Code, Zed, and Codex.

⭐ 1.5kDevelopment ToolsTypeScriptRepo ↗Updated 2026-11-01

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "lgazo-drawio-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "drawio-mcp-server",
        "--editor"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/lgazo/drawio-mcp-server

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "lgazo-drawio-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "drawio-mcp-server",
        "--editor"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers