
Staruml Mcp
Generate and update UML diagrams in StarUML from your agent while you document architecture during implementation.
Overview
StarUML MCP is a MCP server for the Build phase that lets AI agents generate UML diagrams in StarUML via stdio and the local HTTP API.
What is this MCP server?
- MCP bridge to StarUML for diagram generation from AI agents
- Supports stdio MCP plus HTTP against local StarUML API Server
- Configurable --api-port default 58321 and --api-host default http://localhost
- npm package staruml-mcp registry version 0.2.0
- Repository github.com/ezrabrilliant/staruml-mcp
- Package version 0.2.0 on npm registry
- Default StarUML API port 58321 and host http://localhost via runtime arguments
- stdio transport with optional HTTP to local StarUML API
What problem does it solve?
Architecture diagrams drift in separate files while your agent edits code, because there is no structured bridge into StarUML.
Who is it for?
Developers who already model in StarUML and want Claude Code or Cursor to draft or revise UML alongside implementation.
Skip if: Teams that want cloud-only diagramming, Mermaid-only docs, or no local StarUML install.
What do I get? / Deliverables
With StarUML’s API server running and MCP configured, your agent can drive diagram updates inside StarUML during documentation passes.
- Agent-created or updated UML diagrams inside StarUML projects
- Repeatable diagram workflows tied to implementation docs
- Configurable local API host/port for non-default StarUML setups
Recommended MCP Servers
Journey fit
How it compares
Local StarUML automation MCP, not a generic whiteboard API or markdown-only docs skill.
Common Questions / FAQ
Who is StarUML MCP for?
Solo and small-team builders using StarUML who want agents to generate UML through MCP instead of manual modeling alone.
When should I use StarUML MCP?
Use it in build/docs when you are capturing system design, refactoring structure, or prepping architecture artifacts for review.
How do I add StarUML MCP to my agent?
Install npm staruml-mcp, start StarUML with API Server on the default or custom port/host, register stdio MCP, and pass --api-port/--api-host if needed.