
Draw Flow Mcp Server
io.github.hj1003862396Published by GitHub account hj1003862396v1.0.2Updated Oct 24, 2026
MCP server for Next AI Draw.io - AI-powered diagram generation with real-time browser preview
The publisher's own server: draw.io
Overview
A local MCP server that lets an AI assistant generate and edit draw.io diagrams, with live preview in the browser and export to .drawio files.
- What you can do
- Start a diagram session that opens a browser window with a live draw.io preview and keeps it updated as the assistant works, with version history for restoring earlier states and a session ID linking browser to server. Create a new diagram from XML supplied by the assistant. Edit an existing diagram through ID-based cell operations (update, add, delete). Read back the current diagram XML and export the diagram to a .drawio file.
- When to use it
- Useful when you want an assistant to turn a plain-language description into flowcharts or architecture diagrams and watch them appear and change in the browser, or to revise and export existing draw.io diagrams.
- Requirements
- Runs locally over stdio, typically launched with npx, so Node.js is needed. It embeds an HTTP server on port 6002 by default (falls back up to 6020) and opens a browser window. The draw.io UI loads from embed.diagrams.net unless DRAWIO_BASE_URL points to a self-hosted instance; PORT and DRAWIO_BASE_URL are optional settings. No accounts or API keys are declared.
Installation
In SourceWeft
- Open Draw Flow Mcp Server in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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
Installation
Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
VS Code
Add to your VS Code settings (.vscode/mcp.json in workspace or user settings):
Cursor
Add to Cursor MCP config (~/.cursor/mcp.json):
Cline (VS Code Extension)
- Click the MCP Servers icon in Cline's top menu bar
- Select the Configure tab
- Click Configure MCP Servers to edit
cline_mcp_settings.json - Add the drawio server:
Claude Code CLI
Other MCP Clients
Use the standard MCP configuration with:
- Command:
npx - Args:
["@next-ai-drawio/mcp-server@latest"]
Usage
- Restart your MCP client after updating config
- Ask the AI to create a diagram:
"Create a flowchart showing user authentication with login, MFA, and session management"
- The diagram appears in your browser in real-time!
Features
- Real-time Preview: Diagrams appear and update in your browser as the AI creates them
- Version History: Restore previous diagram versions with visual thumbnails - click the clock button (bottom-right) to browse and restore earlier states
- Natural Language: Describe diagrams in plain text - flowcharts, architecture diagrams, etc.
- Edit Support: Modify existing diagrams with natural language instructions
- Export: Save diagrams as
.drawiofiles - Self-contained: Embedded server, works offline (except draw.io UI which loads from
embed.diagrams.netby default, configurable viaDRAWIO_BASE_URL)
Available Tools
How It Works
- MCP Server receives tool calls from Claude via stdio
- Embedded HTTP Server serves the draw.io UI and handles state
- Browser shows real-time diagram updates via polling
Configuration
Private Deployment (Self-hosted draw.io)
For security-sensitive environments that require private deployment of draw.io:
You can deploy your own draw.io instance using the official Docker image:
Then set DRAWIO_BASE_URL=http://localhost:8080 (or your server's URL).
Troubleshooting
Port already in use
If port 6002 is in use, the server will automatically try the next available port (up to 6020).
Or set a custom port:
"No active session"
Call start_session first to open the browser window.
Browser not updating
Check that the browser URL has the ?mcp= query parameter. The MCP session ID connects the browser to the server.
License
Apache-2.0
Source: README.md at commit fe245b6
Tools
0Version history
1- v1.0.2LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.
Other Draw integrations
draw.io
io.drawOfficial publisher
Official draw.io server that lets an assistant create interactive diagrams from Mermaid or draw.io XML and look up shapes from draw.io's stencil libraries.

ChemDraw MCP
Published by GitHub account glebo309
Experimental local MCP server that lets an assistant drive desktop ChemDraw on Apple Silicon Macs to draw, edit, lay out and export chemical structures.

DrawOffer 职绘
Published by GitHub account ql-link
Lets an AI assistant read your DrawOffer job-search resumes, saved jobs and application records, and optionally save new jobs and applications.
SKETCHTALK – Draw to AI
jp.twelvetone
Mac app that lets you draw on a live web page, Simulator or Mac window and hand those marks to Claude Code.

Next AI Draw.io
Published by GitHub account DayuanJiang
Lets an AI agent draw and edit draw.io diagrams on a live browser canvas that you can also edit by hand.