# Next AI Draw.io MCP server

> Draw and edit draw.io diagrams from your AI agent on a live browser canvas you can also edit by hand.

- Listing: https://mcp.tc/i/next-ai-draw-io
- Connect: this is a local (stdio) server; install it on your machine (see Install). The listing link is a page, not an MCP endpoint.
- Type: local (stdio)
- Auth: no API key needed
- Category: [Design, Websites & CMS](https://mcp.tc/c/design)
- Vendor: DayuanJiang
- Homepage: <https://next-ai-drawio.jiang.jp/>
- Repository: <https://github.com/DayuanJiang/next-ai-draw-io/tree/HEAD/packages/mcp-server>
- Package: npm `@next-ai-drawio/mcp-server`

## About

Lets an AI agent draw draw.io diagrams such as architecture diagrams, flowcharts and sequence diagrams. The diagram appears on a live browser canvas as it is drawn, and you can edit it by hand or select shapes for the AI to change. It includes AWS, Azure, GCP and Kubernetes icon libraries, a screenshot tool, version history, multi-page diagrams and export to .drawio, .png, .svg or .drawio.svg.

Runs locally as an npm package over stdio, started with npx @next-ai-drawio/mcp-server@latest. The draw.io editor ships inside the package, so the preview works offline. No sign-in or API key is needed. Diagrams auto-save to ~/.next-ai-drawio/.

## What it can do

- Draw diagrams on a live draw.io canvas from a text description
- Edit only the shapes you select on the canvas
- Take a screenshot of the rendered diagram to check and fix it
- Browse version history and undo AI changes
- Work with multi-page diagrams
- Export as .drawio, .png, .svg or .drawio.svg
- Use AWS, Azure, GCP and Kubernetes icon libraries

## Example prompts

- "Draw a flowchart of user authentication with login, MFA and session management"
- "Generate a RAG architecture diagram for a chat application"
- "Make the selected shapes blue and add a database node"
- "Export the current diagram as an SVG"

## Install

### Claude Code

1. Run this in a terminal, in your project folder:

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

2. Start Claude Code and type `/mcp`. **next-ai-draw-io** should show as connected.

Add `--scope user` to make it available in every project.

### Claude Desktop

1. Open **Settings → Developer → Edit Config**. It opens `claude_desktop_config.json`. Add:

`claude_desktop_config.json`:

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

2. Save the file and restart Claude Desktop.

Needs Node.js on your computer. The file lives in `~/Library/Application Support/Claude/` on macOS and `%APPDATA%\Claude\` on Windows.

### Cursor

[Add to Cursor](<https://cursor.com/install-mcp?name=next-ai-draw-io&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBuZXh0LWFpLWRyYXdpby9tY3Atc2VydmVyIl19>) (opens Cursor)

Or add it by hand to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (this project):

`mcp.json`:

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

Needs Node.js on your computer.

### VS Code

[Install in VS Code](<https://vscode.dev/redirect/mcp/install?name=next-ai-draw-io&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40next-ai-drawio%2Fmcp-server%22%5D%7D>) (opens VS Code)

Or from a terminal:

```bash
code --add-mcp '{"name":"next-ai-draw-io","type":"stdio","command":"npx","args":["-y","@next-ai-drawio/mcp-server"]}'
```

Or commit it to the repo in `.vscode/mcp.json`:

`.vscode/mcp.json`:

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

Needs Node.js on your computer.

### Devin Desktop

1. Add it to `~/.config/devin/mcp_config.json` (macOS and Linux) or `%APPDATA%\devin\mcp_config.json` (Windows):

`mcp_config.json`:

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

2. Refresh the MCP server list in Cascade.

Devin Desktop is the new name for Windsurf.

### Codex

```bash
codex mcp add next-ai-draw-io -- npx -y @next-ai-drawio/mcp-server
```

Or edit `~/.codex/config.toml` directly:

`config.toml`:

```toml
[mcp_servers.next-ai-draw-io]
command = "npx"
args = ["-y", "@next-ai-drawio/mcp-server"]
```

Needs Node.js on your computer.

### Gemini CLI

```bash
gemini mcp add next-ai-draw-io npx -- -y @next-ai-drawio/mcp-server
```

This adds it to the current project. Add `-s user` to use it everywhere.

### Any client

Most clients that start local servers accept this shape:

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

Zed puts servers under `context_servers` in its settings, with the same `command`, `args` and `env` fields.

Needs Node.js on your computer.

## Recent changes

- 2026-11-14 02:25 UTC: New version 0.4.15 (was 0.4.14), read from npm. Source: automatic check.
- 2026-11-13 02:23 UTC: New version 0.4.14 (was 0.4.13), read from npm. Source: automatic check.
- 2026-11-07 05:27 UTC: New version 0.4.12 (was 0.4.11), read from npm. Source: automatic check.
- 2026-11-01 02:30 UTC: New version 0.4.11 (was 0.4.7), read from npm. Source: automatic check.
- 2026-10-31 02:27 UTC: New version 0.4.7 (was 0.4.6), read from npm. Source: automatic check.

More on the History tab, with descriptions before and after for the newest entries: https://mcp.tc/i/next-ai-draw-io#history (Atom feed: https://mcp.tc/i/next-ai-draw-io/history.xml). It records what mcp.tc's anonymous checks saw, every 3 hours where the tool list can be read without sign-in; it is not a security review.

## Details

- Server version: 0.4.15
- Last checked: 2026-10-16
- Listed: 2026-10-16
- Updated: 2026-10-16

---
Source: https://mcp.tc/i/next-ai-draw-io (mcp.tc is an independent directory, not affiliated with this server's publisher). Corrections: https://mcp.tc/report
