# Smart Drawio (npm · @yunshenwuchuxun/smart-drawio-mcp)

Generate, validate, repair and style editable draw.io XML diagrams.

- Trust score: 71/100 (medium)
- Change this week: +3
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-10-23

## Components

- npm · `@yunshenwuchuxun/smart-drawio-mcp`: 71/100 (this document), [markdown](https://verifymcp.io/servers/yunshenwuchuxun-smart-drawio/yunshenwuchuxun-smart-drawio-mcp.md), [page](https://verifymcp.io/servers/yunshenwuchuxun-smart-drawio/yunshenwuchuxun-smart-drawio-mcp)

## Channel facts

- Registry: `npm`
- Package: `@yunshenwuchuxun/smart-drawio-mcp`
- Version: `0.1.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-10-23.

- **Supply Chain Security**: 98/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 2 of 6 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 8 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 71/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 339 tokens (~67/item across 5 items; 5 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 79/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 25% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 5 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 5 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a current MCP spec version (2026-07-28).

## Install

### How do I install the Smart Drawio MCP server?

Smart Drawio runs locally as an npm package, launched with npx -y @yunshenwuchuxun/smart-drawio-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add yunshenwuchuxun-smart-drawio -- npx -y @yunshenwuchuxun/smart-drawio-mcp
```

### Cursor

```json
{
  "mcpServers": {
    "yunshenwuchuxun-smart-drawio": {
      "command": "npx",
      "args": [
        "-y",
        "@yunshenwuchuxun/smart-drawio-mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "yunshenwuchuxun-smart-drawio": {
      "command": "npx",
      "args": [
        "-y",
        "@yunshenwuchuxun/smart-drawio-mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add yunshenwuchuxun-smart-drawio -- npx -y @yunshenwuchuxun/smart-drawio-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "yunshenwuchuxun-smart-drawio": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@yunshenwuchuxun/smart-drawio-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add yunshenwuchuxun-smart-drawio --command npx --arg -y --arg @yunshenwuchuxun/smart-drawio-mcp
```

### Hermes

```yaml
mcp_servers:
  yunshenwuchuxun-smart-drawio:
    command: "npx"
    args: ["-y", "@yunshenwuchuxun/smart-drawio-mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "yunshenwuchuxun-smart-drawio": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@yunshenwuchuxun/smart-drawio-mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add yunshenwuchuxun-smart-drawio -t stdio -c npx -a -y @yunshenwuchuxun/smart-drawio-mcp
```

### Other

```json
{
  "mcpServers": {
    "yunshenwuchuxun-smart-drawio": {
      "command": "npx",
      "args": [
        "-y",
        "@yunshenwuchuxun/smart-drawio-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-10-22 (score 71, +3)

- [functional improvement] Stability: unverified → 0.23

### 2026-10-15 (score 68, +30)

- [security improvement] Injection markers: unverified → pass
- [security] First check of Judged manipulation: pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] MCP protocol: unverified → pass
- [functional] First check of Tool coverage: 25
- [functional] First check of Schema quality: fail
- [functional] First check of Destructive annotations: pass
- [functional] First check of Schema quality: pass
- [functional] First check of Schema quality: good
- [functional] First check of Tool coverage: 100

### 2026-10-14 (score 38)

First indexed and scored.

## MCP tools (5)

### `list_drawio_options` (~35 tokens)

List available chart types, themes, style packs, presets, text tools and drawing tricks. Use these IDs in other tools.

Output parameters:

- `diagnostics` (array)
- `ok` (boolean)
- `options` (object)
- `stats` (object)
- `xml` (string)

### `validate_drawio` (~51 tokens)

Validate uncompressed draw.io XML syntax and diagram structure without modifying it. JSON, compressed diagrams and malformed XML return diagnostics.

Input parameters:

- `xml` (string, required): Uncompressed draw.io mxfile or mxGraphModel XML.

Output parameters:

- `diagnostics` (array)
- `ok` (boolean)
- `options` (object)
- `stats` (object)
- `xml` (string)

### `repair_drawio` (~58 tokens)

Conservatively repair missing closing XML tags, then validate the result. Returns XML only as an in-memory result; does not write files or change an editor.

Input parameters:

- `xml` (string, required): Uncompressed draw.io mxfile or mxGraphModel XML.

Output parameters:

- `diagnostics` (array)
- `ok` (boolean)
- `options` (object)
- `stats` (object)
- `xml` (string)

### `style_drawio` (~113 tokens)

Apply a theme, style pack, preset toggles, text tool or drawing trick to uncompressed draw.io XML. Discover valid IDs with list_drawio_options. Returns a new document without changing an editor.

Input parameters:

- `presets` (object)
- `sourceTheme` (string)
- `stylePack` (string)
- `textTool` (string)
- `theme` (string)
- `trick` (string)
- `xml` (string, required): Uncompressed draw.io mxfile or mxGraphModel XML.

Output parameters:

- `diagnostics` (array)
- `ok` (boolean)
- `options` (object)
- `stats` (object)
- `xml` (string)

### `generate_drawio` (~82 tokens)

Generate a complete, validated draw.io XML diagram from a text prompt using the server model configured via SMART_DRAWIO_* environment variables. Requires all four provider settings. An incomplete or invalid model response is an error. Does not open a browser or write files.

Input parameters:

- `chartType` (string)
- `prompt` (string, required)
- `theme` (string)

Output parameters:

- `diagnostics` (array)
- `ok` (boolean)
- `options` (object)
- `stats` (object)
- `xml` (string)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/yunshenwuchuxun-smart-drawio/yunshenwuchuxun-smart-drawio-mcp#diagnostics

## Score history

- 2026-10-23: 71
- 2026-10-22: 71
- 2026-10-21: 68
- 2026-10-20: 68
- 2026-10-19: 68
- 2026-10-18: 68
- 2026-10-17: 68
- 2026-10-16: 68
- 2026-10-15: 68
- 2026-10-14: 38

## Common questions

### What is the Smart Drawio MCP server?

Smart Drawio is an MCP server listed in the public MCP registry as io.github.yunshenwuchuxun/smart-drawio. Generate, validate, repair and style editable draw.io XML diagrams. This page covers its npm package (@yunshenwuchuxun/smart-drawio-mcp).

### Is the Smart Drawio MCP server safe to use?

Smart Drawio scores 71 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 23 October 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the Smart Drawio MCP server expose?

Smart Drawio exposes 5 tools: list_drawio_options, validate_drawio, repair_drawio, style_drawio, generate_drawio. Their descriptions and schemas cost roughly 339 tokens of context every time the server is loaded.

### Is the Smart Drawio MCP server still maintained?

Smart Drawio is still listed as active in the MCP registry. We last reached this channel on 23 October 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the Smart Drawio MCP server under?

Smart Drawio declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- npm package: https://www.npmjs.com/package/@yunshenwuchuxun/smart-drawio-mcp
- Socket report: https://socket.dev/npm/package/@yunshenwuchuxun/smart-drawio-mcp
- Repository: https://github.com/yunshenwuchuxun/smart-drawio-next
- Changelog RSS feed: https://verifymcp.io/servers/yunshenwuchuxun-smart-drawio/yunshenwuchuxun-smart-drawio-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/yunshenwuchuxun-smart-drawio/yunshenwuchuxun-smart-drawio-mcp.json
- HTML version of this page: https://verifymcp.io/servers/yunshenwuchuxun-smart-drawio/yunshenwuchuxun-smart-drawio-mcp
