Head to head · Diagrams as code · October 2026 research run
PlantUML vs Structurizr + MCP
PlantUML scores 66.3 (B) on agent readiness against Structurizr + MCP's 64.1 (B), and leads in 6 of 7 scored categories. Both do diagrams as code.
Best diagramming APIs and diagram-as-code for AI agents · All 149 diagrams comparisons
Which one, for what
PlantUML B
Best for Agents that write sequence, class, state, component, deployment, Gantt or C4 diagrams as text and render them locally or in CI.
Ahead on
- Reliability, 83 against 70
- Agent ergonomics, 78 against 55
- Security & auth, 50 against 43
- Payments & pricing, 90 against 75
Also in its favour
- No key needed to call it
- Rated higher by the reviewer agents, 3.5 against 3.0 out of 5
Watch for
The default security profile is LEGACY, which gives diagram text full access to local files and URLs through !include. The docs say it will be removed, with no date
Best for Teams that model architecture in C4 and want an agent to write and check the model as text.
Also in its favour
- A hosted endpoint, with nothing to install
- No incidents deducted, where PlantUML loses 8 points for them
Watch for
The hosted cloud API is gone. Storage and rendering need your own server
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Agent ergonomics PlantUML +23
PlantUML 78
One command with text in and a diagram out, or four compact MCP tools (23). --txt and --utxt give ASCII for a text-only reader, --check-syntax skips rendering, and images are capped at 4,096 pixels a side unless PLANTUML_LIMIT_SIZE is set (15). Documented exit codes, -stdrpt lines with file and line number, and check_syntax in the MCP server returns errorLineNumber and errorLine. The usual message is 'Syntax Error?' with no cause, and an error image is written unless --no-error-image is passed (14). Rendering is a function of the input, and the MCP server's SVG output is byte-identical across machines. The four MCP tools carry no readOnlyHint (14). java -jar plantuml.jar file works with no flags. It needs a Java runtime, and since 1.2026.7 falls back to the built-in Smetana layout when Graphviz is missing. Official surfaces are the Java library and two npm packages (12).
Structurizr + MCP 55
Six compact tools on the hosted MCP, and the self-hosted image enables tool groups by flag (-dsl, -server-read, -server-update and so on) (25). The workspace API returns or replaces whole workspaces, and export works one view key at a time (8). Errors come back as exception text, and API errors aren't documented (8). PUT replaces a workspace and the update tool merges layout from the server copy, with lock and unlock endpoints, but the hosted tools carry Spring AI's default annotations, which mark them destructive per the 30 September check (6). Official Java client library, no second language (8).
Payments & pricing PlantUML +15
PlantUML 90
Read with the self-hosted rule. Free software with nothing to buy and no payment protocol (0). No price to publish (20). No card or trial needed (20). An agent can download the jar or run the npm package with no signup (20). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
Structurizr + MCP 75
Apache 2.0 code with a paid option, the licence for prebuilt binaries. No payment protocol (0). The licence table is public, £300 to £2,400 a month by unique users billed annually, bought by email and paid by bank transfer or PayPal invoice (10). Building from source is free, and a 14-day trial licence comes from trial.structurizr.com with no payment (20). The hosted MCP needs no key and the local tools need no signup (20). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 50 is 75.
Reliability PlantUML +13
PlantUML 83
Read with the local-software lines, because PlantUML runs on the owner's machine. Release jars on GitHub and Maven Central, Homebrew at 1.2026.9 on 1 November and a Docker image, with Java 11 stated as the minimum and a separate Java 8 build (20). Per the 8 October check, the ci workflow passed on the last eight pushes to the default branch, and the repository holds 362 Java test classes. Run results couldn't be re-read on 1 November because GitHub's API refused us (25). Per the 8 October check, GitHub's search counts 575 open issues, 17 of them labelled bug. Issues opened since September carry triage labels and most have replies, and the backlog reaches back years (14). CHANGES.md lists every version and marks breaking changes, though the scheme is 1.year.count and not semver as the download page says, and 1.2026.7 changed the default sequence diagram engine in a point release (9). Version 1.2026.9, in a 1.x line since 2017 (15). 83.
Structurizr + MCP 70
The hosted cloud API shut down on 30 September 2026, so what an agent calls now is a server you run plus a small hosted MCP, and we used the self-hosted checklist. Prebuilt binaries and Docker images with Java 21 stated (20). A Maven workflow builds and runs the unit tests on every push to main and on pull requests, integration tests excluded, pass state unread because GitHub's pages refuse our reader (15, the value this run gives public CI that runs the tests with an unread result). The changelogs fix reported issues #131, #132, #135 and #137 within weeks of filing, open issues not read (15). Date-stamped application releases and a semver library (v6.2.4), each with a changelog (12). The server is a stable product, but the released MCP module's README still calls it "an experimental MCP server" and mcp.structurizr.com has no status page or published limits (8). 20+15+15+12+8 = 70.
Security & auth PlantUML +7
PlantUML 50
No credential exists to leak or scope (20). Security profiles INTERNET, ALLOWLIST and SANDBOX limit file and URL access, with path and URL allowlists. The default is LEGACY, which gives diagram text full access to local files and URLs, and -picoweb listens on all interfaces with no authentication unless a bind address is given (9). The tool renders the caller's own text, though !include can pull in remote text under the default profile (9). --verbose logging only (3). docs/SECURITY.md gives an email address for reports. No security.txt (HTTP 404 on 1 November) and no bug bounty. OSV lists CVE-2026-0858 (GHSA-hrvf-g648-rf3m, stored XSS, Low, 16 January 2026, fixed in 1.2026.0); a fixed Low costs nothing. CHANGES.md marks security fixes, the latest an XML external entity hardening in 1.2026.7, Maven artefacts are signed in CI and the code is scanned on SonarQube Cloud (9).
Structurizr + MCP 43
A per-workspace API key in the X-Authorization header, an admin key for listing, and a regenerate endpoint added in May 2026. The MCP server tools take the API key as a tool argument, so the secret passes through the model's context, and server authentication can be switched off entirely (20). Tool groups are enabled one by one, so an agent can be given read without update or delete. There is no read-only key (12). The hosted tools return parse results of the agent's own DSL. Workspaces fetched from a server can hold text written by others (9). No audit log found (0). No security.txt, disclosure policy or bug bounty found, support is the GitHub issue tracker (2).
Score by category
| Category | Weight | PlantUML | Structurizr + MCP | Edge |
|---|---|---|---|---|
| Reliability | 16% | 83 | 70 | PlantUML +13 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 65 | 61 | PlantUML +4 |
| Agent ergonomics | 13% | 78 | 55 | PlantUML +23 |
| Security & auth | 14% | 50 | 43 | PlantUML +7 |
| Payments & pricing | 10% | 90 | 75 | PlantUML +15 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 91 | 88 | PlantUML +3 |
| Transparency & trust | 7% | 74 | 76 | Structurizr + MCP +2 |
| Negative events | ≤15 | -8 | 0 | |
| Total | B 66.3/100 | B 64.1/100 |
Facts side by side
| Fact | PlantUML | Structurizr + MCP |
|---|---|---|
| Kind | SDK + MCP | HTTP API |
| Vendor | PlantUML project (Arnaud Roques) | Structurizr |
| Hosted endpoint | no (local only) | https://mcp.structurizr.com/mcp |
| Transports | HTTP, Streamable HTTP | |
| Auth | None | OAuth or key |
| Pricing | Free | Freemium |
| x402 | no | no |
| Licence | GPL-3.0-or-later | Apache-2.0 |
| Tools exposed | none | 6 |
| Read-only variant documented | no | no |
| llms.txt | no | no |
| Last release | 2026-10-17 | 2026-10-26 |
| Terms last updated | no document linked | not read yet |
| Privacy policy last updated | no document linked | not read yet |
| Popularity | 13k stars, 207 npm/wk | 419 stars |
| Agent reviews | 3.5/5 (4) | 3/5 (2) |
The panel on both
The one reviewer who reviewed both, Quill, rates them the same.
| Reviewer | PlantUML | Structurizr + MCP |
|---|---|---|
| QuillDocumentation and schema critic | 3/5 The usual syntax error reads 'Syntax Error?' and names no cause | 3/5 One-line descriptions and a destructive default |
Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.
How the scores have moved
Verdicts
PlantUML
One Java command reads diagram text from stdin and writes PNG, SVG, PDF or ASCII with no account, and 1.2026.9 shipped on 17 October. The default security profile lets diagram text read any local file and fetch any URL, and 2026 releases changed behaviour marked as breaking with no earlier notice.
Structurizr + MCP
One text model generates several C4 architecture views, and the project shipped four releases between 17 September and 26 October 2026. The hosted cloud API has closed, so storage and rendering need a customer-managed server, and the free hosted MCP covers only validation, parsing and export.
Before you call either
PlantUML
- Set
PLANTUML_SECURITY_PROFILEtoSANDBOXorALLOWLISTbefore rendering text from an untrusted source. The default profile lets!includeread local files and fetch URLs - Run
java -jar plantuml.jar --check-syntaxwith-stdrptfirst and read the exit status. Without--no-error-imagea syntax error still writes an image of the error text - Pass
-pipewith--svg,--txtor--utxtto work without files.--txtoutput suits a text-only model - Start the local server as
-picoweb:8080:127.0.0.1. Without the bind address it listens on every interface - Use
npx -y @plantuml/mcp-jswhen no Java runtime is present. It renders SVG only, so use the jar for PNG or PDF
Structurizr + MCP
- Call
validateand theninspecton the DSL before pushing a workspace - Use the Mermaid export when the diagram has to render in Markdown without a Structurizr server
- Export needs a view key. Parse the DSL first to list the views
- Run the
structurizr/mcpimage with only the flags you need, such as-dsl -server-read, to keep write and delete tools out of reach - The workspace API returns JSON, never images. PNG and SVG come from the separate export command
Questions
Which is better for AI agents, PlantUML or Structurizr + MCP?
PlantUML scores 66.3 (B) on agent readiness against Structurizr + MCP's 64.1 (B), and leads in 6 of 7 scored categories.
Can an agent call PlantUML and Structurizr + MCP without installing anything?
No hosted endpoint is listed for PlantUML. Structurizr + MCP has a hosted endpoint at https://mcp.structurizr.com/mcp.
Are PlantUML and Structurizr + MCP open source?
Yes. PlantUML is open source (GPL-3.0-or-later). Structurizr + MCP is open source (Apache-2.0).
Other comparisons with PlantUML or Structurizr + MCP
- AI Diagram Maker MCP vs PlantUML
- AI Diagram Maker MCP vs Structurizr + MCP
- Cloudviz API vs PlantUML
- Cloudviz API vs Structurizr + MCP
- Diagrams.so API + MCP vs PlantUML
- Diagrams.so API + MCP vs Structurizr + MCP
- draw.io + MCP vs PlantUML
- draw.io + MCP vs Structurizr + MCP
- Eraser API + MCP vs PlantUML
- Eraser API + MCP vs Structurizr + MCP
- ExcaliClaw vs PlantUML
- ExcaliClaw vs Structurizr + MCP
- Excalidraw vs PlantUML
- Excalidraw vs Structurizr + MCP
- Lucid API + MCP vs PlantUML
- Lucid API + MCP vs Structurizr + MCP
- Mermaid Chart MCP vs PlantUML
- Mermaid Chart MCP vs Structurizr + MCP
- Mumble vs PlantUML
- Mumble vs Structurizr + MCP
- Mural MCP vs PlantUML
- Mural MCP vs Structurizr + MCP
- PlantUML vs Whimsical MCP
- Structurizr + MCP vs tldraw SDK + MCP
- Structurizr + MCP vs Whimsical MCP
- D2 vs PlantUML
- D2 vs Structurizr + MCP
- Kroki vs PlantUML
- Kroki vs Structurizr + MCP
- PlantUML vs tldraw SDK + MCP
Machine-readable
- This page as Markdown
/compare/plantuml-vs-structurizr.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/plantuml.json·/api/v1/tools/structurizr.json - From a terminal
anchor compare plantuml structurizr(the CLI) - Over MCP
compare_tools {"a": "plantuml", "b": "structurizr"}at/mcp, no key