Zovo State Diagram is an MCP server published by io.github.theluckystrike, hosted at state-diagram.zovo.one. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 2 tools, including make_state_diagram, check_state_diagram.
Turn a few lines of text into a UML state machine diagram document, and check the machine.
958 connections through 4 shared values. Tap any node.
Use this when the user wants a UML state diagram or state machine drawn, for example "draw the states of an order" or "make a PDF of this state machine". Takes the diagram text in a line grammar: state Name / state "Long label" as Name / state Name <<choice>> / state Name { ... } (composite, nest up to 3); [*] -> A (start), A -> [*] (end); A -> B: event [guard] / action; A -> A: event (self); note A: text; # comments. When the user describes the machine in words, write it in this grammar first. Returns counts, states, transitions in input order, the machine check (unreachable states, states with no path to the end, non-deterministic transitions), a check on the drawing, the PDF page count, an interactive diagram, and PDF, SVG and CSV downloads. Refuses a line outside the grammar with its line number and token. Up to 80 states and 300 transitions. Does not read fork, join, history or concurrent regions. Download links of large diagrams expire after about 1 hour.
| Parameter | Type | Description |
|---|---|---|
| title | string | Title printed on the diagram and used in file names, up to 80 characters, e.g. "Order lifecycle". |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| diagram * |
| string |
| The state machine in this line grammar, one statement per line, up to 40,000 characters: state Name | state "Long label" as Name | state Name <<choice>> | state Name { ... } (composite, nest up to 3); [*] -> A (start), A -> [*] (end); A -> B: event [guard] / action (after ':' the event is required, … |
| page_size | string | PDF paper, portrait: letter (default) or a4. Example: a4. |
{
"name": "make_state_diagram",
"title": "Make state diagram",
"description": "Use this when the user wants a UML state diagram or state machine drawn, for example \"draw the states of an order\" or \"make a PDF of this state machine\". Takes the diagram text in a line grammar: state Name / state \"Long label\" as Name / state Name <<choice>> / state Name { ... } (composite, nest up to 3); [*] -> A (start), A -> [*] (end); A -> B: event [guard] / action; A -> A: event (self); note A: text; # comments. When the user describes the machine in words, write it in this grammar first. Returns counts, states, transitions in input order, the machine check (unreachable states, states with no path to the end, non-deterministic transitions), a check on the drawing, the PDF page count, an interactive diagram, and PDF, SVG and CSV downloads. Refuses a line outside the grammar with its line number and token. Up to 80 states and 300 transitions. Does not read fork, join, history or concurrent regions. Download links of large diagrams expire after about 1 hour.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"diagram"
],
"properties": {
"title": {
"type": "string",
"maxLength": 400,
"description": "Title printed on the diagram and used in file names, up to 80 characters, e.g. \"Order lifecycle\"."
},
"diagram": {
"type": "string",
"maxLength": 100000,
"description": "The state machine in this line grammar, one statement per line, up to 40,000 characters: state Name | state \"Long label\" as Name | state Name <<choice>> | state Name { ... } (composite, nest up to 3); [*] -> A (start), A -> [*] (end); A -> B: event [guard] / action (after ':' the event is required, then an optional [guard] and / action in that order; only a transition out of a <<choice>> state may have a [guard] without an event); note A: text; # comments. Declare each state before or after use. Example: \"state Idle\\nstate Running\\n[*] -> Idle\\nIdle -> Running: start [ready] / log\\nRunning -> Idle: stop\\nRunning -> [*]: shutdown\"."
},
"page_size": {
"enum": [
"letter",
"a4"
],
"type": "string",
"description": "PDF paper, portrait: letter (default) or a4. Example: a4."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"title",
"counts",
"states",
"transitions",
"analysis",
"pdf",
"layout_check",
"warnings",
"downloads"
],
"properties": {
"pdf": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"shown": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"title": {
"type": "string"
},
"counts": {
"type": "object",
"required": [
"states",
"composite",
"choice",
"transitions",
"self",
"notes",
"max_nesting"
],
"properties": {
"self": {
"type": "number"
},
"notes": {
"type": "number"
},
"choice": {
"type": "number"
},
"states": {
"type": "number"
},
"composite": {
"type": "number"
},
"max_nesting": {
"type": "number"
},
"transitions": {
"type": "number"
}
},
"additionalProperties": false
},
"states": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"analysis": {
"type": "object",
"required": [
"has_start",
"has_end",
"unreachable",
"no_path_to_end",
"non_deterministic",
"choice_without_guard"
],
"properties": {
"has_end": {
"type": "boolean"
},
"has_start": {
"type": "boolean"
},
"unreachable": {
"type": "array",
"items": {
"type": "string"
}
},
"no_path_to_end": {
"type": "array",
"items": {
"type": "string"
}
},
"non_deterministic": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"choice_without_guard": {
"type": "array",
"items": {
"type": "number"
}
}
},
"additionalProperties": false
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"downloads": {
"type": "object",
"properties": {
"csv": {
"type": "string"
},
"pdf": {
"type": "string"
},
"svg": {
"type": "string"
}
},
"additionalProperties": false
},
"transitions": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"layout_check": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"additionalProperties": false
},
"annotations": {
"title": "Make state diagram",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when the user wants state machine text checked without a drawing, for example "which states are unreachable?" or "check my state diagram for dead ends". Takes the same diagram text as make_state_diagram. Returns ready true or false; when a line breaks the grammar, the line number, the token and the reason; otherwise the states with incoming and outgoing transition counts, states not reachable from the start, states with no path to the end (both by breadth-first search; a composite state is entered through its own start), and transitions that leave the same state on the same event and guard. Does not draw the diagram or make files, and does not read fork, join, history or concurrent regions.
| Parameter | Type | Description |
|---|---|---|
| diagram * | string | The state machine in this line grammar, one statement per line, up to 40,000 characters: state Name | state "Long label" as Name | state Name <<choice>> | state Name { ... } (composite, nest up to 3); [*] -> A (start), A -> [*] (end); A -> B: event [guard] / action (after ':' the event is required, … |
{
"name": "check_state_diagram",
"title": "Check state diagram text",
"description": "Use this when the user wants state machine text checked without a drawing, for example \"which states are unreachable?\" or \"check my state diagram for dead ends\". Takes the same diagram text as make_state_diagram. Returns ready true or false; when a line breaks the grammar, the line number, the token and the reason; otherwise the states with incoming and outgoing transition counts, states not reachable from the start, states with no path to the end (both by breadth-first search; a composite state is entered through its own start), and transitions that leave the same state on the same event and guard. Does not draw the diagram or make files, and does not read fork, join, history or concurrent regions.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"diagram"
],
"properties": {
"diagram": {
"type": "string",
"maxLength": 100000,
"description": "The state machine in this line grammar, one statement per line, up to 40,000 characters: state Name | state \"Long label\" as Name | state Name <<choice>> | state Name { ... } (composite, nest up to 3); [*] -> A (start), A -> [*] (end); A -> B: event [guard] / action (after ':' the event is required, then an optional [guard] and / action in that order; only a transition out of a <<choice>> state may have a [guard] without an event); note A: text; # comments. Declare each state before or after use. Example: \"state Idle\\nstate Running\\n[*] -> Idle\\nIdle -> Running: start [ready] / log\\nRunning -> Idle: stop\\nRunning -> [*]: shutdown\"."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"ready",
"states",
"error",
"notes",
"grammar",
"limits"
],
"properties": {
"error": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"ready": {
"type": "boolean"
},
"shown": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"counts": {
"type": "object",
"required": [
"states",
"composite",
"choice",
"transitions",
"self",
"notes",
"max_nesting"
],
"properties": {
"self": {
"type": "number"
},
"notes": {
"type": "number"
},
"choice": {
"type": "number"
},
"states": {
"type": "number"
},
"composite": {
"type": "number"
},
"max_nesting": {
"type": "number"
},
"transitions": {
"type": "number"
}
},
"additionalProperties": false
},
"limits": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"states": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"grammar": {
"type": "array",
"items": {
"type": "string"
}
},
"analysis": {
"type": "object",
"required": [
"has_start",
"has_end",
"unreachable",
"no_path_to_end",
"non_deterministic",
"choice_without_guard"
],
"properties": {
"has_end": {
"type": "boolean"
},
"has_start": {
"type": "boolean"
},
"unreachable": {
"type": "array",
"items": {
"type": "string"
}
},
"no_path_to_end": {
"type": "array",
"items": {
"type": "string"
}
},
"non_deterministic": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"choice_without_guard": {
"type": "array",
"items": {
"type": "number"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"title": "Check state diagram text",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Zovo State Diagram draws a UML state machine diagram from a short line grammar, with PDF, SVG and CSV downloads, and checks the machine: states not reachable from the start, states with no path to the end, and transitions that leave one state on the same event and guard. Use make_state_diagram to draw it and check_state_diagram to check the text without drawing. Grammar, one statement per line: state Name; state "Long label" as Name; state Name <<choice>>; state Name { ... } for a composite state (up to 3 levels); [*] -> A for the start and A -> [*] for the end; A -> B: event [guard] / action; note A: text; # comments. A line outside the grammar is refused with its line number and the token, and nothing is drawn. When the user describes a machine in words, write it in this grammar first and show it with the result. Files of large diagrams are kept for 1 hour so the download links work, then deleted.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.