UML-MCP

UML-MCP

uml-mcp•byantoinebou12

A Model Context Protocol server that turns a description or diagram source into a rendered diagram inside the chat.

License: MIT•Runtime: Awaiting documentation review•Category: media design

WHAT IT DOES

  • •Renders diagrams from descriptions or diagram source, returning an image, a URL and a playground link.
  • •Supports 52 diagram types: 37 through Kroki and 15 interactive ones.
  • •Provides tools to validate diagram source before rendering, list the live diagram catalog, and generate many diagrams in one call.
  • •In clients supporting MCP Apps, diagrams open in an in-chat viewer with editing, re-rendering and export to SVG, PNG, HTML or PDF.

BEST FOR

  • •Asking a chat assistant to draw a sequence diagram of a scenario, such as a user logging in through an API gateway.
  • •Generating several diagrams at once as tabs from a single batch call.
  • •Producing interactive cloud and stack diagrams with real provider and brand logos.

ABOUT UML-MCP

UML-MCP is cataloged as an MCP server attributed to antoinebou12. A Model Context Protocol server that turns a description or diagram source into a rendered diagram inside the chat. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for UML-MCP are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How do clients without MCP Apps support see the diagrams?

They get the same diagram as an inline PNG and SVG, plus links to the rendered file and an editable playground.

Can the server be run locally?

Yes. Installation guides cover Docker, Helm and running from source, and a tool install plus setup command is offered.

Which interactive diagram plugins ship with UML-MCP?

Plugins ship with UML-MCP and are on by default, covering D3 graphs, stack diagrams, Archify, the LLM visualizer, database schemas, dependency graphs, statecharts, agent traces, C4 models and timelines.

Upstream README

View this exact version on GitHub

README.md · d68667281347 · Fetched 2026-11-13 12:03:16 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

UML-MCP logo

UML-MCP

Diagrams for AI assistants. A Model Context Protocol server that turns a description or diagram source into a rendered diagram, inside the chat.

Run Tests Deploy docs GitHub release License: MIT Python >=3.12,<3.16 GitHub stars Contributors Last commit

Docs · Quick start · Interactive diagrams · Changelog · Contributing

It works as an MCP App

