Draws draw.io diagrams in DeepSeek Harness through the next-ai-drawio MCP server: the link in the reply opens a live preview in the right sidebar, you can edit the diagram by hand, and each AI change is a version you can restore. Node.js 18+; npx downloads the MCP server on first use.
Install
# from npm (prebuilt)
dsh plugin --profile web add @next-ai-drawio/dsh
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:DayuanJiang/next-ai-draw-io#path:/packages/dsh-plugin
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
DeepSeek Harness plugin for Next AI Draw.io. It adds the @next-ai-drawio/mcp-server MCP server, so the agent can draw draw.io diagrams on a live canvas in DSH's right sidebar. You can edit the diagram by hand at the same time, and every change the AI makes is saved as a version you can go back to.
Install
dsh plugin --profile web add @next-ai-drawio/dsh
Use the profile you start DSH with (web for dsh web). You need Node.js 18 or later; npx downloads the MCP server on first use. After installing, the plugin shows up under Plugins in the DSH web UI, where you can turn it off.
Use
Ask, for example, "Read this repo and draw its architecture". The agent calls start_session and replies with the preview link. Click it: the preview opens in DSH's right sidebar, and the diagram appears as it is drawn. The plugin turns on DSH's sidebar browser, which the web profile leaves off by default.
The agent checks its drawing with screenshot_diagram. That works once the preview is open, and only with a model that accepts images; with a text-only model, DSH passes a short note instead of the picture.
The tools are named mcp__drawio__<tool>: start_session, create_new_diagram, edit_diagram, get_diagram, screenshot_diagram, export_diagram, restore_version and more. See the MCP server README for the full list and its settings.
Profiles without the sidebar, such as tui and headless, print patch: entry "ui-sidebar-browser" not found at start; it does no harm. There, open the preview link in your browser.
Settings
The plugin runs npx -y @next-ai-drawio/mcp-server@latest. To pass more settings such as DRAWIO_LANG, override the mcp-drawio row in your profile's cordis.patch.yml:
- id: mcp-drawio
config:
serverName: drawio
transport: stdio
command: npx
args: ['-y', '@next-ai-drawio/mcp-server@latest']
toolCallTimeoutMs: 120000
env:
DRAWIO_ALLOW_EMBED: 'true'
BROWSER: none
DRAWIO_LANG: zh
A row override replaces the whole config, so keep the other fields. DRAWIO_ALLOW_EMBED lets the sidebar show the preview, and BROWSER: none stops the server from opening a separate browser tab.
Remove
dsh plugin --profile web remove @next-ai-drawio/dsh
Links
More in this category
Tencent/WeKnora#dsh-weknora★ 37331
Four read-only tools over a WeKnora knowledge base: list knowledge bases, hybrid passage search, reassemble one document's chunks in order, and WeKnora's own cited RAG or ReAct-agent answer with a resumable session id.
superdesigndev/treg★ 7889
Tool catalog for agents: search ~2,600 external endpoints (SEO and SERP, backlinks, social, people and company enrichment, ad libraries, scraping) by the task you want done, read each one's parameters and per-call price, then call it with the credential injected server-side. Ships the skill plus an MCP row that stays disabled until TREG_TOKEN is set.
T-Auto/dsh-ops★ 5766
Provides bash, PowerShell 7, and high-performance Rust tools for DSH on Windows to reduce token usage.
sixtysevenlf/dsh-blender-plugin★ 2051
Lets a DSH agent drive a local Blender over a direct TCP channel with 15 tools: viewport frames, custom-angle renders, Python execution, headless and job offload, transaction rollback, and a planning layer of 228 ops across 34 families.
yjl9903/AnimeGarden#dsh★ 1399
Anime Garden for DSH: search anime torrent resources from 動漫花園, 蜜柑计划, 萌番组 and ANi inside DSH — via chat, a sidebar panel with fansub and type filters, a seasonal calendar, and an in-app floating player.
TencentCloudBase/CloudBase-AI-Toolkit#dsh-plugin★ 1165
Tencent CloudBase backend for DeepSeek Harness — scaffold and deploy full-stack apps from chat, render query results as table cards with paging, sorting and CSV export, preview a deployment on its domain, and call the CloudBase MCP toolset (`mcp__cloudbase__*`) with device-code login.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.