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.
Install Dsh
Built from the published package, never by AI.
claude mcp add dsh -- npx -y @next-ai-drawio/dshRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"dsh": {
"args": [
"-y",
"@next-ai-drawio/dsh"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"dsh": {
"args": [
"-y",
"@next-ai-drawio/dsh"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"dsh": {
"args": [
"-y",
"@next-ai-drawio/dsh"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add dsh -- npx -y @next-ai-drawio/dsh{
"mcpServers": {
"dsh": {
"args": [
"-y",
"@next-ai-drawio/dsh"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add dsh npx -y @next-ai-drawio/dshGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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
ANo 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 →Appllama gives AI assistants research on top-grossing mobile apps, plus a build bar for native-feeling Expo and React Native screens. It suits developers building mobile apps with AI assistants.
Creates, edits and exports editable designs for AI assistants through the CoDesign MCP server, built on IMG.LY's CE.SDK design engine. It suits social teams, agencies and designers who need posters, social posts, videos and print layouts.
Pascal 3D Editor lets AI agents inspect, edit, validate, and save editable 3D building scenes through an MCP server. It is aimed at architecture, engineering, construction, and operations teams. Local use needs no Pascal account.
Agent-Native Design is the Design agent in Agent-Native, an open-source TypeScript framework. It generates and refines interactive designs with agent help. The same actions serve both the agent and the UI.
Draws and edits draw.io diagrams on a live browser canvas for AI agents such as Claude Code, Cursor and VS Code. It suits people who want to draw diagrams with AI and keep editing them by hand.
Framelink MCP for Figma gives coding assistants access to your Figma files. It supplies design data so the assistant can implement designs in any framework, mainly for use with Cursor.
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.
