From uml-mcp
Generates and validates UML, Mermaid, D2, Graphviz, Kroki diagrams via uml-mcp server tools including generate_uml and validate_uml. Outputs viewable URLs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/uml-mcp:uml-diagramsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Produce valid `diagram_type` and DSL `code`, call **generate_uml**, and give the user the **`url`** (and **`playground`** when present). Prefer URL-first output: omit **`output_dir`** / use `null` unless the user wants files on disk (local stdio servers only).
Produce valid diagram_type and DSL code, call generate_uml, and give the user the url (and playground when present). Prefer URL-first output: omit output_dir / use null unless the user wants files on disk (local stdio servers only).
diagram_type is unclear, use list_diagram_types or read uml://types / uml://formats before generate_uml.diagram_type to the language of code (e.g. Mermaid body → mermaid; @startuml → plantuml or the specific Kroki PlantUML subtype when applicable).validate_uml before heavy retry loops or on pasted diagram source.url plus a short copy of code so the user can edit and regenerate.diagram_type or output_format; confirm from uml://types / uml://formats or list_diagram_types.code—only valid diagram DSL.output_dir unless the user asked for saved files (not applicable to the default HTTP deployment).generate_uml, validate_uml, list_diagram_types, generate_uml_batchuml://types, uml://formats, uml://templates, uml://examples, uml://capabilities, uml://server-info, uml://mermaid-examples, and related uml:// URIs| Field | Notes |
|---|---|
diagram_type | Required; must match server-supported keys. |
code | Required; DSL only. |
output_dir | Omit for HTTP MCP (URL + base64 in response). |
output_format | Often svg; check uml://formats for the type. |
On success, highlight url, then playground if present, then local_path only when output_dir was used. On error, fix DSL or types and retry or run validate_uml.
| Intent | Typical diagram_type |
|---|---|
| Classes / associations | class or Mermaid classDiagram |
| Lifelines / messages | sequence or Mermaid sequence |
| Flow / BPMN | activity, bpmn, or Mermaid flowchart |
| Quick charts | mermaid |
| Declarative layout | d2 |
When several fit, prefer what the user named; otherwise prefer the clearest match from uml://types.
npx claudepluginhub antoinebou12/uml-mcp --plugin uml-mcpGenerates UML diagrams including class, sequence, activity, use case, and state using PlantUML and Mermaid notation for software design documentation.
Provides PlantUML syntax reference for UML diagrams (sequence, class, activity, state) and non-UML (Gantt, MindMap, JSON, YAML), with examples, patterns, and setup guidance.
Creates, validates, and troubleshoots Mermaid.js diagrams including flowcharts, sequence diagrams, class diagrams, ER diagrams, Gantt charts, and state diagrams via CLI tool.