Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Architecture Diagrams

by apatilgtnversion 1.2.0i★ 1iRuns on your computerRepository ↗
Registry nameio.github.apatilgtn/architecture-diagrams

How to install

What it does

AWS, Azure and GCP architecture diagrams with official icons, reviews, Terraform and GCP import

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Developer tools

Use together with

Skills that teach the AI this kind of work; they work alongside this one

rea

Reverse engineer anything with agents, from app behavior down to native binaries.

by morluto★ 468,7331 skills

Skill · How-to guide

andrej-karpathy-skills

A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.

by multica-ai★ 234,3321 skills

Skill · How-to guideNo license stated

graphify

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

by Graphify-Labs★ 150,2871 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity4/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score16/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Architecture Diagrams. Follow https://mcp.popnx.com/i/apatilgtn-architecture-diagrams.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Architecture Diagrams for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "architecture-diagrams": { "command": "npx", "args": [ "-y", "arch-diagram-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Architecture Diagrams tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "architecture-diagrams": {
          "command": "npx",
          "args": [
            "-y",
            "arch-diagram-mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Architecture Diagrams and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Architecture Diagrams or shows a Architecture Diagrams tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • ARCH_DIAGRAM_OUTPUT_DIR Folder for rendered diagrams (default: ~/architecture-diagrams)
  • ARCH_DIAGRAM_INPUT_ROOTS Folders the server may read Terraform or inventory files from, separated by the OS path separator

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Architecture Diagrams yet

Architecture Diagrams runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Architecture Diagrams

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Developer tools that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Architecture Diagrams for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user architecture-diagrams -- npx -y arch-diagram-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Architecture Diagrams tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user architecture-diagrams -- npx -y arch-diagram-mcp
  4. Type /mcp in Claude Code

    You should see Architecture Diagrams listed as connected

  5. Try it

    Use Architecture Diagrams and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Architecture Diagrams or shows a Architecture Diagrams tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • ARCH_DIAGRAM_OUTPUT_DIR Folder for rendered diagrams (default: ~/architecture-diagrams)
  • ARCH_DIAGRAM_INPUT_ROOTS Folders the server may read Terraform or inventory files from, separated by the OS path separator

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Architecture Diagrams for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "architecture-diagrams": { "command": "npx", "args": [ "-y", "arch-diagram-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Architecture Diagrams tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Architecture Diagrams and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Architecture Diagrams or shows a Architecture Diagrams tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • ARCH_DIAGRAM_OUTPUT_DIR Folder for rendered diagrams (default: ~/architecture-diagrams)
  • ARCH_DIAGRAM_INPUT_ROOTS Folders the server may read Terraform or inventory files from, separated by the OS path separator

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Architecture Diagrams for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "architecture-diagrams": { "type": "stdio", "command": "npx", "args": [ "-y", "arch-diagram-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Architecture Diagrams tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Architecture Diagrams and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Architecture Diagrams or shows a Architecture Diagrams tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • ARCH_DIAGRAM_OUTPUT_DIR Folder for rendered diagrams (default: ~/architecture-diagrams)
  • ARCH_DIAGRAM_INPUT_ROOTS Folders the server may read Terraform or inventory files from, separated by the OS path separator

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Architecture Diagrams💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user architecture-diagrams -- npx -y arch-diagram-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "architecture-diagrams": {
      "command": "npx",
      "args": [
        "-y",
        "arch-diagram-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "architecture-diagrams": {
      "command": "npx",
      "args": [
        "-y",
        "arch-diagram-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "architecture-diagrams": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "arch-diagram-mcp"
      ]
    }
  }
}

Values you fill in

  • ARCH_DIAGRAM_OUTPUT_DIR env
    Folder for rendered diagrams (default: ~/architecture-diagrams)
  • ARCH_DIAGRAM_INPUT_ROOTS env
    Folders the server may read Terraform or inventory files from, separated by the OS path separator

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
117/wk
Licencei
Apache-2.0
Connection
Runs on your computer
Latest versioni
1.2.0
Published to registryi
Oct 27, 2026
Code last changedi
Oct 27, 2026
Maker
apatilgtn
Packages
pypi: arch-diagram-mcp
npm: arch-diagram-mcp
Website
github.com
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account apatilgtn, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 23 days ago

  • ✓ Pass

    Has a licence

    Uses Apache-2.0

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for arch-diagram-mcp@1.2.0

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/apatilgtn-architecture-diagrams.svg)](https://mcp.popnx.com/en/servers/apatilgtn-architecture-diagrams)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Developer toolsi

  • More stars than 69% of the other 6136 servers in this category
  • Published to the registry more recently than 56% of the other 6136 servers in this category
  • Basic checks equal to or better than 99% of the other 6136 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Architecture Diagrams safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 23 days ago, and the latest version (1.2.0) reached the registry 23 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv), Node.js on your computer.

What can I use instead?

In the same category: GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

GitDiagram

Architecture diagrams, explanations and Mermaid source for public GitHub repositories.

by ahmedkhaleel2004Widely used★ 19KUpdated 2 months ago

Runs in the cloud✓ service owner · gitdiagram.comTried by the PopNx team

Appllama

Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.

by AppllamaWidely used★ 5.2KUpdated 3 months ago

Runs in the cloud✓ service owner · appllama.io

Repowise

Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.

by repowise-devWidely used↓ 6.5K/wk★ 8.2K Stars for the whole repoUpdated 6 days ago

Computer or cloud✓ service owner · repowise.dev
Compared with similar ones
This one
Architecture Diagrams
GitDiagramAppllamaCloudflare MCPOmnaraRepowise
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installCloud or install on your computer
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoYesNoNo
Basic checks3/34/44/44/44/45/5
LicenseApache-2.0MITMITApache-2.0Apache-2.0AGPL-3.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Architecture Diagram MCP Server

arch-diagram-mcp is an MCP server that generates, reviews and imports cloud architecture diagrams for AWS, Azure and Google Cloud. It uses the official provider icons, about 1,800 in all, including Kubernetes, on-prem and SaaS services such as PostgreSQL, Redis, Kafka and Nginx. Diagrams render through Graphviz to PNG, self-contained SVG, PDF or JPG.

You can design new architectures, or diagram what already exists: from Terraform, or straight from a running Google Cloud project's own inventory, with the real resource names, however it was created.

Quick start. Install Graphviz, then add the server to your MCP client with any of these:

FromCommand
PyPI, with uvuvx arch-diagram-mcp
PyPI, with pipxpipx install arch-diagram-mcp, then run arch-diagram-mcp
npm (launches the PyPI package through uv or pipx)npx -y arch-diagram-mcp

For example, in Claude Code: claude mcp add architecture-diagrams -s user -- uvx arch-diagram-mcp. It is also listed in the MCP Registry as io.github.apatilgtn/architecture-diagrams.

Using it as a developer? Start with the developer guide. It covers connecting Claude Code, VS Code, Cursor or Claude Desktop, on your machine or to a shared team server, and gives example prompts. The rest of this README is for running and configuring the server.

Samples

These are the bundled templates and the Terraform example, rendered exactly as the server produces them. The score is from review_architecture. Click a diagram for the full-size image.

Azure web app, hub-spoke with warm DR azure_webapp_hub_spoke , review 94 (A)

Azure AKS microservices azure_aks_microservices , review 97 (A)

AWS three-tier web app aws_three_tier , review 86 (B)

AWS serverless, event-driven aws_serverless_event_driven , review 100 (A)

GCP GKE microservices gcp_gke_microservices , review 97 (A)

GCP serverless and data platform gcp_serverless_data , review 81 (B)

Imported from Terraform diagram_from_terraform on examples/aws_plan.json , review 73 (C)

A running GCP platform, from its inventory diagram_from_inventory on a real export ( identifiers replaced ), review 67 (C)

To regenerate them, run python scripts/render_samples.py.

The server has also been tested end to end on Google Cloud: a private bucket with signed URLs, and a private Cloud Run service with two layers of auth. See docs/CLOUD_TESTING.md for how it was tested, what was checked and the bug it found.

Tools

ToolWhat it does
search_icons(query, provider?, limit?)Ranked icon search by service name or alias (ecs, s3, aks, cloud run, redis)
list_icon_categories(provider)Lists every category and service for a provider
list_templates(provider?) / get_template(id)Returns bundled reference architectures as editable specs
validate_diagram(spec)Checks a spec without rendering: icon ids (with suggestions), references, nesting cycles, limits
generate_architecture_diagram(spec)Renders the diagram; returns file paths, a JSON summary and an inline PNG preview
review_architecture(spec)Runs a heuristic Well-Architected review and returns a 0–100 score, a grade and findings with recommendations
`diagram_from_terraform(title, terraform_json \path, ...)`Builds a diagram from terraform show -json output (plan or state) or a raw .tfstate file
`diagram_from_inventory(title, inventory_json \path, projects?, regions?, labels?, ...)`Builds a diagram of resources already running in Google Cloud from a Cloud Asset Inventory export, with real names
server_info()Reports the version, Graphviz status, icon count, output directory and limits

There is also one prompt, design_architecture(provider, workload, requirements). It walks the model through choosing a template, searching icons, validating, rendering and reviewing.

Bundled templates
  • aws_three_tier
  • aws_serverless_event_driven
  • azure_webapp_hub_spoke
  • azure_aks_microservices
  • gcp_serverless_data
  • gcp_gke_microservices

Every template is tested to validate, to render, and to have no critical- or high-severity review findings.

Diagram spec
{

"title": "My App", "direction": "LR", "theme": "light", "output_formats": ["png", "svg"], "clusters": [{"id": "vpc", "label": "VPC 10.0.0.0/16"}, {"id": "app", "label": "Private subnet", "parent": "vpc"}], "nodes": [{"id": "api", "type": "aws.compute.ECS", "label": "orders-api", "cluster": "app"}], "edges": [{"source": "alb", "target": "api", "label": "HTTPS", "style": "dashed"}] }

Review rules
PillarRules
SecurityInternet → data store (critical); internet → compute without a gateway (high); no WAF; no secrets/KMS; no identity provider; data stores outside a network boundary; no egress control
ReliabilityVM without a load balancer; single region; no backup; deep synchronous call chains
Operational ExcellenceNo monitoring; no CI/CD; unconnected components
Performance EfficiencyNo CDN for public traffic; no cache layer

The rules only see what the diagram shows. Treat findings as review prompts, not proof of a misconfiguration.

Terraform import

terraform show -json plan.out > plan.json gives the best result, because the plan includes the configuration's references.

  • Mapped resources: about 140 AWS, Azure and GCP resource types become nodes.
  • Boundaries: VPC/VNet, subnet, resource group and Container Apps environment resources become nested clusters. Nodes are placed in the most specific boundary they reference, either directly or through a NIC.
  • Edges: references between resources become edges, and module outputs are resolved.
  • Inferred edges: links that pass through plumbing resources become dashed edges, oriented edge → compute → messaging → data. Plumbing resources include listeners, target groups, NICs, role assignments, Front Door origins and backend services.
  • Unmapped types: the result lists them, so you can see what was left out.
Inventory import (Google Cloud)

For infrastructure that is already running, however it was created (console, gcloud, scripts, Terraform, Pulumi), export the project's inventory and pass it to diagram_from_inventory:

gcloud asset list --project <project-id> --content-type resource \

--asset-types "$(arch-diagram-mcp --gcp-asset-types)" --format json > assets.json

--gcp-asset-types prints the 54 asset types the importer uses. Asking only for those keeps the export small: a test project went from 4.4 MB to 535 KB with the same diagram. The caller needs roles/cloudasset.viewer and the Cloud Asset API enabled.

  • Names: every node keeps its real name. A second line adds detail, such as the database version, machine type, ingress setting, replica count or cron schedule.
  • Boundaries: Project › VPC › Subnet › GKE cluster › Namespace. Shared VPC networks owned by another project are drawn under that project. Cloud Run with direct VPC egress sits in its subnet.
  • Edges from configuration:
  • Cloud SQL, secret, KMS, Pub/Sub, bucket and Redis references in annotations and environment variables;
  • URLs matched to the Cloud Run service or function that owns them (push subscriptions, Scheduler targets, env vars);
  • the load balancer chain (forwarding rule › proxy › URL map › backend › NEG, bucket or MIG), with path rules, CDN and Cloud Armor;
  • Eventarc triggers, dead-letter topics, BigQuery and Cloud Storage subscriptions, VPC connectors.
  • Noise left out: GKE system namespaces and nodes, MIG member VMs (drawn as one MIG), Cloud Functions' own Run services, build and staging buckets, routes, firewalls and RBAC objects.
  • Filters: projects and regions are hard limits. labels (for example {"app": "payments"}) selects resources plus the ones they connect to (include_neighbors, on by default).
  • Limits: calls that exist only in application code can't be seen. The result returns the spec, so you can add those edges and re-render. External hosts found in env vars are listed in external_hosts.

Accepted formats: gcloud asset list JSON (recommended), gcloud asset export newline-delimited JSON, and gcloud asset search-all-resources --read-mask='*' JSON. Azure Resource Graph and AWS inventories are planned.

Install

Requires Python 3.11+ and Graphviz.

winget install Graphviz.Graphviz        # Linux: apt install graphviz   macOS: brew install graphviz

python -m venv .venv .venv\Scripts\python -m pip install -e ".[dev]" .venv\Scripts\python -m pytest # 85 tests

Register with Claude Code (stdio)
claude mcp add architecture-diagrams -s user `

-e ARCH_DIAGRAM_OUTPUT_DIR=C:\Devops-Projects\Architecture-diagram-

Only the beginning is shown; read the rest in the repo