hj1003862396 avatar

Draw Flow Mcp Server

hj1003862396/draw-flow-mcp-server

Brings draw.io diagram generation into Claude and Cursor with real-time browser preview. Spins up an embedded HTTP server on port 6002 that serves the draw.io UI and syncs state as you work. You get five tools: start_session opens the browser, create_new_diagram and edit_diagram handle XML generation and cell-level edits by ID, get_diagram pulls current state, and export_diagram saves to .drawio files. Includes version history with visual thumbnails for rolling back changes. Self-contained with no external dependencies, though it loads the draw.io UI from embed.diagrams.net by default. You can point DRAWIO_BASE_URL at a private instance if you need to keep everything internal.

tools
5
transport
STDIO
last updated
Jan 11, 2026

Tools

5 tools

Public tool metadata for what this MCP can expose to an agent.

start_sessionOpens browser with real-time diagram preview

Opens browser with real-time diagram preview

No parameter schema in public metadata yet.

create_new_diagramCreate a new diagram from XML (requires `xml` argument)

Create a new diagram from XML (requires `xml` argument)

No parameter schema in public metadata yet.

edit_diagramEdit diagram by ID-based operations (update/add/delete cells)

Edit diagram by ID-based operations (update/add/delete cells)

No parameter schema in public metadata yet.

get_diagramGet the current diagram XML

Get the current diagram XML

No parameter schema in public metadata yet.

export_diagramSave diagram to a `.drawio` file

Save diagram to a `.drawio` file

No parameter schema in public metadata yet.

Sponsors

Readme

Next AI Draw.io MCP Server

MCP (Model Context Protocol) server that enables AI agents like Claude Desktop and Cursor to generate and edit draw.io diagrams with real-time browser preview.

Self-contained - includes an embedded HTTP server, no external dependencies required.

Quick Start

{
  "mcpServers": {
    "drawio": {
      "command": "npx",
      "args": ["@next-ai-drawio/mcp-server@latest"]
    }
  }
}

Installation

Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "drawio": {
      "command": "npx",
      "args": ["@next-ai-drawio/mcp-server@latest"]
    }
  }
}

VS Code

Add to your VS Code settings (.vscode/mcp.json in workspace or user settings):

{
  "mcpServers": {
    "drawio": {
      "command": "npx",
      "args": ["@next-ai-drawio/mcp-server@latest"]
    }
  }
}

Cursor

Add to Cursor MCP config (~/.cursor/mcp.json):

{
  "mcpServers": {
    "drawio": {
      "command": "npx",
      "args": ["@next-ai-drawio/mcp-server@latest"]
    }
  }
}

Cline (VS Code Extension)


View the full README on GitHub

Details

Repository
github.com/hj1003862396/draw-flow-mcp-server
Categories
Web & Browser Automation, Design & Creative
Package
@io.github.hj1003862396/draw-flow-mcp-server
Transport
STDIO
Registry
MCP registry, active

Related Web & Browser Automation MCP servers

View all
1br0ski777 avatarUser Agent Parser APIbr0ski777/user-agent-parser-x402Parse user agents — browser, OS, device, bot detection. x402 micropayment.0stars
2jsvvsolsllc avatarMiOffice — AI-Powered Workspace Studioio.github.jsvvsolsllc/mioffice125+ browser tools for PDF, Image, Video, Audio, AI, Scanner. Files never leave your device.0stars
3mukundakatta avatarHtml To Markdown Mcpmukundakatta/mcp-stackConvert HTML to Markdown or strip to plain text. For web-scraping agents.0stars
4pipeworx-io avatarQuickgopipeworx-io/mcp-quickgoQuickGO (EBI) MCP — Gene Ontology browser.0stars
5pipeworx-io avatarRadiopipeworx-io/mcp-radioRadio MCP — wraps Radio Browser API (free, no auth)0stars
6scottconfusedgorilla avatarsncroscottconfusedgorilla/sncro-relayLive browser debugging for AI assistants — DOM, console, network via MCP.0stars