Draws architecture diagrams from JSON or Mermaid.
MCPpedia last refreshed this data
io.github.Orrae-Labs/open-diagram-rs is an MCP server that draws architecture diagrams from JSON or Mermaid. Its tool list has not been published yet over stdio and sse, requires no API key, and scores 37/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"io-github-orrae-labs-open-diagram-rs": {
"url": "<see-readme-for-url>"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Draws architecture diagrams from JSON or Mermaid.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in cloud
Cloud-powered AI platform with multi-agent swarms, sandboxes, and workflow automation
Draw cloud architecture diagrams with official AWS, Azure and GCP icons from a prompt or Terraform.
MCP Server for kubernetes management commands
Designs, prices, and deploys AWS/GCP cloud infrastructure from plain-English requirements.
MCP Security Weekly
Get CVE alerts and security updates for io.github.Orrae-Labs/open-diagram-rs and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
open-diagram-rs draws architecture diagrams and checks their layout. You describe boxes, lines and groups in JSON, in a Mermaid flowchart, or in Rust. It measures every label with the bundled Inter font, places everything, and names each layout problem it finds: two boxes that overlap, a line that runs through a box, text below 10 px. It writes an SVG and, when Chrome or a Chromium-based browser is installed, a PNG.

There are three ways to use it:
open-diagram-rs, a command for your terminal or CI.open-diagram-rs, a Rust library.open-diagram-rs-mcp, an MCP server that lets AI apps such as Claude, Codex or Cursor draw and check diagrams.cargo install open-diagram-rs-cli --locked
This installs the open-diagram-rs command. It needs Rust 1.100 or later.
PNG output uses Chrome, Chromium or Edge. If yours is installed somewhere unusual, set CHROME to its path. Without a browser you still get the SVG.
To use the library in your own crate:
cargo add open-diagram-rs
For the MCP server, see docs/agents.md.
Start from a template:
open-diagram-rs new azure_web_app
open-diagram-rs draw azure_web_app.json
new writes azure_web_app.json into the current folder, and draw turns it into azure_web_app.svg and azure_web_app.png. Run open-diagram-rs new on its own to list the templates.
Or write one yourself. Save this as search.json:
{
"title": "How a search request is answered",
"tag": "EXAMPLE",
"columns": [
[{"id": "app", "title": "Web app", "tiles": ["Search box", "Results page", "Filters"], "footer": "Owner: Web team"}],
[{"id": "api", "title": "Search API", "tiles": ["Checks access", {"label": "Caches results", "status": "building"}], "footer": "Owner: Platform team"}],
[{"id": "index", "title": "Search index", "status": "planned", "tiles": ["Product text", {"label": "Spelling fixes", "status": "planned"}]}]
],
"links": [
{"from": "app", "to": "api"},
{"from": "api", "to": "index", "kind": "planned", "label": "new"}
]
}
Then run open-diagram-rs draw search.json:

Each entry in columns is a column of panels, drawn left to right. A part marked building gets a dashed amber outline and one marked planned a dotted gray one. The legend under the title lists the states and kinds of line the picture uses. The same picture in Rust is open_diagram_rs::examples::quickstart.
draw and check print each problem as a sentence that names the parts involved, for example that one panel overlaps another, or that a line crosses a panel it doesn't connect to. draw still writes the files so you can look at them, then exits with status 1. check builds the diagram without writing anything, which suits CI.
Labels are never squeezed or cut to make them fit. If a box is too small for its text, the problem says how many pixels it needs.

docs/images holds every example picture. The test suite redraws them all and fails if a single byte changes.
| Picture | What it shows |
|---|---|
systems_map | A video platform, with columns, a group, numbered steps, states, owners, a small data map and lanes |
how_it_works | How open-diagram-rs works |
pipeline | A release pipeline with a rollback lane |
card_payment | A card payment, with return paths above and below |
layers | Stacked layers and a side panel |
concept_map | How git stores a project |
| `smart_h |