/uml-mcp:uml-mcp-statechartfrom uml-mcp
Draws state machines as interactive statecharts with a step-through simulator. Supports compound states, parallel regions, history pseudo-states, and guarded transitions.
Ships in uml-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Follow skill://uml-mcp-diagrams/SKILL.md. Rounded states, compound containers, parallel regions split by dashed lines, initial, final and history pseudo-states and labelled orthogonal transitions. The HTML page is a simulator: it highlights the active states and offers a button for every enabled event, with a step log, Undo and Reset.
| Type | Use for | Example prompt |
|---|---|---|
state_machine | a state machine or statechart (order lifecycle, traffic light, UI flow) to read or step through | Model our order lifecycle as a state machine: checkout with address and payment steps, packing and invoicing in parallel, cancelled and delivered as final states. |
list_diagram_types or uml://types); the bundled plugins are on by default, but a server may turn them off with plugins.bundled: false.uml://examples and keep its field names.validate_uml; an error names the field and, for a bad reference, lists the known ids, so fix it and validate again.generate_uml_image for a chat image, or generate_uml with output_format: "html" for the interactive page in the MCP App viewer. Clients without MCP Apps still get the PNG and SVG.theme (auto, dark, light) rather than editing colours.{"id":"order","title":"Order lifecycle","initial":"cart","context":{"items":0,"total":0},"states":{"cart":{"description":"The shopper is still adding items.","on":{"ADD_ITEM":{"actions":["addItem"]},"CHECKOUT":{"target":"checkout","guard":"hasItems"}}},"checkout":{"initial":"address","entry":["startTimer"],"exit":["stopTimer"],"description":"Address, then payment. Help keeps your place.","states":{"address":{"on":{"NEXT":"payment"}},"payment":{"on":{"BACK":"address","PAY":[{"target":"#order.fulfilment","guard":"cardOk","actions":["charge"]},{"target":"declined","guard":"cardDeclined"}]}},"declined":{"on":{"RETRY":"payment"}},"hist":{"type":"history"}},"on":{"HELP":"help","CANCEL":"cancelled"}},"help":{"description":"A support chat; resuming returns to the same checkout step.","on":{"RESUME":"checkout.hist"}},"fulfilment":{"type":"parallel","description":"Packing and invoicing run at the same time.","onDone":"delivered","states":{"packing":{"initial":"picking","states":{"picking":{"on":{"PACKED":"packed"}},"packed":{"type":"final"}}},"invoice":{"initial":"drafting","states":{"drafting":{"on":{"SEND":"sent"}},"sent":{"type":"final"}}}},"on":{"CANCEL":{"target":"cancelled","actions":["refund"]}}},"delivered":{"type":"final","entry":["notifyCustomer"]},"cancelled":{"type":"final"}}}
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
statechart, state-machine, uml-diagrams, simulator, visualization
npx claudepluginhub antoinebou12/uml-mcp --plugin uml-mcp14 skills in this plugin
/uml-mcp-diagramsRender and verify UML, C4, Mermaid, D2 and D3 diagrams./uml-mcp-agent-traceDraw agent run traces with LLM, tool, retrieval and sub-agent steps on a timeline (agent_trace)./uml-mcp-archifyDraw archify architecture, workflow and sequence diagrams with colour-coded groups./uml-mcp-batchRender and verify diagram batches and consistent multi-format architecture conversions, including four C4 levels./uml-mcp-c4-modelDraw a C4 model readers can drill into, from context to containers to components (c4_model)./uml-mcp-d3-pluginsDiscover installed D3 plugins and render architecture diagrams with cloud and AI logos in the MCP App.Other plugins' skills for the same job