Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Dsh

MCP server by DayuanJiang Verified · npm:@next-ai-drawio

Draws and edits draw.io diagrams from chat, with versions and undo. The source is the Next AI Draw.io project, which also ships as a web app and desktop app. It suits people who make diagrams and want AI help refining them.

  • Score 94
  • 37k stars
  • 1.2k a week
  • Apache-2.0
  • Updated

Install Dsh

Built from the published package, never by AI.

claude mcp add dsh -- npx -y @next-ai-drawio/dsh

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Dsh in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the dsh block.

About

Next AI Draw.io lets an AI assistant draw and edit draw.io diagrams on a real canvas from a plain sentence. The AI can produce architecture diagrams, flowcharts, sequence diagrams and ER diagrams, and it can redraw an uploaded screenshot or sketch. Every AI change is saved as a version that you can compare, restore or undo.

It runs as a web app, a desktop app for Windows, macOS and Linux, and an MCP server for agents such as Claude Code, Cursor and VS Code. Users can edit the diagram by hand and select shapes for the AI to change. It is aimed at people who draw diagrams and want AI help refining them, and at developers who self-host it with their own model provider keys.

Written from the project's README and checked against it.

Tools it gives your assistant

  • Draw from textCreates architecture diagrams, flowcharts, sequence diagrams and more from one sentence.
  • Redraw from imagesRedraws an uploaded screenshot or sketch, or builds a diagram from PDF, Markdown or code files.
  • Edit selected shapesChanges only the shapes the user selects on the canvas when asked.
  • Versions and undoKeeps each AI change as a version card that can be compared, restored or undone.
  • Screenshot toolLets the AI look at the rendered diagram and fix it, according to the MCP server description.
  • ExportExports diagrams as .drawio, .png, .svg or .drawio.svg files.
  • Icon librariesIncludes AWS, Azure, GCP and Kubernetes icon libraries for diagrams.

What you need

  • An API key from a supported model provider
  • Node.js, since the MCP server runs through npx
  • Claude Code 2.1.275 or later for the plugin install

Try asking

  • Draw a flowchart of user authentication with login, MFA and session management.
  • Draw an AWS architecture for a highly available web app across two Availability Zones.
  • Draw an ER diagram for an online shop with primary and foreign keys.

Good to know

  • The online demo has a usage limit unless you enter your own provider and API key.
  • The source says small models tend to produce broken diagrams, so a capable model is needed.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Dsh

All alternatives →

Compare with Appllama, codesign or Pascal 3D Editor

Dsh: common questions

Can the AI edit a diagram I changed by hand?

Yes. The source says the AI reads the current canvas, including hand edits, before it makes changes.

Can I undo a change the AI made?

Yes. You can restore an earlier version, or press Ctrl+Z on the canvas to take back an AI change in one step.

Which AI model should I use?

The source recommends a capable model because the task is producing long, strictly formatted draw.io XML.

How do I install Dsh?

In Claude Code run claude mcp add dsh -- npx -y @next-ai-drawio/dsh. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Dsh the official server?

Dsh is published by npm:@next-ai-drawio from its verified domain in the official MCP Registry.

Is Dsh free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Dsh safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Dsh?

Similar MCP servers: Appllama, codesign, Pascal 3D Editor, Agent-Native Design.

Does Dsh work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.