TA

takaakit/astah-pro-mcp

开发工具

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

23 stars 7 forks 质量 67 趋势 24

这是一个本地MCP服务器,作为Astah Professional(UML建模工具)的插件运行。

概览

Astah Professional(UML建模工具)的本地MCP服务器插件,使AI代理能够: - 设计系统并以UML模型表示。- 解释UML模型。- 从UML模型生成源代码,反之亦然。- 从手绘草图创建UML图。 该插件实验性地实现了程序化工具调用模式,灵感来自这篇 Anthropic 文章中描述的理念。 提示:设计一个简单的图书馆管理系统,并在Astah中绘制一个类图以说明其结构。基于Astah模型的内容,绘制序列图以说明借书的行为。基于Astah模型的内容,绘制活动图以说明归还书籍的行为。基于Astah模型的内容,绘制一个状态机图,展示书籍的状态转变。 型号:Opus 5.5 / 努力:中等 / 总时长:约15分钟 模型:GPT-6 Astra / 努力:中等 / 总时间:约

概述(AI 翻译)

Astah Professional(UML建模工具)的本地MCP服务器插件,使AI代理能够:

  • 设计系统并以UML模型表示。
  • 解释UML模型。
  • 从 UML 模型生成源代码,反之亦然。
  • 从手绘草图创建UML图。

该插件实验性实现了程序化工具调用模式,灵感来自本文中描述的**“程序化工具调用”**理念。

演示

主题:ATM系统 设置:Astah Pro v12.0 / Astah Pro MCP v0.3.3

提示:

  • I. 设计一个简单的ATM系统,并在Astah中绘制类别图以说明其结构。系统应支持客户认证、余额查询、现金取款和资金转移。
  • II. 根据Astah模型的内容,绘制序列图以说明取款行为。
  • III. 基于Astah模型的内容,绘制活动图以说明账户间资金转移的行为。
  • IV. 根据Astah模型的内容,绘制状态机图以说明ATM会话的状态转移。

克劳德·科德

**作品5。

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

README

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

Astah Pro MCP: Enabling AI-Powered UML Modeling

A local MCP server plugin for Astah Professional, a UML modeling tool, that enables AI agents to:

  • Design systems and represent them as UML models.
  • Explain UML models.
  • Generate source code from UML models, and vice versa.
  • Create UML diagrams from hand-drawn sketches.

This plugin experimentally implements a programmatic tool calling mode, inspired by the “Programmatic Tool Calling” idea described in this Anthropic article.

Demo

Topic: ATM system
Setup: Astah Pro v12.0 / Astah Pro MCP v0.3.3

Prompts:

  • I. Design a simple ATM system and draw a class diagram in Astah to illustrate its structure. The system should support customer authentication, balance inquiry, cash withdrawal, and funds transfer.
  • II. Based on the contents of the Astah model, draw a sequence diagram to illustrate the behavior of withdrawing cash.
  • III. Based on the contents of the Astah model, draw an activity diagram to illustrate the behavior of transferring funds between accounts.
  • IV. Based on the contents of the Astah model, draw a state machine diagram to illustrate the state transitions of an ATM session.

Claude Code

Opus 5.5 (medium) / Total time: approx. 13 min

Antigravity CLI

Gemini 4 Argon (medium) / Total time: approx. 114 min

I
II
III
IV
在 GitHub 查看完整 README

安装

npx -y mcp-remote http://127.0.0.1:8888/mcp --allow-http
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "apm": { "serverUrl": "http://127.0.0.1:8888/mcp" } } }