# io.github.diagrammo/dgmo-mcp (npm · @diagrammo/dgmo-mcp)

Generate 40+ diagram types from text; render locally to SVG/PNG, open in the Diagrammo editor

- Trust score: 79/100 (medium)
- Change this week: +33
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `@diagrammo/dgmo-mcp`: 79/100 (this document), [markdown](https://verifymcp.io/servers/diagrammo-dgmo-mcp/diagrammo-dgmo-mcp.md), [page](https://verifymcp.io/servers/diagrammo-dgmo-mcp/diagrammo-dgmo-mcp)

## Channel facts

- Registry: `npm`
- Package: `@diagrammo/dgmo-mcp`
- Version: `0.12.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-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (169 of 173), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (169 of 173), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to diagrammo/dgmo-mcp).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 1 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 1043 tokens (~94/item across 11 items; 11 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**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add diagrammo-dgmo-mcp -- npx -y @diagrammo/dgmo-mcp
```

### Codex

```bash
codex mcp add diagrammo-dgmo-mcp -- npx -y @diagrammo/dgmo-mcp
```

### opencode

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

### OpenClaw

```bash
openclaw mcp add diagrammo-dgmo-mcp --command npx --arg -y --arg @diagrammo/dgmo-mcp
```

### Hermes

```yaml
mcp_servers:
  diagrammo-dgmo-mcp:
    command: "npx"
    args: ["-y", "@diagrammo/dgmo-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "diagrammo-dgmo-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@diagrammo/dgmo-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-08-03 (score 79, +1)

No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-08-02 (score 78, +58)

- [security improvement] Install scripts: unverified → pass
- [security improvement] Provenance: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security] The attested source repository moved: diagrammo/dgmo-mcp
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Stability: unverified → 0.23
- [functional improvement] Schema quality: unverified → good
- [functional improvement] Tool coverage: unverified → 100
- [functional] Licence: MIT

### 2026-08-01 (score 20, −1)

- [security improvement] Malware scan: unverified → pass
- [functional regression] Tool coverage: 100 → unverified

### 2026-07-31 (score 21, +15)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 6, −40)

- [security regression] Malware scan: pass → unverified
- [functional regression] Security disclosure: fail → unverified
- [functional regression] Tool coverage: 100 → unverified
- [functional] First check of Schema quality: unverified

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (11)

### `render_diagram` (~166 tokens)

Render DGMO markup to SVG or PNG. Returns SVG text or base64 PNG image. When format is "png", also saves the image to a temp file and returns the path. For DGMO syntax call get_language_reference (e.g. color a label with a trailing color name: "Sales red").

Input parameters:

- `dgmo` (string, required): DGMO diagram markup. Color a label by appending a lowercase color name as the trailing token (e.g. "Sales red"); capitalize ("Red") to use a color word as literal text.
- `format` (string): Output format
- `palette` (string): Color palette (slate, atlas, blueprint, tidewater, nord, catppuccin, tokyo-night)
- `theme` (string): Color theme

### `share_diagram` (~35 tokens)

Generate a shareable diagrammo.app URL for a DGMO diagram.

Input parameters:

- `dgmo` (string, required): DGMO diagram markup

### `open_in_app` (~177 tokens)

Open a DGMO diagram in the Diagrammo desktop app (macOS only). Falls back to browser preview if the app is not installed. Pass `filePath` to open a saved .dgmo file directly — the app opens THAT file, so in-app edits autosave back to it (one editable source of truth, live re-render). This is the preferred path when the app is installed: write the .dgmo source first, then open it here. Omit `filePath` for an ephemeral diagram (sends a deep link; the app creates its own copy).

Input parameters:

- `dgmo` (string, required): DGMO diagram markup
- `filePath` (string): Absolute path to an already-saved .dgmo file. When set, the app opens this exact file for live editing instead of receiving a deep-linked copy.

### `check_app_installed` (~87 tokens)

Check whether the Diagrammo desktop app is installed (macOS). Call this ONCE before choosing how to show a diagram. If installed, the preferred output is to save the .dgmo source and open that file live in the app (open_in_app with filePath) — do NOT default to an online share URL. If not installed, fall back to the online share URL.

### `list_chart_types` (~19 tokens)

List all supported DGMO chart types with descriptions.

### `get_language_reference` (~52 tokens)

Get the DGMO language reference documentation. Optionally filter by chart type.

Input parameters:

- `chart_type` (string): Optional chart type to get reference for (e.g. "sequence", "flowchart", "bar")

### `preview_diagram` (~105 tokens)

Render one or more DGMO diagrams and open an HTML preview in the browser. Supports theme toggle and optional source display. For DGMO syntax call get_language_reference (e.g. color a label with a trailing color name: "Sales red").

Input parameters:

- `diagrams` (array, required): One or more diagrams to preview
- `include_source` (boolean): Show DGMO source in collapsible blocks
- `palette` (string): Color palette
- `theme` (string): Color theme

### `generate_report` (~138 tokens)

Generate a polished HTML report with multiple DGMO diagrams, table of contents, and optional source blocks. Opens in browser by default. For DGMO syntax call get_language_reference (e.g. color a label with a trailing color name: "Sales red").

Input parameters:

- `include_source` (boolean): Show DGMO source in collapsible blocks
- `open` (boolean): Open the report in the browser
- `palette` (string): Color palette
- `sections` (array, required): Report sections, each with a diagram
- `subtitle` (string): Optional subtitle
- `theme` (string): Color theme
- `title` (string, required): Report title

### `validate_diagram` (~52 tokens)

Validate DGMO markup without rendering. Returns structured parse errors and warnings. Much faster than render_diagram — use this to check syntax before rendering.

Input parameters:

- `dgmo` (string, required): DGMO diagram markup to validate

### `suggest_chart_type` (~136 tokens)

Suggest the best DGMO chart type for a user's plain-English diagram request.

ALWAYS CALL THIS FIRST when creating a new diagram — it prevents guessing and is the authoritative selection mechanism.

Returns one of two shapes: (1) a confident pick (high/medium) with the top match's syntax, or (2) an '⚠️ ASK THE USER' directive when the choice is ambiguous or nothing matched. On an ASK-THE-USER directive, do NOT pick a type yourself — present the listed candidates to the user and wait for their choice before generating.

Input parameters:

- `prompt` (string, required): User's plain-English diagram request

### `get_examples` (~76 tokens)

Get example DGMO diagrams for a chart type. Returns real-world examples from the gallery that demonstrate syntax patterns. Use these as few-shot references when generating new diagrams.

Input parameters:

- `chart_type` (string): Chart type to get examples for (e.g. "sequence", "infra", "bar"). Omit to list all available example names.

## Diagnostics

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

## Score history

- 2026-08-03: 79
- 2026-08-02: 78
- 2026-08-01: 20
- 2026-07-31: 21
- 2026-07-30: 6
- 2026-07-28: 46
- 2026-07-27: 46

## Links

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