1 v1.2.0 更新于 2026-10-27

Architecture Diagrams MCP Server

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

适用客户端

本地客户端
Claude Desktop、Claude Code、Cursor、Cline 等支持本地 MCP 的客户端

安装配置

本地运行(pypi)
{
  "mcpServers": {
    "architecture-diagrams": {
      "command": "uvx",
      "args": [
        "arch-diagram-mcp"
      ]
    }
  }
}
本地运行(npm)
{
  "mcpServers": {
    "architecture-diagrams": {
      "command": "npx",
      "args": [
        "-y",
        "arch-diagram-mcp"
      ]
    }
  }
}

将上方 JSON 加入 MCP 客户端配置(如 Claude Desktop 的 claude_desktop_config.json 或项目的 .mcp.json)即可接入;远程接入按客户端要求填写 URL 与鉴权头。

提供的工具 接入后 Agent 可调用这 10 个工具

search_icons
按服务名或别名进行图标排序搜索
list_icon_categories
列出某云厂商的所有图标类别和服务
list_templates
返回内置的参考架构模板列表
get_template
按 ID 获取可编辑的架构模板规格
validate_diagram
在不渲染的情况下校验架构规格(图标 ID、引用、嵌套循环、限制)
generate_architecture_diagram
渲染架构图并返回文件路径、JSON 摘要和内联 PNG 预览
review_architecture
运行启发式 Well-Architected 评审,返回 0-100 分数、等级和改进建议
diagram_from_terraform
从 terraform show -json 输出或 .tfstate 文件生成架构图
diagram_from_inventory
从 Google Cloud Cloud Asset Inventory 导出生成实际运行资源的架构图
server_info
报告服务器版本、Graphviz 状态、图标数量、输出目录和限制