The uml-mcp Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and 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 https://uml-mcp.vercel.app/docs. By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the Memory/Knowledge domain.
Once installed in Claude Desktop or Cursor, try asking your assistant:
Copy the config for your editor. Verify environment variables or setup notes in the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"uml-mcp": {
"command": "uvx",
"args": [
"uml-mcp"
]
}
}
}
Or install with pip: pip install uml-mcp
Generate UML and other diagrams through the Model Context Protocol. | Topic | What you get | | --- | --- | | Diagrams | 30+ types: UML (Class, Sequence, Activity, Use Case, State, Component, Deployment, Object), Mermaid, D2, Graphviz, TikZ, ERD, BlockDiag, BPMN, C4, and more via Kroki |