
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
StarUMLは、アジャイルと簡潔なモデリングのための洗練されたモデラーです。 StarUMLの図形から図形を作成したり、図形を生成したりすることができます.
概要
StarUMLは、アジャイルと簡潔なモデリングのための洗練されたモデラーです。 StarUMLの図形から図形を作成したり、図形を生成したりすることができます。 - StarUML v7.0.0以上 - Node.js v22以上 Claude Desktopで claude desktop config.json を以下のように設定します。 --api-port= オプションを使用して、StarUML の API サーバーポートを変更できます。 - 「StarUMLのブックストア用のクラス図を作成する」 - 「StarUMLのOAuth認証のシーケンス図を作成する」 - 「StarUMLの現在のERD図からSQL DDLを生成する」 - get diagram - get current diagram info - get all diagrams info - get diagram image by id - python image by id - python html 1。 このリポジトリをクローンします。 2. npm run build でビルドします。 3. Claude Desktopで claude desktop config.json を以下のように更新します。 4. Claudeデスクトップを再起動します.
概要(AI 翻訳)
StarUMLは、アジャイルと簡潔なモデリングのための洗練されたモデラーです。 StarUML MCP Server では、StarUML の図形から図形を作成したり、コードを生成したりすることができます。
セットアップ
前提条件:
- StarUML
v7.0.0以上 - Node.js
v22以上
次のようにClaude Desktopでclaude_desktop_config.jsonを設定してください。
--api-port= オプションを使用して、StarUMLのAPIサーバーポートを変更できます。
サンプルプロンプト
- 「StarUMLのブックストアのクラス図を作成」
- 「StarUMLでOAuth認証のシーケンス図を作成」
- “StarUMLの現在のERD図からSQL DDLを生成する”
ツール
- [
generate_diagram - [
get_current_diagram_info - [
get_all_diagrams_info - [
get_diagram_image_by_id
デベロッパー
1。 このリポジトリをクローンします。
2. [npm run buildでビルドします。
3. Claudeデスクトップでclaude_desktop_config.jsonを更新します。
4. Claudeデスクトップを再起動します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
StarUML MCP Server
StarUML is a sophisticated modeler for agile and concise modeling. StarUML MCP Server is a Model Context Protocol server that lets AI assistants such as Claude work with StarUML: create diagrams from prompts, read the diagrams in the current project, see diagram images, and query or modify models with scripts (e.g. generate code from diagrams).
How It Works
StarUML runs a local API server (http://127.0.0.1:58321 by default). StarUML MCP Server is a small Node.js program that the AI client runs over stdio, and it translates each MCP tool call to a request to the StarUML API server.
AI client (Claude Desktop, Claude Code, ...) ──stdio──▶ StarUML MCP Server ──HTTP──▶ StarUML (API server)
StarUML must be running with a project open while you use the tools.
Requirements
Use the version of StarUML MCP Server matching your StarUML:
| StarUML | StarUML MCP Server |
|---|---|
v8 |
0.3.x (latest) |
v7 |
0.1.0 |
Setup
Claude Desktop
Add the server to claude_desktop_config.json (Settings > Developer > Edit Config) and restart Claude Desktop:
{
"mcpServers": {
"staruml-mcp-server": {
"command": "npx",
"args": ["-y", "staruml-mcp-server"]
}
}
}
For StarUML v7, use [email protected] instead of staruml-mcp-server.
Claude Code
claude mcp add staruml -- npx -y staruml-mcp-server
Other MCP Clients
Any MCP client that supports stdio servers can run the server with the command npx -y staruml-mcp-server.
Options
--api-port=: Port of the StarUML API server (default:58321). Use it when you change the port in StarUML.
{
"mcpServers": {
"staruml-mcp-server": {
"command": "npx",
"args": ["-y", "staruml-mcp-server", "--api-port=60000"]
}
}
}
StarUML Settings
In StarUML v8.1.0 or higher, the API server is configured in Preferences > API Server (restart StarUML after changing them):
- Run on Start: Run the API server when StarUML starts (default: on).
- Port: Port number of the API server (default:
58321). If you change it, pass the same port with--api-port.
The API server listens on the loopback address (127.0.0.1) only, so it cannot be reached from other machines.
API Access
With StarUML v8, when the MCP server calls StarUML for the first time, StarUML asks you to allow API access for “StarUML MCP Server”. Click Allow to continue. The access is kept until StarUML is restarted, and StarUML asks again after a restart (the MCP server requests a new access automatically).
StarUML v7 does not ask for API access.
Tools
インストール
npx -y staruml-mcp-server設定
{
"mcpServers": {
"staruml-mcp-server": {
"command": "npx",
"args": ["-y", "staruml-mcp-server"]
}
}
}