MCP server for StarUML β generate UML diagrams from AI agents via stdio or HTTP.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Model Context Protocol (MCP) server for StarUML. Lets AI agents (Claude Code, Cursor, VS Code Copilot, Codex) drive StarUML programmatically β generate UML diagrams from Mermaid, execute any built-in command, CRUD elements, save projects, and more.
| Package | What it is | Where it runs |
|---|---|---|
staruml-mcp (this repo) | MCP server for AI agents | your machine via npx -y staruml-mcp |
staruml-mcp-extension | StarUML plugin adding 15 HTTP endpoints | inside StarUML (install once via Extension Manager) |
staruml-mcp only. The 4 built-in tools work.staruml-mcp-extension installed in StarUML β required for 15 of the 19 toolsEdit settings.json at:
%APPDATA%\StarUML\settings.json~/Library/Application Support/StarUML/settings.json~/.config/StarUML/settings.jsonAdd or update:
Restart StarUML.
Verify:
Start the server in a terminal:
Register with Claude Code:
Port
58323is the canonical HTTP port, chosen to sit alongside StarUML's built-in API (58321) andstaruml-mcp-extension(58322). Override with--port <n>if needed.
Restart Claude Code. Ask:
"What StarUML tools do you have?"
Edit %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
Restart Claude Desktop.
Point your MCP client at npx -y staruml-mcp (stdio) or http://localhost:58323/mcp (HTTP).
| Tool | Description |
|---|---|
generate_diagram | Generate a UML diagram from Mermaid code. |
get_all_diagrams_info | List all diagrams in the current project (id, name, type). |
get_current_diagram_info | Get metadata of the currently focused diagram. |
get_diagram_image_by_id | Export a diagram as PNG by its ID. |
staruml-mcp-extension, port 58322)| Tool | Description |
|---|---|
get_all_commands | List all 138+ built-in StarUML command IDs. |
execute_command | Execute any built-in command (e.g. project:save, view:fit-to-window). |
get_project_info | Current project's filename + top-level elements. |
save_project / save_project_as / new_project / open_project | Project file lifecycle. |
get_element_by_id / find_elements | Query model elements. |
create_element / update_element / delete_element | Element CRUD. |
create_diagram (typed native) / switch_diagram / close_diagram | Diagram management. |
To enable extension tools: install staruml-mcp-extension in StarUML (Tools β Extension Manager β Install From URL β https://github.com/ezrabrilliant/staruml-mcp-extension).
xyz123 as an image."Inspired by staruml/staruml-mcp-server (official stdio-only server by Minkyu Lee, StarUML creator). This project reimplements it with multi-transport support and strict TypeScript.
MIT Β© Ezra Brilliant Konterliem
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/staruml-mcp)<a href="https://allmcps.com/mcp/staruml-mcp"><img src="https://allmcps.com/api/badge/staruml-mcp?style=directory" alt="Staruml MCP on AllMCPs" /></a>