UML-MCP-Server
@Swayingleaves
About UML-MCP-Server
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"uml-mcp-server": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@Swayingleaves/uml-mcp-server",
"--client",
"claude"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is UML-MCP-Server?
UML-MCP-Server is a UML diagram generation tool based on the Model Context Protocol (MCP). It helps users create various types of UML diagrams by describing them in natural language or by directly writing PlantUML code. It is intended for developers and designers who need to generate UML diagrams quickly and integrate them into MCP-compatible clients like Claude or Cursor.
How to use UML-MCP-Server?
Installation can be done via Smithery (npx -y @smithery/cli install @Swayingleaves/uml-mcp-server --client claude) or manually (clone the repository, create a virtual environment, and install dependencies from requirements.txt). To use it as an MCP server, configure the server in your MCP client (e.g., Cursor) by editing the client’s config.json with the command uv and arguments including the absolute path to the project directory and the output directory. You can also use it as a Python library by calling generate_uml() with PlantUML code.
Key features of UML-MCP-Server
- Supports nine UML diagram types: class, sequence, activity, use case, state, component, deployment, and object.
- Generate diagrams from natural language descriptions.
- Accept direct PlantUML code input.
- Returns PlantUML code, an accessible URL link, and a local file path.
- Allows a custom output directory for saved UML images.
- Integrates as an MCP server with clients such as Claude and Cursor.
- Includes a comprehensive logging system for recording server and operation logs.
Use cases of UML-MCP-Server
- Quickly generate a class diagram by describing the system architecture in natural language.
- Embed UML diagram generation into a code editor like Cursor for on-the-fly design documentation.
- Produce PlantUML code and a shareable URL for collaboration without requiring local rendering tools.
- Automatically save generated diagrams to a project-specific directory for version-controlled documentation.
FAQ from UML-MCP-Server
What UML diagram types can UML-MCP-Server generate?
It can generate class diagrams, sequence diagrams, activity diagrams, use case diagrams, state diagrams, component diagrams, deployment diagrams, and object diagrams.
How do I install UML-MCP-Server?
You can install it via Smithery with a single npx command, or manually by cloning the repository, setting up a Python virtual environment, and installing the dependencies from requirements.txt.
What does UML-MCP-Server return after generating a diagram?
It returns three items: the PlantUML code, a publicly accessible URL for viewing the diagram, and a local file path where the generated image is saved.
How do I configure UML-MCP-Server in Cursor?
Edit the Cursor configuration file (e.g., ~/Library/Application Support/Cursor/config.json on macOS) to add an mcpServers entry with the command uv and arguments that point to the project directory and set the output_dir.
What common issues might I encounter?
Issues can include network problems reaching the PlantUML server, missing write permissions on the output directory, or port conflicts when starting the MCP server. Check the logs in the logs directory for error details.
More Other MCP servers
Servers
modelcontextprotocolModel Context Protocol Servers
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web

EverArt
modelcontextprotocolModel Context Protocol Servers
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Comments