SS

staruml/staruml-mcp-server

Developer tools
23 stars 0 forks Quality 55 Trend 55

StarUML is a sophisticated modeler for agile and concise modeling. enables you to create diagrams or generate codes from diagrams in StarUML via prompts.

Overview

StarUML is a sophisticated modeler for agile and concise modeling. enables you to create diagrams or generate codes from diagrams in StarUML via prompts. - StarUML v7.0.0 or higher - Node.js v22 or higher Set up claude_desktop_config.json in Claude Desktop as follows: You can use the --api-port= option to change the API server port for StarUML. - "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" - generate_diagram - get_current_diagram_info - get_all_diagrams_info - get_diagram_image_by_id 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.

README

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= 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.
{
  "mcpServers": {
    "staruml-mcp-server": {
      "command": "node",
      "args": ["/staruml-mcp-server/build/index.js"]
    }
  }
}
View this README on GitHub

Install

npx -y staruml-mcp-server

Configuration

{ "mcpServers": { "staruml-mcp-server": { "command": "npx", "args": ["-y", "staruml-mcp-server"] } } }