StarUML MCP Server
Officialby staruml
README.md
[](https://smithery.ai/server/@staruml/staruml-mcp-server)
# StarUML MCP Server
[StarUML](https://staruml.io) is a sophisticated modeler for agile and concise modeling. **StarUML MCP Server** enables you to create diagrams or generate codes from diagrams in StarUML via prompts.
## Setup
Prerequisite:
- [StarUML](https://staruml.io/) `v7.0.0` or higher
- [Node.js](https://nodejs.org/) `v22` or higher
Set up `claude_desktop_config.json` in Claude Desktop as follows:
```json
{
"mcpServers": {
"staruml-mcp-server": {
"command": "npx",
"args": ["-y", "staruml-mcp-server"]
}
}
}
```
You can use the `--api-port=<port>` option to change the API server port for StarUML.
## Example Prompts
- _"Create a class diagram for book store in StarUML"_
- _"Create a sequence diagram for OAuth authentication in StarUML"_
- _"Generate SQL DDL from the current ERD diagram in StarUML"_
## Tools
- `generate_diagram`
- `get_current_diagram_info`
- `get_all_diagrams_info`
- `get_diagram_image_by_id`
## Dev
1. Clone this repository.
2. Build with `npm run build`.
3. Update `claude_desktop_config.json` in Claude Desktop as below.
4. Restart Claude Desktop.
```json
{
"mcpServers": {
"staruml-mcp-server": {
"command": "node",
"args": ["<full-path-to>/staruml-mcp-server/build/index.js"]
}
}
}
```
TDQS
A3.7/5.0
Scored across 4 tools
Disambiguation5/5
Each tool has a clearly distinct purpose: generating a new diagram, retrieving info for all diagrams, retrieving info for the current diagram, and retrieving an image by ID. No overlap or ambiguity.
Naming Consistency5/5
All tool names follow a consistent verb_noun pattern with snake_case: generate_diagram, get_all_diagrams_info, get_current_diagram_info, get_diagram_image_by_id. The convention is uniform.
Tool Count5/5
With 4 tools, the server is well-scoped for the StarUML domain, covering generation and information retrieval without unnecessary bloat.
Completeness4/5
The server provides generate, list, and retrieve operations for diagrams. Missing update/delete capabilities are a minor gap, but the core workflow of creating and inspecting diagrams is well-covered.
Maintenance
ActivityNo data
ResponsivenessUnresponsive