Skip to content
mcp/skillhub

Next AI Draw.io MCP Server

by dayuanjiangio.github.DayuanJiang/next-ai-drawiov0.4.5

draw.io MCP server for Claude Code, Cursor, Codex and VS Code: the AI draws on a live browser canvas you can also edit by hand, with versions and undo

36kNode.jsstdioofficial registry

context tax

~4,856 tok/turn16 tools

security

97/100

cold start

1550 ms

freshness

Active23d ago

Our reading of Next AI Draw.io, from the data

Next AI Draw.io is a browser automation MCP server from dayuanjiang, listed in the official MCP Registry.

Its 16 tools add about 4,856 tokens to every model turn, heavier than the browser automation median of 1,734 tokens across 152 measured servers (measured 2026-10-23).

Maintenance is active: the last public signal was 23 days ago (2026-10-18). For comparison, 66% of browser automation servers are active or maintained.

With 36,318 GitHub stars it ranks #7 of 1,199 browser automation servers we index.

It runs locally on your machine over stdio.

Install Next AI Draw.io MCP server

Install in Claude Code

claude mcp add dayuanjiang -- npx -y @next-ai-drawio/mcp-server

Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works

npx mcpskillhub test @next-ai-drawio/mcp-server

Context tax

Connecting this server adds ~4,856 tokens of tool definitions to every model turn (moderate, 16 tools). Measured 2026-10-23 via a sandboxed run; o200k tokenizer, worst case for clients that load all tools up front. How we measure

ModelPer 1,000 turnsWith prompt caching
Claude Opus 5.5$19.42$0.971
Claude Sonnet 5.5$9.71$0.971
Claude Haiku 5.5$0.486—

Input prices as of 2026-10-06. Excludes your own prompt and output.

