Skip to content

staruml/staruml-mcp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"]
    }
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published