Diagrams.so MCP server
Generate and edit AWS, Azure, GCP and Kubernetes architecture diagrams as editable draw.io files.
0 stars83 downloads/wk
Reviews
Write oneNobody has reviewed Diagrams.so yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Diagrams.so tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-22 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 15 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
What the publisher says
From the Diagrams.so repository's README, as published. We do not edit it. Read it on GitHub
@diagrams-so/mcp
The Diagrams.so MCP server — generate, edit, and manage cloud architecture diagrams from any MCP client (Claude Desktop, Claude Code, Cursor). It's a thin stdio client over the public Diagrams.so API (/api/v2); every tool is one REST call.
Quick start
Needs Node ≥ 18. No API key to copy: you connect by approving in a browser.
# 1. add the server to Claude Code
claude mcp add diagrams-so -- npx -y @diagrams-so/mcp
# 2. connect this machine (a browser opens, press Approve)
npx @diagrams-so/mcp loginRestart your client, then ask: "Generate an AWS 3-tier web app diagram and show me the warnings." Run /mcp if you want to confirm all 23 tools registered first.
Using it a lot? Install once and the command gets shorter:
npm i -g @diagrams-so/mcp
diagrams-so loginThe server talks to production (https://api.diagrams.so/api/v2) by default. Point it at a
local or self-hosted API with DIAGRAMSAPIBASE.
Using Claude Desktop or Cursor instead of the CLI? See Add it to your MCP client. Prefer a one-click, no-terminal install? See One-click install (MCPB).
No terminal at all (Claude Desktop)
Add the server to your client config (below) with DIAGRAMSLOGINEMAIL set to your email, then just ask for a diagram. Because the machine isn't connected yet, the first tool call emails you a one-time sign-in code and replies with a link. Open it, enter the code, press Approve, and ask again. Nothing to install or type.
Generating a diagram from Claude
login only connects the machine. It never generates anything itself, so there is no generate command to type in a terminal. You write the prompt in your assistant's normal chat box and it calls the tools for you.
MCP servers load at startup, so restart your client after adding it. Then run /mcp and confirm diagrams-so shows 23 tools.
Now just ask, in plain English:
Generate an AWS three-tier web app with an ALB, EC2 Auto Scaling and RDS Multi-AZ.
Show me the design warnings, then export it as draw.io.
Behind that one sentence the assistant calls generatediagram, then getwarnings, then export_diagram. You never name a tool or write JSON.
More things worth asking, once you have a diagram:
The warnings mention no encryption in transit. Fix that one and show me the new score.
Add a CloudFront distribution in front of the ALB.
Re-export it as SVG so I can drop it in the README.
Each reply carries the credit cost and your remaining balance. Generating, editing, fixing and re-laying-out spend credits; reading, warnings and every export are free.
The .drawio file the assistant saves opens at app.diagrams.net or in the desktop app, fully editable — it is real draw.io XML, not a picture.
Prefer not to use an assistant at all? diagrams.so/create has the same thing as a web page: type the prompt in the box. No install, no login, no MCP.
Tools (23)
Create & change (mutating)
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
Runs npx -y @diagrams-so/mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add diagrams-so-mcp -- npx -y @diagrams-so/mcp
Diagrams.so: common questions
- Is Diagrams.so MCP server safe?
- Yes, by our scan: it is graded A (85/100). Read the Diagrams.so safety report
- How do I install Diagrams.so?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Diagrams.so need an API key?
- Yes. The registry entry asks for
DIAGRAMS_API_KEY. - Is Diagrams.so maintained?
- The last commit was 16 days ago (2026-09-08). The latest release is v1.4.6.
- What can I use instead of Diagrams.so?
- Servers from other publishers that do the same job: TerraVision MCP server, Cloud FinOps Skill & MCP server and clawops MCP server. Compare all Diagrams.so alternatives.
Alternatives to Diagrams.so
Same job from other publishers: the closest match first, then the best rated.
- TerraVisionCloud architecture diagrams generated from terraform plan, with official AWS, Azure, GCP iconsnot reviewedEstablishedA
- Cloud FinOps Skill & MCPCloud cost + FinOps knowledge for AI agents: AWS/Azure/GCP optimisation, AI spend, waste playbooks.not reviewedEstablishedB
- clawopsDeploy self-hosted OpenClaw to AWS, GCP, Azure or a local VM — a CLI and an MCP server in one.not reviewedGrowingB
Cloudeval AICloud evaluations and reviews for Azure and static AWS CloudFormation (beta). Requires an account.not reviewedGrowingB- KubernetesA Model Context Protocol (MCP) server for Kubernetes and OpenShiftnot reviewedEstablishedA