Tools (16)

  • edit_diagram795 tok

    Edit a specific page in the current diagram by ID-based operations (update/add/delete cells). All-or-nothing: if any operation fails, nothing is applied and every failure is listed. Freshness: the server remembers the last diagram state you have seen, and rejects this call only if the user edited the diagram in the browser since then. You do NOT need to call get_diagram before every edit: a rejected call changes nothing and includes the current XML of the page, so you can rebuild your operations and retry. Call get_diagram first only when you don't know the current diagram content (cell IDs

  • create_new_diagram538 tok

    Create a NEW diagram, REPLACING the whole document: every page and any unsaved user changes (the previous state stays in History). To add a tab use add_page; to change cells use edit_diagram. Before using icon shapes (AWS, Azure, GCP, Kubernetes, Cisco...), call get_shape_library first. Follow the drawing guide returned by start_session (call get_drawing_guide if it is no longer in your context). Pass screenshot: true on the last call of a complex diagram to check the result. Accepted xml: 1) Only the mxCell elements of one page (recommended). The server adds <mxfile>, <mxGraphModel>, <root>

  • export_diagram491 tok

    Export the current diagram to a file. Supports .drawio (XML), .png, .svg, and .drawio.svg (an SVG with the diagram embedded, which draw.io and load_diagram can open again). The format is auto-detected from the file extension, or can be specified explicitly. Images get a 20 px margin; a PNG has a white background (or the page's own background color) unless transparent is true. Multi-page behaviour: - .drawio with NO page selector: writes the full <mxfile> (all pages). - .drawio with a page selector: writes a single-page <mxfile> containing only that page. - .png / .svg with NO page selector: e

  • load_diagram395 tok

    Load a .drawio diagram into the current session, REPLACING the entire diagram (all pages). To change an existing file, load it here, edit with edit_diagram, then export_diagram to the same path; never rewrite the file by hand. Provide ONE of two mutually exclusive sources: 'path' (the server reads the file from disk — you do NOT need to read the file yourself or pass its XML through create_new_diagram) or 'xml' (the raw file content you already have — from another tool, a repository read, or an API response — so no temporary file needs to be written first). Both accept plain XML and draw.io's

  • add_page300 tok

    Append a new page (tab) to the current diagram WITHOUT touching existing pages or unsaved user changes. Use this when the user wants "another diagram alongside" — e.g. "add a CNN page" — instead of create_new_diagram which wipes everything. Inputs: - name: optional display name for the tab (defaults to Page-N where N = existing-page-count + 1) - id: optional explicit page id; if omitted the server generates a short alphanumeric id - xml: optional starting content: the mxCell elements of the page (root cells "0" and "1" are added), or a bare <mxGraphModel>. If omitted, the page starts blank.

  • get_diagram266 tok

    Get the current diagram XML (fetches latest from browser, including user's manual edits). Call this when you don't know the current diagram content (cell IDs, pages, structure) — e.g. before editing a diagram you didn't create in this conversation, or after edit_diagram was rejected because the user changed the diagram in the browser. Returns the full <mxfile> by default. If a page selector is provided, returns just that page's <mxGraphModel> embedded in a one-page <mxfile> wrapper.

  • screenshot_diagram235 tok

    Render the diagram in the preview and return it as a PNG image, so you can see your own result. Call this once after drawing or heavily editing a complex diagram, then fix overlaps and edges that cross shapes. Without a page selector it shows the page on screen; with one it renders that page without changing what the user sees. Needs the preview tab to be open.

  • rename_page227 tok

    Rename an existing page (tab). At least one of page_id / page_name / page_index is required to identify which page to rename. The new_name becomes the visible tab label in the editor.

  • get_shape_library219 tok

    Get the style syntax and shape names of a draw.io icon library. Call this BEFORE drawing with cloud, network or other icon shapes, and use the exact names it returns; never guess them. Libraries: - Cloud: aws4, azure2, gcp2, alibaba_cloud, openstack, salesforce - Networking: cisco19, network, kubernetes, vvd, rack - Business: bpmn, lean_mapping - General: flowchart, basic, arrows2, infographic, sitemap - UI/Mockups: android, material_design - Enterprise: citrix, sap, mscae, atlassian - Engineering: fluidpower, electrical, pid, cabinets, floorplan - Icons: webicons

  • delete_page201 tok

    Delete a page (tab) from the current diagram. At least one of page_id / page_name / page_index is required. Refuses to delete the last remaining page — the editor needs at least one tab.

  • start_session162 tok

    Start a new diagram session, or continue a saved one with session_id, and open the browser for real-time preview. Starts an embedded server and opens a browser window with draw.io. The browser will show diagram updates as they happen. The result includes the drawing guide; follow it when drawing.

  • restore_version152 tok

    Undo: put an earlier version of the diagram from History back on the canvas (the current canvas is kept in History, so this can be undone too). Use it when the user asks to undo, revert or go back.

  • get_selection121 tok

    Return the cells the user has selected in the preview: their ids and labels, for edges the source and target ids, for shapes the position and size, and the page they are on. Call this when the user refers to what they selected ("this box", "these arrows", "the selected shapes"), then act on the ids with edit_diagram. Says when nothing is selected. Needs the preview tab to be open.

  • get_drawing_guide119 tok

    Return the drawing guide: XML format, layout, edge routing, style and editing rules. start_session already returns it; call this only if the guide is no longer in your context. With topic, returns a short XML reference for tables, layers or groups.

  • list_pages92 tok

    List every page (tab) in the current diagram. Returns each page's id, name, 0-based index, and cell count. Use this to discover what pages exist before targeting one with edit_diagram, get_diagram, export_diagram, rename_page, or delete_page.

  • list_saved_diagrams75 tok

    List the diagrams saved by earlier sessions (auto-save files), newest first, with their pages. Continue one with start_session session_id=<id>; the file path also works with load_diagram.

Security signals

97/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.

Deductions

  • No security policy (SECURITY.md)-3

Checks

  • ✓Repository hygiene (archived, activity, license, security policy)
  • ✓Tool descriptions (prompt-injection and hidden-text heuristics)
  • ○Package metadata (install scripts, provenance) — pending
  • ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending

Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules

Freshness

Active — last maintenance signal 23d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-18 · 23d ago · GitHub

  2. Latest release

    2026-10-10 · 32d ago · GitHub · v0.5.0

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-10-17 · 24d ago · official registry · v0.4.5

How it compares in Browser Automation

Against the most-starred browser automation servers we index. Token cost is per model turn, measured from each server's live tool list.

ServerStarsToolsTokens / turnFreshnessRuns
Next AI Draw.io (this)36,318164,856Activelocal
Browser Use118,44421,623Activelocal
Scrapling88,517—not measuredActivelocal
Chrome DevTools53,807326,117Activelocal
Browser39,318211,574Activelocal + hosted
Playwright38,349253,710Activelocal
All browser automation MCP servers

FAQ

›How do I install the Next AI Draw.io MCP server in Claude Code?

Run: claude mcp add dayuanjiang -- npx -y @next-ai-drawio/mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Next AI Draw.io require an API key?

No required environment variables are declared in its published metadata.

›Can I use Next AI Draw.io as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Next AI Draw.io in the official MCP registry?

Yes, as io.github.DayuanJiang/next-ai-drawio.

›How many tokens does Next AI Draw.io add to my context?

Its tool definitions total about 4,856 tokens, resent on every turn.

Sources and method

Official MCP Registry entry
updated 2026-10-17
GitHub repository
fetched 2026-10-19
Package registry (npm / PyPI)
listed
Last checked against all sources
2026-10-19

The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.

Alternatives to Next AI Draw.io

Other browser automation MCP servers.

View all