Atlas / MCP servers / simonutd / AI Diagram & Prototype Generator

AI Diagram & Prototype GeneratorCAUTION

mcp/simonutd/ai-diagram-prototype-generator

AI Diagram & Prototype File Generator (MCP Server)

Verdict
CAUTION
Grade
B
Trust score
89 /100
Exposed tools
3 3r · 0w · 0d
Transport
stdio
License
MIT
Stars
69
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

一个专业的、AI驱动的图表与原型绘制MCP服务器。它深度集成了智谱AI、OpenAI、Gemini等多种大语言模型,能够根据自然语言描述,智能生成多种风格的 draw.io 格式图表和 HTML 交互式产品原型。

✨ 功能特性 (Features)

  • 🤖 AI 驱动生成:内置多种强大的AI模型,智能理解复杂需求。
  • 🎨 多图表类型:不仅能画架构图、流程图,还能生成多种风格的UI/UX原型。
  • 📱 风格化原型 (Styled Prototypes):内置苹果HIG、微信小程序等专业设计规范,一句话生成“苹果味”或“微信味”的精准原型。
  • 🧊 动态提示词系统:独创的(意图+格式)组合式提示词系统,精确、稳定地指导AI进行创作。
  • 🔧 Draw.io & HTML 兼容:可生成 .drawio 文件用于二次编辑,或生成可直接运行的 .html 文件进行交互演示。
  • 🤝 MCP 协议:基于 Model Context Protocol,可无缝与支持MCP的AI助手(如OpenAI的Assistants、Coze、Dify、各种IDE插件等)集成。

基础生成工具 (Basic Generation Tools)

这些是构成工作流的原子能力,也可以单独调用。

🚀 效果

以下范例通过chatwise 配合本mcp,使用glm-4.5模型生成

对话过程

生成的架构图

生成的业务流程图

生成的APP原型

生成的用户画像

生成的用户故事地图

生成的用户旅程图

生成的同理心图

⚙️ 安装与配置

1\. 环境要求

  • Python 3.10+
  • pip 或 uv 等Python包管理工具
  • 支持 MCP 的 AI 客户端(如 Coze, Dify, 或其他兼容的Agent)

2\. 安装依赖

# 1. 克隆项目
git clone https://github.com/SimonUTD/A
Read from source at commit dca0381553adOBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add AI-Diagram-Prototype-Generator-MCP-Server --env GEMINI_API_KEY=${GEMINI_API_KEY} --env OPENAI_API_KEY=${OPENAI_API_KEY} --env ZHIPUAI_API_KEY=${ZHIPUAI_API_KEY} -- uvx AI-Diagram-Prototype-Generator-MCP-Server
claude-desktop
{
  "mcpServers": {
    "AI-Diagram-Prototype-Generator-MCP-Server": {
      "command": "uvx",
      "args": [
        "AI-Diagram-Prototype-Generator-MCP-Server"
      ],
      "env": {
        "GEMINI_API_KEY": "${GEMINI_API_KEY}",
        "OPENAI_API_KEY": "${OPENAI_API_KEY}",
        "ZHIPUAI_API_KEY": "${ZHIPUAI_API_KEY}"
      }
    }
  }
}
03

Exposed tools (3)

3 read · 0 write · 0 destructive.

ToolRiskDescription
generate_diagramread当用户的核心意图是【绘制、画出、创建、生成】一个【图表、架构图、流程图、原型图、产品设计所需的各种图表】时,调用此工具。它能生成draw.io文件、HTML原型、svg图表等。提示,如果用户需要生成svg图表,文件生成后,务必告诉用户可以通过 https://www.jyshare.com/more/svgeditor/ 网站对刚才生成的文件进行编辑修改。
get_local_directory_pathread当需要获取用户电脑上的具体文件夹路径(如桌面、文档/文稿、下载)来保存文件时,调用此工具。
list_supported_toolsread当你或用户需要知道”有什么工具可以帮到忙”或”这些工具能做什么”或“你支持哪些图表类型”时,调用此工具来展示能力列表。
04

Trust audit

CAUTIONgrade B · trust 89/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)FAIL
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (3)

HIGHPrompt injection · prompt.zero_width · CWE-94, CWE-1427
standardFileTemplate/drawio.md:67
- MxGraph语法:https://jgraph.github.io/mxgraph/docs/tutorial.html
Why it matters. invisible characters in instruction text
Fix. strip non-printing characters
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
python-dotenv, mcp, openai, zhipuai
Why it matters. 4 requirement(s) not pinned with ==
Fix. pin exact versions
INFOInventory / provenance · inv.oversize · CWE-1104
example/会议管理系统APP原型.png
example/会议管理系统APP原型.png
Why it matters. 1642303 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha dca0381553adfull audit observations/trust-audit/mcp-server/simonutd__ai-diagram-prototype-generator.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-07dca0381553adCAUTIONB89first audit
06

Questions

What is the AI Diagram & Prototype Generator MCP server?

AI Diagram & Prototype File Generator (MCP Server)

What tools does AI Diagram & Prototype Generator expose?

3 in total: 3 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is AI Diagram & Prototype Generator safe to connect to an agent?

With care. The audit graded it B (89/100) and found 3 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does AI Diagram & Prototype Generator need?

It reads GEMINI_API_KEY, OPENAI_API_KEY and ZHIPUAI_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does AI Diagram & Prototype Generator run?

It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as AI-Diagram-Prototype-Generator-MCP-Server.

How current is this page?

The grade is for one exact copy of the source (dca0381553ad), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement