/uml-mcp:uml-mcp-diagramsfrom uml-mcp
Renders and verifies UML, C4, Mermaid, D2, and D3 diagrams via an MCP server. Guides users through diagram type selection, generation, and verification workflows.
Ships in uml-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use the server's current catalog before choosing a renderer. Read uml://types
and uml://formats, or call list_diagram_types. Installed plugins extend the
catalog: never conclude D3 is unsupported from a remembered list. If D3 types
are present, render with those types through the normal generation tools.
If absent, explain that this server has not enabled the plugin.
Read the relevant guide through resources/read when needed:
| Request | Resource | Local skill |
|---|---|---|
| D3, cloud logos, custom plugins | skill://uml-mcp-guides/d3-plugins/SKILL.md | .skill/skills/uml-mcp-d3-plugins/SKILL.md |
| Stack and cloud diagrams with logos | skill://uml-mcp-guides/stack-diagram/SKILL.md | .skill/skills/uml-mcp-stack-diagram/SKILL.md |
| Archify architecture, workflow, sequence | skill://uml-mcp-guides/archify/SKILL.md | .skill/skills/uml-mcp-archify/SKILL.md |
| LLM and neural-network diagrams, 2D and 3D | skill://uml-mcp-guides/llm-visualizer/SKILL.md | .skill/skills/uml-mcp-llm-visualizer/SKILL.md |
| Database schema (ER) diagrams from SQL DDL or JSON | skill://uml-mcp-guides/db-schema/SKILL.md | .skill/skills/uml-mcp-db-schema/SKILL.md |
| Dependency graphs from package.json, pyproject.toml, requirements.txt and lock files | skill://uml-mcp-guides/deps/SKILL.md | .skill/skills/uml-mcp-deps/SKILL.md |
| State machines and statecharts you can step through | skill://uml-mcp-guides/statechart/SKILL.md | .skill/skills/uml-mcp-statechart/SKILL.md |
| Agent run traces: LLM, tool and retrieval timelines | skill://uml-mcp-guides/agent-trace/SKILL.md | .skill/skills/uml-mcp-agent-trace/SKILL.md |
| C4 model you can drill into: context, containers, components | skill://uml-mcp-guides/c4-model/SKILL.md | .skill/skills/uml-mcp-c4-model/SKILL.md |
| Timelines, roadmaps and Gantt-style plans | skill://uml-mcp-guides/timeline/SKILL.md | .skill/skills/uml-mcp-timeline/SKILL.md |
| Complex Mermaid | skill://uml-mcp-guides/mermaid/SKILL.md | .skill/skills/uml-mcp-mermaid/SKILL.md |
| PlantUML and C4 levels | skill://uml-mcp-guides/plantuml-c4/SKILL.md | .skill/skills/uml-mcp-plantuml-c4/SKILL.md |
| Several views or format conversions | skill://uml-mcp-guides/batch/SKILL.md | .skill/skills/uml-mcp-batch/SKILL.md |
MCP skills/list exposes this entry point. The eight focused skills are available
on demand through the resource template and the agent-skills index. For other
notations, read uml://templates, uml://examples, or the per-type local skill
at .skill/skills/<diagram_type>/SKILL.md.
validate_uml for unfamiliar or complex source. Mermaid sequences need
one statement per line; use strict: true when appropriate. Validation alone
does not prove that an image was rendered or its text is readable.generate_uml_image for a visible preview, generate_uml for a link,
or generate_uml_batch for several views. Request output_format: svg in
MCP Apps whenever the catalog supports it. Plain image clients usually need
PNG; the server can rasterize SVG-only formats. Leave output_dir unset
unless the user asks to write server-side files.error, success, mime_type, returned bytes and render attempts.
Verify the visible preview, labels and links when the host permits inspection.
A render URL or valid: true is not evidence that the client displayed it.
Report unverified display or inaccessible links plainly; never invent URLs.Use a readable overview plus detail views when labels become too small. Keep layout direction consistent, label decision branches and avoid repeated edges. For large diagrams, the initial result is a bounded preview; the App fetches full SVGs on demand and provides source, SVG, PNG, standalone HTML and PDF exports where the renderer supports them. A small PNG preview is not the full resolution download.
In an MCP App host, give a brief confirmation and let the viewer contain the image, source, links and downloads. Repeat code or images only on request. For a client without Apps, show one image or a working render link, plus the returned playground link when available. Use Markdown links for plain clients. Do not repeat an image as both ImageContent and Markdown. Do not claim files were downloaded, links opened or previews inspected unless that happened.
Only pass documented diagram arguments. user_intent is transport metadata,
not a renderer setting. Keep prose, HTML wrappers and Markdown fences out of
DSL source. If a render fails, correct the specific diagnostic and retry that
item; do not claim the whole batch succeeded.
Available workflow tools: list_diagram_types, validate_uml, generate_uml,
generate_uml_image, generate_uml_batch. The App can call rerender_diagram
and download_diagram. More examples: uml://recipes, uml://capabilities,
uml://workflow and tests/prompts/chatgpt_mcp_smoke_test.md.
For algorithm explanations, use the algorithm_explainer prompt. For papers
and clickable citations, use paper_concept_diagram. Both use uml://recipes.
When converting to D2, use supported shapes and keep service names as labels.
The observed shape: key request failed in Kroki; use a labelled rectangle for
an authentication service, then check the rendered result. Structural validation
alone does not verify every renderer-specific shape or external library.
For an interactive D3 view, request HTML when the live catalog supports it. The App loads the full page on demand if the initial HTML exceeds its size budget. An omitted initial HTML payload does not prove the render failed; verify the viewer or file export before claiming it displayed. Downloads in an App use the host API. Report a rejected or unsupported download instead of claiming it saved.
What SKILL.md sets; muted values are Claude Code's defaults
14 skills in this plugin
/uml-mcp-agent-traceDraw agent run traces with LLM, tool, retrieval and sub-agent steps on a timeline (agent_trace)./uml-mcp-archifyDraw archify architecture, workflow and sequence diagrams with colour-coded groups./uml-mcp-batchRender and verify diagram batches and consistent multi-format architecture conversions, including four C4 levels./uml-mcp-c4-modelDraw a C4 model readers can drill into, from context to containers to components (c4_model)./uml-mcp-d3-pluginsDiscover installed D3 plugins and render architecture diagrams with cloud and AI logos in the MCP App./uml-mcp-db-schemaDraw database schema (ER) diagrams from SQL DDL or JSON tables (db_schema).npx claudepluginhub antoinebou12/uml-mcp --plugin uml-mcpOther plugins' skills for the same job