
AI Diagram Maker
io.github.erajasekar由 GitHub 帳號 erajasekar 發布v1.0.0更新於 Oct 24, 2026
Generate software diagrams from natural language, code, ASCII, images, Mermaid.
發布方自己的服務:Diagram
概覽
透過 AI Diagram Maker 服務,把自然語言、JSON、ASCII、圖片或 Mermaid 轉成軟體圖(流程圖、時序圖、ERD、架構圖、UML)。
- 可以做什麼
- 依自然語言描述生成圖,可指定圖類型與樣式提示
- 把 JSON 結構(例如 API 回應、資料庫結構、設定檔)轉成圖
- 把 ASCII 圖或白板照片、截圖、圖片連結轉成乾淨的圖
- 把 Mermaid 原始碼轉換為 D2 並回傳 PNG 圖片
- 在回覆中提供圖的連結,並可在對話中內嵌呈現
- 適用情境
- 適合在 Cursor、Claude Desktop、Claude Code 等 MCP 用戶端中邊工作邊請助理繪製架構圖、時序圖、ERD 或 UML 圖,也適合把既有的 Mermaid、JSON 或白板圖片整理成正式圖表。
- 執行需求
- 可使用託管的 HTTP 端點(免安裝),或以 npx 執行本機 npm 套件,需要 Node.js 18+。需要 AI Diagram Maker 帳號與 API 金鑰:HTTP 方式透過 X-ADM-API-Key 或 Authorization Bearer 標頭傳送,stdio 方式則以環境變數 ADM_API_KEY 提供。需要能連線至該服務的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 AI Diagram Maker,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
AI Diagram Maker MCP Server
MCP server for AI Diagram Maker — generate beautiful software engineering diagrams directly inside Cursor, Claude Desktop, Claude Code, or any MCP-compatible AI agent.
- ai-diagram-maker-mcp 🌐 ☁️ - Generate professional software diagrams from plain English descriptions. [erajasekar/ai-diagram-maker-mcp MCP server]
Features
- 5 tools covering every input type: natural language text, code, ASCII diagram, images, and Mermaid
- Inline rendering — diagrams appear directly in the chat using MCP Apps UI, no downloads
- Diagram URL in responses — open it in your browser to view and edit the diagram
- 5 diagram types: flowchart, sequence, ERD, system architecture, UML
- Supports both stdio (local) and HTTP/Streamable HTTP (remote) transports
Contents
- Prerequisites
- Hosted MCP server
- Installation
- MCP client configuration
- Environment variables
- Tools
- Trigger keywords
- Local developer setup
- License
Prerequisites
- Node.js 18+
- An AI Diagram Maker account and API key
Hosted MCP server
The public MCP endpoint is https://mcp.aidiagrammaker.com/mcp (Streamable HTTP). Nothing to install for this option.
Authentication (HTTP)
For remote HTTP clients, send your API key on every request — not via environment variables:
X-ADM-API-Key: <your_api_key>(recommended), orAuthorization: Bearer <your_api_key>
Use the API key from your AI Diagram Maker account (see Prerequisites).
Remote server JSON example
Merge this into your client’s MCP config (replace the API key placeholder):
Installation
Option A — hosted server (recommended)
Use the remote server JSON example above and wire it into your client using MCP client configuration. No global install.
Option B — run locally with npx
Nothing to install permanently — npx runs the package on demand. The package name is ai-diagram-maker-mcp; append @latest if you want every invocation to resolve the newest release (recommended for one-off runs and claude mcp add).
MCP client configuration
Cursor
Remote (recommended)
Add to ~/.cursor/mcp.json or Settings → MCP using the remote server JSON example. No environment variables are required for this setup.
Local (stdio)
Optional: add "ADM_DEBUG": "1" to env for debug logging — see Environment variables.
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Claude Code
macOS
Windows
HTTP transport (local or self-hosted)
To run an HTTP server yourself (same header-based auth as Authentication (HTTP)):
The server listens on $PORT or 3001. Point clients at /mcp and send the API key with each request using the headers above.
Environment variables
Tools
generate_diagram_from_text
Generate a diagram from a natural language description.
Example prompts:
- "Create a microservices architecture with API gateway, auth service, user service, and PostgreSQL database"
- "Draw a sequence diagram for user login flow with JWT token generation"
- "adm show the CI/CD pipeline for a Next.js app deployed to Vercel"
generate_diagram_from_json
Convert a JSON structure into a diagram (great for API responses, database schemas, config files).
generate_diagram_from_ascii
Convert ASCII art into a polished diagram.
generate_diagram_from_image
Convert a whiteboard photo, screenshot, or any image into a clean diagram.
generate_diagram_from_mermaid
Convert a Mermaid diagram definition to D2 and return a PNG image.
Trigger keywords
The AI agent will automatically select the right tool when you use phrases like:
adm ...ai diagram maker ...create a diagram of ...show me a flowchart / sequence diagram / ERD / architecture ...visualise / draw / diagram ...
Local developer setup
Use these steps to clone the repo, build locally, and run the MCP server with Node.
1. Clone the repository
2. Install dependencies
3. (Optional) Regenerate API client
If you change the AI Diagram Maker OpenAPI spec or config, regenerate the client:
4. Build
This compiles TypeScript and builds the MCP app UI into dist/. The server entrypoint is dist/index.js.
5. Run the local MCP server
stdio (default) — for use with Cursor, Claude Desktop, etc.:
Or use the npm script:
HTTP transport — for remote clients or testing (same headers as Authentication (HTTP)):
Or:
The HTTP server listens on $PORT (default 3001).
6. Use the local server in Cursor
Point Cursor at your built server via Settings → MCP (or ~/.cursor/mcp.json):
Replace /absolute/path/to/ai-diagram-maker-mcp with the actual path to your cloned repo. After changing the config, restart Cursor or reload the MCP servers.
For debug logging, add "ADM_DEBUG": "1" to env — see Environment variables.
License
MIT
來源:README.md,提交 f24e513
工具
0版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Diagram 整合

Diagram
la.diagram官方發布者
儲存助理繪製的圖,並回傳可分享的連結,圖被編輯後該連結仍保持有效。
NativeDiagram
由 GitHub 帳號 ChanMo 發布
一個遠端 MCP 伺服器,讓助理為 Microsoft Word 和 PowerPoint 建立原生、可編輯的 SmartArt 圖表。

Network Diagram Mcp
由 GitHub 帳號 den-indance 發布
本機橋接服務,讓 AI 助理在 NetMap 瀏覽器應用中建立與編輯網路拓撲圖,並支援 nmap 與 CSV 匯入。
VoltPlan Wiring Diagrams
由 GitHub 帳號 YUZU-Hub 發布
為露營車、船隻與離網系統計算 12V/24V/48V 電力系統選型,並產生可在編輯器中開啟的配線圖。

Vaults Diagram Tools
由 GitHub 帳號 Malnati 發布
一個本機 stdio MCP 伺服器,讓助理把 Mermaid 圖表算繪成 SVG/JPEG 資產,並從原始碼產生 Mermaid 圖表。