Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Diagrams.so

MCP server by RedHold Community

Generate, edit and manage AWS, Azure, GCP and Kubernetes architecture diagrams from any MCP client. It suits engineers who want diagrams and Well-Architected warnings from their AI assistant.

  • Score 69
  • 0 stars
  • 90 a week
  • Apache-2.0
  • Updated

Install Diagrams.so

Built from the published package, never by AI.

claude mcp add diagrams-so -- npx -y @diagrams-so/mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Diagrams.so in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the diagrams-so block.

About

The Diagrams.so MCP server is a stdio client for the public Diagrams.so API. It exposes 23 tools that let an assistant create, edit, fix, version and export cloud architecture diagrams. The source names Claude Desktop, Claude Code and Cursor as supported clients.

You connect the machine by approving a sign-in in a browser, so no API key is copied into the config. On the Paid plan, exports are real draw.io XML that opens in app.diagrams.net or the desktop app. The Free plan returns watermarked SVG images instead. The code is Apache-2.0 licensed, and it is aimed at developers and architects who design cloud systems.

Written from the project's README and checked against it.

Tools it gives your assistant

  • generate_diagramCreates a diagram from a prompt, with warnings, a score and draw.io XML or an image link.
  • edit_diagramApplies a natural-language change to an existing diagram as a new version.
  • get_warningsReturns Well-Architected findings for a diagram.
  • fix_warningResolves one Well-Architected warning on a diagram.
  • export_diagramExports a diagram as raw svg or drawio, depending on the plan.
  • list_diagramsLists your diagrams with cursor-based pagination.
  • list_versionsShows the version history of a diagram, marking the current one.
  • search_gallerySearches public community and curated library diagrams.
  • enhance_promptTurns a rough idea into a more detailed diagram prompt.
  • whoamiShows the connected account, plan, scopes and live or test mode.

What you need

  • Node.js 18 or later
  • A Diagrams.so account, connected by browser approval
  • A Paid plan for draw.io export and diagrams without a watermark
SettingNeededWhat it is
DIAGRAMS_API_KEYEnvironment variable, secretOptionalDiagrams.so API key (dgz_live_... or dgz_test_...). Optional since 1.4.0: run `npx @diagrams-so/mcp login` once instead. Or create a key at https://diagrams.so under Settings then API Keys.
DIAGRAMS_API_BASEEnvironment variableOptionalAPI base URL. Defaults to production; override only for a local or self-hosted API. Default: https://api.diagrams.so/api/v2
DIAGRAMS_API_TIMEOUT_MSEnvironment variableOptionalPer-request timeout in milliseconds for slow generate/edit/fix calls. Default: 450000

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Generate an AWS three-tier web app with an ALB and RDS Multi-AZ, then show the warnings.
  • Fix the warning about no encryption in transit and show me the new score.
  • Search the gallery for Kubernetes cluster architecture diagrams.

Good to know

  • On the Free plan, tools return a watermarked SVG and the editable draw.io file needs the Paid plan.
  • Usage is not metered, but there is a per-minute rate limit.
  • delete_diagram is destructive, and relayout_diagram needs confirm=true.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Diagrams.so

All alternatives →

Compare with Appllama, codesign or Pascal 3D Editor

Diagrams.so: common questions

Does Diagrams.so MCP need an API key?

The source says no key is needed to connect. You connect by approving in a browser with the login command, though DIAGRAMS_API_KEY can be set for CI and headless machines.

Can I edit the diagrams it generates?

On the Paid plan the saved .drawio file is real draw.io XML and is fully editable. On the Free plan the tools return a watermarked image instead.

Does the server send data anywhere else?

The source says the server runs locally and connects only to api.diagrams.so, and that it contains no telemetry.

How do I install Diagrams.so?

In Claude Code run claude mcp add diagrams-so -- npx -y @diagrams-so/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Diagrams.so the official server?

Diagrams.so is a community project by RedHold, not verified by a company domain.

Is Diagrams.so free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Diagrams.so safe to use?

It scores 69 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Diagrams.so?

Similar MCP servers: Appllama, codesign, Pascal 3D Editor, Agent-Native Design.

Does Diagrams.so work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Diagrams.so Install

Add to stack

Loading.