
Eclipse PDE 插件,适用于 Archi,通过 MCP 协议暴露 ArchiMate 模型,使大型语言模型能够查询、分析和修改企业架构模型
概览
一款适用于Archi的Eclipse偏微分方程插件,通过模型上下文协议(MCP)暴露ArchiMate模型,使LLM能够通过自然语言查询、分析和修改企业架构模型。 Archi MCP 服务器在 Archi 内部嵌入了一个使用 MCP 的 HTTP 服务器。运行后,任何兼容 MCP 的 LLM 客户端(如 Claude、Cline、LM Studio 等)都可以连接并与当前开放的 ArchiMate 模型交互——提问、搜索元素、遍历关系、绘制视图图,甚至创建或修改模型内容。 服务器提供查询、搜索、创建、布局、路由、评估、批处理、图像、专业化等多种功能——此外还附有 ArchiMate 参考资料、工作流程指南和面向大型语言模型的视角配方库。 “哪些应用支持客户门户功能?”搜索元素,穿越关系,返回:“7个应用程序支持客户门户:OrderService、PaymentGateway,......
概述(AI 翻译)
一款适用于Archi的Eclipse偏微分方程插件,通过模型上下文协议(MCP)暴露ArchiMate模型,使LLM能够通过自然语言查询、分析和修改企业架构模型。
它的作用
Archi MCP 服务器在 Archi 内部嵌入了一个使用 MCP 的 HTTP 服务器。运行后,任何兼容 MCP 的 LLM 客户端(如 Claude、Cline、LM Studio 等)都可以连接并与当前开放的 ArchiMate 模型交互——提问、搜索元素、遍历关系、绘制视图图,甚至创建或修改模型内容。
服务器提供70个MCP工具,涵盖查询、搜索、创建、布局、路由、评估、批处理、图像、专业化等——此外还有14个MCP资源,包含ArchiMate参考资料、工作流程指南和LLM视角配方库。
示例对话:
你: “哪些应用程序支持客户门户功能?”
LLM: 搜索元素,穿越关系,返回:“7个应用程序支持客户门户:OrderService、PaymentGateway 等”
要求
| 需求 | 版本 |
|---|---|
| 阿基 | 5.7+ |
| 爪哇 | 21+ |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Archi MCP Server
An Eclipse PDE plugin for Archi that exposes ArchiMate models through the Model Context Protocol (MCP), enabling LLMs to query, analyse, and modify enterprise architecture models through natural language.
What It Does
Archi MCP Server embeds an HTTP server inside Archi that speaks MCP. Once running, any MCP-compatible LLM client (Claude, Cline, LM Studio, etc.) can connect and interact with the currently open ArchiMate model — asking questions, searching elements, traversing relationships, composing view diagrams, and even creating or modifying model content.
The server provides 70 MCP tools across querying, searching, creating, layout, routing, assessment, batch operations, images, specializations, and more — plus 14 MCP resources with ArchiMate reference material, workflow guides, and a viewpoint recipe library for LLMs.
Example conversation:
You: “What applications support the Customer Portal capability?”
LLM: Searches elements, traverses relationships, and returns: “7 applications support Customer Portal: OrderService, PaymentGateway, …”
Requirements
| Requirement | Version |
|---|---|
| Archi | 5.7+ |
| Java | 21+ |
| An MCP-compatible LLM client | Claude CLI, Cline, LM Studio, etc. |
LLM model size recommendation: 8B+ parameters minimum, 14B+ for reliable tool calling, 70B+ for complex view composition workflows.
Installation
- Download the latest
.archipluginfrom the Releases page (or thebin/directory for pre-built artifacts) - In Archi: Help > Manage Plug-ins > Install New… or copy to Archi’s
dropins/folder - Restart Archi
Getting Started
1. Start the Server
Open an ArchiMate model in Archi, then:
Menu: MCP Server > Start MCP Server
The MCP Server entry in Archi’s menu bar has three items:
| Menu item | What it does |
|---|---|
| Start MCP Server | Starts the embedded server; toggles to Stop MCP Server while running. |
| Approval Mode | Checkable toggle for the human-owned approval gate. When on, the agent’s changes queue for your review instead of applying immediately — see Mutation Safety. |
| Pending approvals (N) | Opens the Pending Approvals dock view; N is the live count of changes awaiting your decision. |
Server behaviour (port, bind address, TLS, authentication, …) is configured separately under Window > Preferences > MCP Server — see Configuration. The default endpoint is http://127.0.0.1:18090.
2. Configure Your LLM Client
Claude Code (CLI)
In your project’s .mcp.json or ~/.claude.json:
{
"mcpServers": {
"archi": {
"type": "http",
"url": "http://127.0.0.1:18090/mcp"
}
}
}
Or via the CLI:
claude mcp add --transport http archi http://127.0.0.1:18090/mcp
安装
uvx mcp-proxy --transport streamablehttp http://127.0.0.1:18090/mcp配置
{
"mcpServers": {
"archi": {
"type": "http",
"url": "http://127.0.0.1:18090/mcp"
}
}
}