Diagrams.so

io.github.RedHold/diagrams-so-mcp

Generate and edit AWS, Azure, GCP and Kubernetes architecture diagrams as editable draw.io files.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "diagrams-so-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@diagrams-so/mcp@1.4.7"
      ],
      "env": {
        "DIAGRAMS_API_KEY": "<your DIAGRAMS_API_KEY>",
        "DIAGRAMS_API_BASE": "https://api.diagrams.so/api/v2",
        "DIAGRAMS_API_TIMEOUT_MS": "450000"
      }
    }
  }
}
Environment variables
  • DIAGRAMS_API_KEYsecretDiagrams.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_BASEAPI base URL. Defaults to production; override only for a local or self-hosted API.
  • DIAGRAMS_API_TIMEOUT_MSPer-request timeout in milliseconds for slow generate/edit/fix calls.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Cloud & DevOps
Version
1.4.7
Registry
active
Published
10/9/2026
Browse all Cloud & DevOps →

Add the badge to your site

Show visitors that Diagrams.so is listed here — it’s also the link we check for a free listing.

Diagrams.so — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-redhold-diagrams-so-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Diagrams.so — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Diagrams.so — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-redhold-diagrams-so-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.