Skip to content
appsgit

Next AI Draw.io

Next AI Draw.io is an MCP server that lets Claude Code, Cursor, VS Code and other AI agents draw draw.io diagrams from your project's files, with a live preview in your browser. The preview is the canvas of the Next… It has 36,412 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @next-ai-drawio/mcp-server.

github.com/DayuanJiang/next-ai-draw-io (opens in a new tab)

Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error

Install Next AI Draw.io

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "next-ai-draw-io": {
      "command": "npx",
      "args": [
        "-y",
        "@next-ai-drawio/mcp-server"
      ]
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --transport stdio next-ai-draw-io -- npx -y @next-ai-drawio/mcp-server

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "next-ai-draw-io": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@next-ai-drawio/mcp-server"
      ]
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "servers": {
    "next-ai-draw-io": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@next-ai-drawio/mcp-server"
      ]
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Tools (8)

Parsed from the Tools section of the README; check the repository for the current list.

  • start_session

    Open the preview and return the drawing guide; sessionid continues a saved diagram

  • create_new_diagram

    Draw a new diagram from mxCell XML

  • edit_diagram

    Add, update or delete cells by id, all or nothing

  • get_diagram

    The current XML, including your edits in the browser

  • get_selection

    The shapes you selected in the preview

  • screenshot_diagram

    A PNG of a page, for the AI to check

  • restore_version

    Go back to an earlier version; a redo stays possible

  • list_saved_diagrams

    Diagrams saved by earlier sessions, newest first

About Next AI Draw.io

An MCP server that lets Claude Code, Cursor, VS Code and other AI agents draw draw.io diagrams from your project's files, with a live preview in your browser. The preview is the canvas of the Next AI Draw.io web app: the AI's changes are outlined, Ctrl+Z takes them back, and you can edit by hand at any time.

  • ai
  • diagrams
  • architecture-diagram
  • claude-code
  • diagram-generator
  • draw-io
  • drawio
  • electron
  • flowchart
  • llm

FAQ

Next AI Draw.io FAQ

Still curious? Email info@appsgit.com.

How do I install the Next AI Draw.io MCP server?

Add the command npx -y @next-ai-drawio/mcp-server to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Next AI Draw.io free?

The server is open source under the Apache-2.0 license, so running it is free. It does not declare any required API key.

Is Next AI Draw.io actively maintained?

The most recent commit was on Oct 26, 2026. The latest release is v0.5.0, published Oct 10, 2026. appsgit only lists MCP servers with a commit in the last six months.