AU

antoinebou12/uml-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

110 stars 29 forks 质量 86 趋势 36MIT

antoinebou12/uml-mcp 是从 https://github.com/antoinebou12/uml-mcp. 导入的 MCP 服务器候选

概览

antoinebou12/uml-mcp 是从 https://github.com/antoinebou12/uml-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

**UML-MCP为AI助手提供了一个真正的图表工具,而不是让它在Markdown中伪造图表。**通过MCP连接一次,然后请求类图、时序图、架构视图、美人鱼流程图、D2图、BPMN进程或其他Kroki支持的格式。服务器会验证源代码,渲染它,并返回URL、游乐场链接或内联图片。

它也作为面向代理的产品构建模块。当代理需要图表工具时使用MCP,前端需要标准事件流时使用AG-UI,产品应将模型输出转化为交互式、应用拥有的UI组件时使用OpenUI。这些层相互补充;UML-MCP专注于图表生成。

现场MCP https://uml-mcp.vercel.app/mcp
文档antoinebou12.github.io/uml-mcp
目录 ~37个Kroki支持类型 ·5个MCP工具 ·URL + playground + 聊天 PNG
代理界面 MCP /mcp ·规范的AG-UI /ag-ui ·OpenUI集成指南
安装 python scripts/install.py ·uv tool install uml-mcp && uml-mcp setup ·安装

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

UML-MCP

UML-MCP is a Model Context Protocol (MCP) server for creating and validating diagrams. It supports UML, Mermaid, D2, BPMN, architecture views and other Kroki-backed formats. Connect an MCP client, provide diagram source or describe what you need, and receive a rendered image, URL or editable playground link.

For application development, MCP exposes diagram tools to agents, AG-UI provides a standard event stream for frontends, and OpenUI turns model output into interactive components owned by your application.

在 GitHub 查看完整 README

安装

docker run -i uml-mcp python server.py --transport stdio
新手?先看 mcpskill.org 教程 →