In clients that support MCP Apps, diagrams open in a viewer inside the chat (ui://uml-mcp/diagram-viewer): zoom, edit the source, switch theme and format, re-render, step through a batch, and export SVG, PNG, HTML or PDF. Clients without MCP Apps get the same diagram as an inline PNG and SVG.

Recording of the UML-MCP viewer inside a chat: four diagram tabs from one batch call, switching tabs, then re-rendering with another format.

One generate_uml_batch call returns four diagrams as tabs, then one is re-rendered in another format. Full-quality video · more about the viewer.

UML-MCP in chat: a Client/Server Mermaid sequence diagram with URL and Playground links

In any other chat client: the inline image with links to the rendered file and an editable playground.

Why UML-MCP

  • 52 diagram types. 37 through Kroki (UML, Mermaid, D2, Graphviz, C4, BPMN, ERD, TikZ...) and 15 interactive ones, including cloud and stack diagrams with real logos, architecture, workflow and sequence diagrams, 2D/3D LLM visualisations, database schemas, dependency graphs, statecharts, agent traces, C4 models and timelines.
  • Shows up in the chat. Every client gets an inline image plus links to the rendered file and an editable playground. Clients with MCP Apps also get an interactive viewer.
  • Ready to run. Hosted endpoints, or local with Docker or Helm; optional Entra ID / OAuth 2.1 SSO, audit logs and metrics. It scores 95/100 on the Manufact publishing checklist.

Quick start

Add the hosted server to your MCP client:

"uml-mcp": {
  "transport": "http",
  "url": "https://uml-mcp.vercel.app/mcp"
}

Then ask, for example, "Draw a sequence diagram of a user logging in through an API gateway."

EndpointURL
Primary (Vercel)https://uml-mcp.vercel.app/mcp
Mirror (Manufact)https://uml-mcp.antoineboucher.info/mcp

Ready-made configs: Cursor · VS Code / Copilot · Codex · Claude Desktop · Open WebUI · all clients. To run it yourself:

uv tool install uml-mcp && uml-mcp setup

The installation guide covers Docker, Helm and running from source.

Interactive diagrams

The plugins below ship with UML-MCP and are on by default. Each type renders to an interactive HTML page in the viewer and to a static SVG and PNG everywhere else.

PluginTypesWhat you get
D3d3_force · d3_architecture · d3_topologyForce graphs and cloud diagrams with real provider and brand logos, routed with A*
Stack diagramstack_diagramIcon tiles, nested vendor and region groups, numbered request steps
Archifyarchify_architecture · archify_workflow · archify_sequenceColour-coded groups, legend, three presets, click to focus and trace the shortest path
LLM visualizerllm_2d · llm_3dLayer maps, autoencoder and GAN shapes, N× blocks and a rotatable 3D scene
Database schemadb_schemaER diagrams from SQL DDL or JSON: column cards, crow's-foot keys at the column rows, search
Dependency graphsdependency_graphA project's dependency tree from package.json, pyproject.toml, requirements.txt or a lock file
Statechartstate_machineXState-like machines as statecharts, and a simulator that fires events, with a step log and Undo
Agent tracesagent_traceAn agent run as a waterfall and a flow: LLM, tool and retrieval steps with tokens, cost, retries and the critical path
C4 modelc4_modelOne model, three C4 levels: click a system to open its containers, a container for its components
TimelinetimelineRoadmaps with swimlanes, phases, milestones, releases and dependency arrows; zoom from quarters to days

Each image links to the plugin guide.

D3 force graph
d3_force
D3 cloud architecture
d3_architecture
D3 network topology
d3_topology
Stack diagram
stack_diagram
Archify architecture
archify_architecture
Archify workflow
archify_workflow
Archify sequence
archify_sequence
LLM layer map in 2D
llm_2d
LLM layers in 3D
llm_3d
Database schema
db_schema
Project dependency graph
dependency_graph
Statechart
state_machine
Agent trace waterfall
agent_trace
C4 system context
c4_model
Project timeline
timeline
{
  "title": "SaaS stack",
  "groups": [{"id": "vercel", "name": "Vercel", "icon": "vercel"}],
  "nodes": [
    {"id": "user", "name": "User", "icon": "user"},
    {"id": "web", "name": "Next.js", "icon": "browser", "group": "vercel"},
    {"id": "db", "name": "Neon", "icon": "database"},
    {"id": "ci", "name": "GitHub Actions"}
  ],
  "edges": [
    {"from": "user", "to": "web", "label": "HTTPS", "step": 1},
    {"from": "web", "to": "db", "label": "SQL", "step": 2},
    {"from": "ci", "to": "web", "label": "deploy", "style": "dashed"}
  ]
}

Send that as stack_diagram and you get the GitHub and Vercel logos, two numbered steps and a dashed deploy edge. The plugins guide has example prompts for every type and shows how to write your own.

Tools

ToolPurpose
generate_umlRender one diagram: image, URL and playground link
generate_uml_imageThe same as an inline chat image (PNG by default)
validate_umlCheck source before rendering; errors say how to fix it
list_diagram_typesThe live catalog, including plugin types
generate_uml_batchMany diagrams in one call

Resources (uml://types, uml://examples, uml://templates...), prompts and skills (skill://uml-mcp-diagrams/SKILL.md plus focused guides) are listed in the reference.

Documentation

TopicWhere
Getting started and tutorialsTutorials
Diagram types and notationDiagram types
Clients, Docker, Helm, VercelDeploy
MCP App viewer and publishingMCP App
Configuration (uml-mcp.yaml)Configuration
Enterprise SSO, audit, metricsEnterprise
PluginsPlugins
Admin consoleAdmin

Development

uv sync --all-groups
uv run pytest
uv run ruff check . && uv run ty check
uv run uml-mcp lint --strict --min-grade A

About 1,800 tests, including browser tests of every interactive page inside the MCP App viewer. See Testing and CONTRIBUTING.md.

License

MIT. Maintained by Antoine Boucher. Built on PlantUML, Kroki, Mermaid, D2 and D3. Brand logos come from LobeHub Icons (MIT) and remain trademarks of their owners.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for UML-MCP from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/uml-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related media design MCP Servers

Alternative and complementary servers in the same category

View all in media design →

A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

8K
Media & Design
Liquid Composer
liquid-composer•frontedu

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

69
Media & Design

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.

1
Media & Design