PluginBench
MCP Server
Active
Apache-2.0

Diagrams.so MCP Server

io.github.RedHold/diagrams-so-mcp

What is the Diagrams.so MCP server?

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

How to install Diagrams.so

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • DIAGRAMS_API_KEY
    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 AI Provider.

  • DIAGRAMS_API_BASE

    API base URL. Defaults to production; override only for a local or self-hosted API.

  • DIAGRAMS_API_TIMEOUT_MS

    Per-request timeout in milliseconds for slow generate/edit/fix calls.

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "diagrams-so-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@diagrams-so/mcp"
      ],
      "env": {
        "DIAGRAMS_API_KEY": "<YOUR_DIAGRAMS_API_KEY>",
        "DIAGRAMS_API_BASE": "<YOUR_DIAGRAMS_API_BASE>",
        "DIAGRAMS_API_TIMEOUT_MS": "<YOUR_DIAGRAMS_API_TIMEOUT_MS>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "diagrams-so-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@diagrams-so/mcp"
      ],
      "env": {
        "DIAGRAMS_API_KEY": "<YOUR_DIAGRAMS_API_KEY>",
        "DIAGRAMS_API_BASE": "<YOUR_DIAGRAMS_API_BASE>",
        "DIAGRAMS_API_TIMEOUT_MS": "<YOUR_DIAGRAMS_API_TIMEOUT_MS>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "diagrams-so-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@diagrams-so/mcp"
      ],
      "env": {
        "DIAGRAMS_API_KEY": "<YOUR_DIAGRAMS_API_KEY>",
        "DIAGRAMS_API_BASE": "<YOUR_DIAGRAMS_API_BASE>",
        "DIAGRAMS_API_TIMEOUT_MS": "<YOUR_DIAGRAMS_API_TIMEOUT_MS>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "diagrams-so-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@diagrams-so/mcp"
      ],
      "env": {
        "DIAGRAMS_API_KEY": "<YOUR_DIAGRAMS_API_KEY>",
        "DIAGRAMS_API_BASE": "<YOUR_DIAGRAMS_API_BASE>",
        "DIAGRAMS_API_TIMEOUT_MS": "<YOUR_DIAGRAMS_API_TIMEOUT_MS>"
      }
    }
  }
}
Claude Code
claude mcp add diagrams-so-mcp --env DIAGRAMS_API_KEY=<YOUR_DIAGRAMS_API_KEY> --env DIAGRAMS_API_BASE=<YOUR_DIAGRAMS_API_BASE> --env DIAGRAMS_API_TIMEOUT_MS=<YOUR_DIAGRAMS_API_TIMEOUT_MS> -- npx -y @diagrams-so/mcp

Related MCP servers

Control a real Chrome browser to complete any task: fill forms, extract data, book flights.

110k
Python
MIT
View repository →

Live global intelligence: real-time markets, conflicts, country risk, chokepoints, energy. 39 tools.

83k
TypeScript
AGPL-3.0
View repository →

Netdata

Active

Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.

80k
Go
GPL-3.0
View repository →

Trending hip-hop artist momentum scores across four cultural dimensions.

79k
TypeScript
MIT
View repository →

AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.

68k
TypeScript
MIT
View repository →

Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.

67k
Python
BSD-3-Clause
View repository →