What diagram types does UML-MCP support?
UML-MCP supports UML (Class, Sequence, Activity, Use Case, State, Component, Deployment, Object), Mermaid, D2, Graphviz, ERD, BlockDiag, BPMN, and C4 with PlantUML.
@antoinebou12
基本信息
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 and Mermaid and Kroki
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"uml-mcp": {
"transport": "http",
"url": "https://uml-mcp.vercel.app/mcp"
},
"sequential-thinking": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
}
}
}List supported diagram types with Kroki backend, description, and formats (same data as uml://types resource). Use when the client cannot read resources.
Generate multiple diagrams in one call. Each item is like generate_uml (diagram_type, code, output_format?, theme?, scale?). Optional shared output_dir for all items. Returns a list of per-index results or errors.
Generate any UML or diagram by type (class, sequence, mermaid, d2, etc.)
Validate diagram type, format, code length, and basic syntax locally before render (no Kroki call). Returns errors and suggestions.
UML-MCP is a diagram generation server that implements the Model Context Protocol (MCP), enabling AI assistants and other applications to create UML diagrams, Mermaid, D2, Graphviz, ERD, and more. It connects to rendering services like PlantUML and Kroki, making diagram creation seamless from supported clients.
Install Python 3.10+, clone the repository, and run python mcp_server.py. Configure the server in Claude Desktop or Cursor via mcpServers JSON pointing to the script. Use the provided tools (e.g., generate_uml, generate_class_diagram) with parameters like diagram_type, code, and output_dir. Environment variables such as MCP_OUTPUT_DIR, KROKI_SERVER, and PLANTUML_SERVER control rendering services.
UML-MCP supports UML (Class, Sequence, Activity, Use Case, State, Component, Deployment, Object), Mermaid, D2, Graphviz, ERD, BlockDiag, BPMN, and C4 with PlantUML.
Python 3.10 or higher and pip. Optionally, Docker for local PlantUML or Kroki servers.
Set `USE_LOCAL_PLANTUML=true` and `PLANTUML_SERVER=http://localhost:8080` (or `USE_LOCAL_KROKI=true` and `KROKI_SERVER=http://localhost:8000`), then start the corresponding Docker containers.
SVG, PNG, PDF, and other formats depending on the diagram type and rendering engine.
Run `python mcp/install_to_cursor.py` or manually add the server configuration in Cursor settings under `mcpServers` with the command and arguments pointing to `mcp_server.py`.

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.

A free remote MCP server for The Living Bread. Bible passages read word for word from a stored public domain text with an evidence label, keyword search and cross references, real churches, gatherings and prayer groups w
不止于 CSS

Yuppsy MCP: build and publish real estate websites from your AI assistant. Yuppsy lets your AI assistant create live websites for real estate agents and individual property listings. You don't need a designer or any code

Model Context Protocol Servers
评论