# io.github.ezrabrilliant/staruml-mcp (npm · staruml-mcp)

MCP server for StarUML — generate UML diagrams from AI agents via stdio or HTTP.

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

## Components

- npm · `staruml-mcp`: 78/100 (this document), [markdown](https://verifymcp.io/servers/ezrabrilliant-staruml-mcp/staruml-mcp.md), [page](https://verifymcp.io/servers/ezrabrilliant-staruml-mcp/staruml-mcp)

## Channel facts

- Registry: `npm`
- Package: `staruml-mcp`
- Version: `0.2.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-04.

- **Supply Chain Security**: 83/100
  - No malware found by supply-chain analysis.
  - CVE check failed: a known medium-severity CVE affects hono 4.12.33, reached via @modelcontextprotocol/sdk > hono. A fixed version is available.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (96 of 100), 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 ezrabrilliant/staruml-mcp).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 104 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 1501 tokens (~79/item across 19 items; 19 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 30/100
  - Stability observed for 9 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 ezrabrilliant-staruml-mcp -- npx -y staruml-mcp
```

### Codex

```bash
codex mcp add ezrabrilliant-staruml-mcp -- npx -y staruml-mcp
```

### opencode

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

### OpenClaw

```bash
openclaw mcp add ezrabrilliant-staruml-mcp --command npx --arg -y --arg staruml-mcp
```

### Hermes

```yaml
mcp_servers:
  ezrabrilliant-staruml-mcp:
    command: "npx"
    args: ["-y", "staruml-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "ezrabrilliant-staruml-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "staruml-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-04 (score 78, −1)

- [security regression] CVE-2026-69207 affects this package: medium
- [security regression] Known CVEs: partial → fail

### 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, +52)

- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [security improvement] Provenance: unverified → pass
- [security improvement] Malware scan: unverified → pass
- [security] The attested source repository moved: ezrabrilliant/staruml-mcp
- [functional improvement] License: unverified → pass
- [functional improvement] Stability: unverified → 0.23
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Schema quality: unverified → good
- [functional] Licence: MIT

### 2026-08-01 (score 26, +5)

- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] MCP protocol: unverified → pass

### 2026-07-31 (score 21, −7)

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

### 2026-07-30 (score 28, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-28 (score 46, 0)

- [functional regression] Security disclosure: unverified → fail

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

First indexed and scored.

## MCP tools (19)

### `generate_diagram` (~113 tokens)

Generate a UML diagram in StarUML from Mermaid code. Supported Mermaid diagram types: classDiagram, sequenceDiagram, flowchart, erDiagram, mindmap, requirementDiagram, stateDiagram. StarUML must be running with apiServer enabled.

Input parameters:

- `code` (string, required): Mermaid diagram source code. Must start with one of: classDiagram, sequenceDiagram, flowchart, erDiagram, mindmap, requirementDiagram, stateDiagram. Example: "flowchart LR\n  A[Start] --> B[End]"

### `get_all_diagrams_info` (~32 tokens)

Get metadata (id, name, type) for all diagrams in the currently open StarUML project.

### `get_current_diagram_info` (~26 tokens)

Get metadata for the currently active (focused) diagram in StarUML.

### `get_diagram_image_by_id` (~63 tokens)

Retrieve a PNG image of a diagram by its ID. Use get_all_diagrams_info first to obtain IDs.

Input parameters:

- `diagramId` (string, required): Diagram ID. Obtain from get_all_diagrams_info tool (each diagram entry has an 'id' field).

### `get_all_commands` (~79 tokens)

List all registered StarUML command IDs (e.g. 'project:save', 'view:fit-to-window', 'alignment:align-left'). Useful to discover what execute_command can trigger. Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension

### `execute_command` (~102 tokens)

Execute any built-in StarUML command by its ID. Use get_all_commands to discover available IDs. Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension

Input parameters:

- `args` (array): Optional positional arguments passed to the command handler
- `id` (string, required): Command ID. Examples: 'project:save', 'view:fit-to-window', 'project:new'

### `get_project_info` (~54 tokens)

Get the current StarUML project's filename and top-level element summary. Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension

### `save_project` (~82 tokens)

Save the current StarUML project. If filename is given, saves to that path. Otherwise saves to current path. Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension

Input parameters:

- `filename` (string): Optional absolute path. If omitted, saves to current project path.

### `save_project_as` (~67 tokens)

Save the current StarUML project to a new path. Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension

Input parameters:

- `filename` (string, required): Absolute path for the .mdj file

### `new_project` (~57 tokens)

Create a new empty StarUML project (discards unsaved changes in current project). Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension

### `open_project` (~66 tokens)

Open a StarUML project file (.mdj). Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension

Input parameters:

- `filename` (string, required): Absolute path to the .mdj project file

### `get_element_by_id` (~68 tokens)

Retrieve a model element by its internal ID. Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension

Input parameters:

- `id` (string, required): Element _id as stored in the StarUML repository

### `find_elements` (~108 tokens)

Find elements by metamodel type and/or name. Examples: type='UMLClass', name='User'. Omit both to return all. Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension

Input parameters:

- `name` (string): Exact name match
- `type` (string): Metamodel type. Examples: 'Project', 'UMLModel', 'UMLClass', 'UMLPackage'

### `create_element` (~121 tokens)

Create a new UML model element. The 'type' is a metamodel class name (e.g. 'UMLClass', 'UMLPackage', 'UMLInterface'). Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension

Input parameters:

- `name` (string): Optional element name
- `parentId` (string, required): Parent element's _id
- `type` (string, required): Metamodel type, e.g. 'UMLClass', 'UMLPackage'

### `update_element` (~85 tokens)

Set a property on an existing element. Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension

Input parameters:

- `field` (string, required): Property name, e.g. 'name', 'documentation', 'visibility'
- `id` (string, required): Element _id
- `value`: New value

### `delete_element` (~58 tokens)

Delete an element from the project. Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension

Input parameters:

- `id` (string, required): Element _id to delete

### `create_diagram` (~201 tokens)

Create a typed UML diagram. The 'type' is a metamodel class name (e.g. 'UMLClassDiagram', 'UMLUseCaseDiagram', 'UMLSequenceDiagram', 'UMLActivityDiagram', 'ERDDiagram'). Unlike generate_diagram (Mermaid), this gives a native empty diagram you can populate via create_element. Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension

Input parameters:

- `name` (string): Diagram name
- `parentId` (string, required): Parent element's _id (usually the project or a package)
- `type` (string, required): Diagram metamodel type: 'UMLClassDiagram', 'UMLUseCaseDiagram', 'UMLSequenceDiagram', 'UMLActivityDiagram', 'UMLStateDiagram', 'UMLComponentDiagram', 'UMLDeploymentDiagram', 'ERDDiagram'

### `switch_diagram` (~61 tokens)

Focus (open tab) a diagram by its ID. Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension

Input parameters:

- `id` (string, required): Diagram _id

### `close_diagram` (~58 tokens)

Close a diagram tab by its ID. Requires staruml-mcp-extension to be installed in StarUML. Install from https://github.com/ezrabrilliant/staruml-mcp-extension

Input parameters:

- `id` (string, required): Diagram _id

## Diagnostics

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

## Score history

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

## Links

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