StarUML MCP Server
Officialby staruml
StarUML MCP Server
StarUML 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:
Set up claude_desktop_config.json in Claude Desktop as follows:
{
"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_diagramget_current_diagram_infoget_all_diagrams_infoget_diagram_image_by_id
Dev
Clone this repository.
Build with
npm run build.Update
claude_desktop_config.jsonin Claude Desktop as below.Restart Claude Desktop.
{
"mcpServers": {
"staruml-mcp-server": {
"command": "node",
"args": ["<full-path-to>/staruml-mcp-server/build/index.js"]
}
}
}