Koskamo

Diagrams.so MCP

An MCP server that allows AI agents to generate, edit, fix, and export cloud architecture diagrams as editable draw.io files using natural language prompts. It supports AWS, Azure, GCP, and Kubernetes icons, and provides Well-Architected reviews.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Diagrams.so MCP logo, by RedHold LLCCommunity listingLocal stdioSource reviewed; not executedPublished by RedHold LLC
You need:enter your email, we email a one-time code, then sign in in the browser that opens, enter the code, and press Approve
Vendor documentation

What you can do with it

  • Generate cloud architecture diagrams from natural language prompts
  • Edit and fix existing diagrams via agent tool calls
  • Export diagrams as draw.io XML or SVG
  • Receive Well-Architected security warnings

Source and maintenance

Community listingRegistry 1.4.7
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@diagrams-so/mcp 1.4.7

npmnpx
@diagrams-so/mcp package definition
{
  "version": "1.4.7",
  "transport": "stdio",
  "identifier": "@diagrams-so/mcp",
  "runtimeHint": "npx",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org",
  "environmentVariables": [
    {
      "name": "DIAGRAMS_API_KEY",
      "description": "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."
    },
    {
      "name": "DIAGRAMS_API_BASE",
      "default": "https://api.diagrams.so/api/v2",
      "description": "API base URL. Defaults to production; override only for a local or self-hosted API."
    },
    {
      "name": "DIAGRAMS_API_TIMEOUT_MS",
      "default": "450000",
      "description": "Per-request timeout in milliseconds for slow generate/edit/fix calls."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "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": "<YOUR_DIAGRAMS_API_BASE>",
        "DIAGRAMS_API_TIMEOUT_MS": "<YOUR_DIAGRAMS_API_TIMEOUT_MS>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "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": "<YOUR_DIAGRAMS_API_BASE>",
        "DIAGRAMS_API_TIMEOUT_MS": "<YOUR_DIAGRAMS_API_TIMEOUT_MS>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "diagrams-so-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@diagrams-so/mcp@1.4.7"
      ],
      "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 Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "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": "<YOUR_DIAGRAMS_API_BASE>",
        "DIAGRAMS_API_TIMEOUT_MS": "<YOUR_DIAGRAMS_API_TIMEOUT_MS>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Diagrams.so MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.