Skip to main content

Diagrams.so

io.github.RedHold/diagrams-so-mcp

v1.4.7Updated Oct 9, 2026stdio · npm

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add diagrams-so-mcp -e DIAGRAMS_API_BASE=https://api.diagrams.so/api/v2 -e DIAGRAMS_API_TIMEOUT_MS=450000 -- npx -y @diagrams-so/[email protected]

Configuration

3 settings.

  • DIAGRAMS_API_KEY
    Env var· optional· secret
    Diagrams.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_BASE
    Env var· optional
    API base URL. Defaults to production; override only for a local or self-hosted API.Default: https://api.diagrams.so/api/v2
  • DIAGRAMS_API_TIMEOUT_MS
    Env var· optional
    Per-request timeout in milliseconds for slow generate/edit/fix calls.Default: 450000

Listed in the official MCP Registry since Oct 9, 2026. Mirrored daily; last checked Nov 26, 2026.