staruml-mcp-server

staruml/staruml-mcp-server

3.4

If you are the rightful owner of staruml-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

StarUML MCP Server is a tool that integrates with StarUML to facilitate diagram creation and code generation through prompts.

Tools
4
Resources
0
Prompts
0

smithery badge

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_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": ["<full-path-to>/staruml-mcp-server/build/index.js"]
    }
  }
}