diagrams-mcp MCP Server

Graphviz is required for the default local/in-process rendering mode. Mermaid CLI and PlantUML are optional — install them only if you need those specific rendering engines locally.

Local serverstdio

What is the diagrams-mcp Server?

diagrams-mcp source profile. From the maintainer documentation: “Graphviz is required for the default local/in-process rendering mode. Mermaid CLI and PlantUML are optional — install them only if you need those specific rendering engines locally.”

Installation

The documented pypi package is diagrams-mcp-server. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list_providers) → list[str] — List all diagram providers (aws, gcp, k8s, azure, onprem, etc.)
list_servicesprovider) → list[str] — List service categories within a provider (e.g. aws → compute, database, network)
list_nodesprovider, service) → list[dict] — List node classes for a provider.service pair with import paths
search_nodesquery) → list[dict] — Search for nodes by keyword across all providers (e.g. "postgres", "lambda")
render_diagramcode) → Image (PNG) — Execute a Python script using mingrammer/diagrams in a sandboxed subprocess. Returns a rendered cloud architecture diagram.
render_mermaiddefinition) → Image (PNG/SVG) — Render a Mermaid diagram definition (flowcharts, sequence, class, ER, state, Gantt, and more).
render_plantumldefinition) → Image (PNG) — Render a PlantUML diagram definition (sequence, class, component, activity, state, deployment).
find_equivalentnode, target_provider?) → dict — Find equivalent services across cloud providers (e.g. EC2 → ComputeEngine on GCP).
list_categories) → list[dict] — List all 30 infrastructure role categories with mapped nodes across providers.

How to install the diagrams-mcp Server

{
  "mcpServers": {
    "diagrams-mcp": {
      "command": "uvx",
      "args": [
        "diagrams-mcp-server"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.