Atlas / MCP servers / swayingleaves / UML Diagram Generator

UML Diagram GeneratorSAFE

mcp/swayingleaves/uml-diagram-generator
Verdict
SAFE
Grade
B
Trust score
86 /100
Exposed tools
10 10r · 0w · 0d
Transport
sse
License
—
Stars
27
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

English | 中文

[](https://smithery.ai/server/@Swayingleaves/uml-mcp-server)

UML-MCP Server is a UML diagram generation tool based on MCP (Model Context Protocol), which can help users generate various types of UML diagrams through natural language description or directly writing PlantUML code.

Functional Features

  • Supports multiple UML diagram types: class diagram, sequence diagram, activity diagram, use case diagram, state diagram, component diagram, deployment diagram, object diagram
  • UML diagrams can be generated through natural language description
  • You can directly use PlantUML code to generate UML diagrams
  • Return PlantUML code and accessible URL links for easy sharing and viewing
  • Simultaneously save the generated UML diagram locally and provide the local file path
  • Support custom save path and specify the output directory for UML images
  • As an MCP server, it can integrate with clients that support MCP, such as Claude
  • A comprehensive logging system that records server operating status and operation logs

Installation

Installing via Smithery

To install UML Diagram Generation Tool for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @Swayingleaves/uml-mcp-server --client claude

Manual Installation

  1. Clone repository:
git clone https://github.com/yourusername/UML-MCP-Server.git
cd UML-MCP-Server
  1. Create and activate a virtual environment:
python -m venv uml-mcp-venv
source uml-mcp-venv/bin/activate  # Linux/Mac
# Or
uml-mcp-venv\Scripts\activate  # Windows
  1. Install dependencies:
pip install -r requirements.txt

Usage Method

Used as a Python Library

from fix_plantuml import generate_uml

# Create UML code
uml_code = """
@startuml
Title: Simple Class Diagram

Read from source at commit fa3f5aa30519OBSERVED · 2026-10-08
Advertisement
02

Exposed tools (10)

10 read · 0 write · 0 destructive.

ToolRiskDescription
generate_activity_diagramread生成活动图并返回代码和URL。
generate_class_diagramread生成类图并返回代码和URL。
generate_component_diagramread生成组件图并返回代码和URL。
generate_deployment_diagramread生成部署图并返回代码和URL。
generate_object_diagramread生成对象图并返回代码和URL。
generate_sequence_diagramread生成序列图并返回代码和URL。
generate_state_diagramread生成状态图并返回代码和URL。
generate_umlread生成UML图并返回代码、URL和本地路径。
generate_uml_from_coderead从PlantUML代码生成UML图并返回URL和本地路径。
generate_usecase_diagramread生成用例图并返回代码和URL。
03

Trust audit

SAFEgrade B · trust 86/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (1 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (3)

MEDIUMAuth / authz · mcp.remote_no_auth · CWE-287, CWE-862
sse
Why it matters. a network transport with no auth environment variable found
Fix. require a token
LOWInventory / provenance · inv.no_license · CWE-1104
Why it matters. no LICENSE file and no repo licence
Fix. add a licence
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
mcp, requests, python-dateutil
Why it matters. 3 requirement(s) not pinned with ==
Fix. pin exact versions

Gates applied: no_behavioural_pass, no_license.

Audited 2026-10-08 · audit v0.4.1 · source sha fa3f5aa30519full audit observations/trust-audit/mcp-server/swayingleaves__uml-diagram-generator.json · Report an issue / request a re-scan
04

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08fa3f5aa30519SAFEB86first audit
05

Questions

What tools does UML Diagram Generator expose?

10 in total: 10 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is UML Diagram Generator safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (86/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does UML Diagram Generator need?

No credential environment variables were found in its source, so it appears to need none.

How does UML Diagram Generator run?

It speaks sse, so it runs as a service you connect to over the network.

How current is this page?

The grade is for one exact copy of the source (fa3f5aa30519), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement