Skip to main content
Glama
staruml

StarUML MCP Server

Official
by 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_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"]
    }
  }
}
A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Issues opened vs closed

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/staruml/staruml-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server