
UML Forge
io.github.dave1362由 GitHub 帳號 dave1362 發布v0.4.0更新於 Oct 28, 2026
Architecture intelligence, security analysis, and living docs. 15 tools, Mermaid output.
概覽
UML Forge 為編碼助理提供 15 個工具,可從程式碼、資料庫結構或描述產生 UML 與架構圖、威脅模型和活文件。
- 可以做什麼
- 用自然語言描述目標,推薦合適的繪圖工具並給出可直接執行的呼叫
- 從程式碼庫或 GitHub 網址反向產生類別圖、循序圖和狀態圖
- 依領域描述或 SQL 結構產生 ER 圖,依業務規則產生狀態機
- 繪製前端元件、部署與 CI/CD、事件驅動以及 AI 代理拓撲圖
- 產生 STRIDE 威脅模型、面向利害關係人的 C4 脈絡圖、新人上手包和遺留系統遷移路線圖
- 依衝刺或 PR 變更更新既有圖表,可選擇附上書面分析報告,並取回耗時工作的產生結果
- 適用情境
- 適合想依現有程式碼庫、資料庫結構或文字描述自動產出架構與設計圖、而不想手繪的情況;也適合需要安全威脅模型、面向非技術利害關係人的脈絡圖,或遺留系統遷移方案的場合。
- 執行需求
- 以本機 Python 套件形式執行(需 Python 3.11+),透過 uvx 啟動。需要 UML Forge API 金鑰,以環境變數 UMLFORGE_API_KEY 提供,有免費額度。需能連線至 UML Forge 服務。可選擇設定 UMLFORGE_WAIT_SECONDS 調整等待時間。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 UML Forge,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
UML Forge MCP Connector
Architecture intelligence, security analysis, and living documentation — inside your coding agent.
UML Forge gives Claude Code, Cursor, Windsurf, and any
MCP-compatible coding agent a suite of 15 tools (14 diagram tools plus umlforge_get_result) for producing
professional UML diagrams from your codebase, schema, or architecture
descriptions.
Quick start
Claude Code:
Cursor / Windsurf — add the same block to your MCP settings.
Get your API key at umlforge.dev.
Tools included
All diagram tools accept report_mode=True to generate a written analysis report
alongside the diagram. Leave report_mode unset to follow your account's saved
preference (the dashboard toggle); report_mode=False forces diagrams only.
Long-running generations
A detailed diagram can take a minute or two, and some MCP clients cancel any tool
call after about 60 seconds. UML Forge tools therefore wait up to 45 seconds for the
result. If a diagram is still generating, the tool replies with a job id and
umlforge_get_result retrieves it when it is ready (results are kept for one hour).
Clients with longer timeouts can wait longer by setting UMLFORGE_WAIT_SECONDS
(5-200) in the env block of your MCP configuration.
Requirements
- Python 3.11+
- An API key from umlforge.dev (free tier available)
License
MIT — see LICENSE.
來源:README.md,提交 fbb4675
工具
0版本歷史
3- v0.4.0最新Oct 17, 2026
- v0.3.0Oct 16, 2026
- v0.2.2Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分