AI Diagram & Prototype GeneratorCAUTION
AI Diagram & Prototype File Generator (MCP Server)
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
dca0381553adOBSERVED · 2026-10-07Connect
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 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{
"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}"
}
}
}
}Exposed tools (3)
3 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
generate_diagram | read | 当用户的核心意图是【绘制、画出、创建、生成】一个【图表、架构图、流程图、原型图、产品设计所需的各种图表】时,调用此工具。它能生成draw.io文件、HTML原型、svg图表等。提示,如果用户需要生成svg图表,文件生成后,务必告诉用户可以通过 https://www.jyshare.com/more/svgeditor/ 网站对刚才生成的文件进行编辑修改。 |
get_local_directory_path | read | 当需要获取用户电脑上的具体文件夹路径(如桌面、文档/文稿、下载)来保存文件时,调用此工具。 |
list_supported_tools | read | 当你或用户需要知道”有什么工具可以帮到忙”或”这些工具能做什么”或“你支持哪些图表类型”时,调用此工具来展示能力列表。 |
Trust audit
CAUTIONgrade B · trust 89/100 Install with care. The audit found things worth knowing before you trust its output.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | FAIL |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (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)
- MxGraph语法:https://jgraph.github.io/mxgraph/docs/tutorial.html
python-dotenv, mcp, openai, zhipuai
example/会议管理系统APP原型.png
Gates applied: no_behavioural_pass.
dca0381553adfull audit observations/trust-audit/mcp-server/simonutd__ai-diagram-prototype-generator.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | dca0381553ad | CAUTION | B | 89 | first audit |
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.