Logo MCP ArchiMate 服务器

MCP ArchiMate 服务器

Cộng đồng
RMRanjit

This is an MCP (Model Context Protocol) server for ArchiMate 3.2 diagram generation. The server creates Mermaid and Draw.io diagrams from ArchiMate elements and relationships, with validation against the ArchiMate 3.2 specification.

Nhà phát hànhRMRanjit
Kho mãmcp-Archimate
Ngôn ngữTypeScript
Bản fork
3
Sao
11
Công cụ có sẵn
5
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    MCP ArchiMate 服务器 cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 5 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    11 sao và 3 bản fork từ kho mã được liên kết.

@null-pointer/mcp-archimate

npm version License: MIT

A Model Context Protocol (MCP) server that generates ArchiMate 3.2 enterprise architecture diagrams. This server enables AI assistants like Claude to create, validate, and visualize ArchiMate models through natural language interactions.

What is ArchiMate?

ArchiMate is an open standard for enterprise architecture modeling that provides a visual language for describing, analyzing, and communicating enterprise architectures. It covers business, application, technology, and implementation domains across multiple architectural layers.

Features

  • Complete ArchiMate 3.2 Support: All 55+ element types across 7 architectural layers
  • Intelligent Validation: Ensures diagram compliance with ArchiMate 3.2 specification
  • Mermaid Diagram Generation: Creates beautiful, shareable diagrams
  • ArchiMate XML Export: Generates ArchiMate 3.0 Open Exchange Format XML
  • Case-Insensitive Operations: Flexible element and relationship naming
  • MCP Integration: Seamless integration with Claude Desktop and other MCP clients

Quick Start

Installation

Install the package globally to use as an MCP server:

bash
npm install -g @null-pointer/mcp-archimate

Or install locally in your project:

bash
npm install @null-pointer/mcp-archimate

Running the MCP Server

Start the server directly:

bash
npx -y @null-pointer/mcp-archimate

Or if installed globally:

bash
mcp-archimate

Prerequisites

  • Node.js (v16 or higher)

Claude Desktop Integration

  1. Locate your Claude Desktop config file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the MCP server configuration:

    json
    {
      "mcpServers": {
        "archimate": {
          "command": "npx",
          "args": ["-y", "@null-pointer/mcp-archimate"]
        }
      }
    }

    Or if installed globally:

    json
    {
      "mcpServers": {
        "archimate": {
          "command": "mcp-archimate"
        }
      }
    }
  3. Restart Claude Desktop to load the new MCP server

Available Tools

The MCP server provides four main tools:

1. generate_archimate_diagram

Creates Mermaid diagrams from ArchiMate elements and relationships.

2. validate_archimate_model

Validates models against ArchiMate 3.2 specification rules.

3. list_archimate_elements

Lists available element types, optionally filtered by layer.

4. list_archimate_relationships

Lists all available relationship types.

Usage Examples

Basic Business Process Diagram

Prompt: "Create an ArchiMate diagram showing a customer ordering process with a customer actor, ordering process, and order management application"

Expected Output: A Mermaid diagram showing:

  • Business Actor (Customer)
  • Business Process (Ordering Process)
  • Application Component (Order Management System)
  • Appropriate relationships between them

Application Architecture

Prompt: "Design an e-commerce application architecture with a web interface, API service, database, and payment gateway"

Expected Elements:

  • Application Interface (Web UI)
  • Application Service (API Service)
  • Data Object (Customer Data, Order Data)
  • Technology Service (Payment Gateway)
  • Node (Database Server)

Technology Infrastructure

Prompt: "Show me the technology infrastructure for a cloud-based system with load balancer, web servers, application servers, and database cluster"

Expected Elements:

  • Device (Load Balancer)
  • Node (Web Servers, App Servers)
  • Technology Service (Database Service)
  • Technology Collaboration (Cluster Communication)

Sample Prompts for Claude

Here are effective prompts to use with Claude when the MCP server is configured:

Discovery and Learning

"What ArchiMate elements are available in the business layer?"
"Show me all the relationship types I can use"
"What's the difference between a business process and business function?"

Simple Diagrams

"Create a basic ArchiMate diagram showing how users interact with a mobile app"
"Design a simple business process diagram for customer onboarding"
"Show me the technology stack for a typical web application"

Complex Scenarios

"Create an ArchiMate model for a digital banking transformation showing business processes, applications, and technology infrastructure"

"Design an enterprise architecture diagram for a retail company showing customer journey, supporting applications, and underlying technology"

"Model a cloud migration scenario showing current on-premise architecture and target cloud architecture"

Validation and Analysis

"Validate this ArchiMate model and tell me if there are any specification violations"
"Check if a business actor can have a realization relationship with an application service"
"What relationships are valid between a business process and application component?"

ArchiMate Layers and Elements

Motivation Layer

Elements for describing stakeholder concerns, goals, and requirements

  • Stakeholder, Driver, Assessment, Goal, Outcome, Principle, Requirement, Constraint

Strategy Layer

Elements for strategic planning and capability modeling

  • Resource, Capability, Value Stream, Course of Action

Business Layer

Elements for business processes, actors, and services

  • Business Actor, Business Role, Business Collaboration, Business Interface, Business Process, Business Function, Business Interaction, Business Event, Business Service, Business Object, Contract, Representation, Product

Application Layer

Elements for application components and services

  • Application Component, Application Collaboration, Application Interface, Application Function, Application Interaction, Application Process, Application Event, Application Service, Data Object

Technology Layer

Elements for technology infrastructure and platforms

  • Node, Device, System Software, Technology Collaboration, Technology Interface, Technology Function, Technology Process, Technology Interaction, Technology Event, Technology Service, Path, Communication Network, Artifact

Physical Layer

Elements for physical facilities and equipment

  • Equipment, Facility, Distribution Network, Material

Implementation & Migration Layer

Elements for transformation planning

  • Work Package, Deliverable, Implementation Event, Plateau, Gap

Relationship Types

ArchiMate defines several relationship categories:

Structural Relationships

  • Composition: Part-of relationships
  • Aggregation: Groups of elements
  • Assignment: Allocation of behavior/structure
  • Realization: Implementation relationships

Dependency Relationships

  • Serving: Service provision
  • Access: Data/object access
  • Influence: Impact relationships

Dynamic Relationships

  • Triggering: Temporal/causal sequences
  • Flow: Information/material transfer

Other Relationships

  • Specialization: Generalization/specialization
  • Association: Generic connections

Best Practices

When Creating Diagrams

  1. Start Simple: Begin with core elements and add detail progressively
  2. Use Proper Layers: Respect ArchiMate's layered architecture
  3. Validate Early: Check relationships against the specification
  4. Name Clearly: Use descriptive names for elements
  5. Focus Purpose: Create diagrams with specific stakeholder viewpoints

Effective Prompting

  1. Be Specific: Mention the domain (business, application, technology)
  2. Provide Context: Describe the scenario or use case
  3. Request Validation: Ask Claude to validate complex models
  4. Iterate: Build diagrams incrementally with feedback

Common Patterns

  • Layered View: Show relationships between business, application, and technology
  • Process Flow: Model business processes with supporting applications
  • Service Orientation: Focus on services and their relationships
  • Capability Mapping: Link business capabilities to supporting elements

Development

Running in Development Mode

bash
npm run dev

Testing the MCP Server

bash
node test-mcp.js

Project Structure

src/
├── core/           # Core ArchiMate element classes
├── generator/      # Diagram generation logic
├── models/         # Type definitions and enums
├── validator/      # ArchiMate specification validation
└── server.ts       # MCP server implementation

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

[Add your license information here]

Resources

Support

For issues, questions, or contributions, please visit the project repository or contact the maintainers.

Cài đặt

TypingMind
{
  "mcpServers": {
    "mcp-archimate": {
      "command": "node",
      "args": [
        "/path/to/MCP-Archimate/dist/server.js"
      ]
    }
  }
}

Công cụ có sẵn

  • generate_archimate_diagram

    Generate ArchiMate diagrams in Mermaid or Draw.io format from elements and relationships

  • validate_archimate_model

    Validate ArchiMate elements and relationships against the ArchiMate 3.2 specification

  • list_archimate_elements

    List all available ArchiMate 3.2 element types with their layers

  • list_archimate_relationships

    List all available ArchiMate relationship types

  • export_archimate_xml

    Export ArchiMate model as standard XML Open Exchange Format (.archimate)

Dùng MCP MCP ArchiMate 服务器 với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối MCP ArchiMate 服务器, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm MCP ArchiMate 服务器 làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của MCP ArchiMate 服务器.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "mcp-archimate": {
      "command": "npx",
      "args": [
        "-y",
        "@null-pointer/mcp-archimate"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của MCP ArchiMate 服务器, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của MCP ArchiMate 服务器.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng MCP ArchiMate 服务器 giúp tôi làm việc này không?
MCP ArchiMate 服务器
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng MCP ArchiMate 服务器.

Câu hỏi thường gặp

Máy chủ MCP MCP ArchiMate 服务器 dùng để làm gì?

MCP ArchiMate 服务器 là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP MCP ArchiMate 服务器 với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng MCP ArchiMate 服务器 với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP MCP ArchiMate 服务器 với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối MCP ArchiMate 服务器, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP MCP ArchiMate 服务器 với TypingMind?

MCP ArchiMate 服务器 hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP MCP ArchiMate 服务器 cung cấp những công cụ nào trong TypingMind?

MCP ArchiMate 服务器 cung cấp 5 công cụ MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP MCP ArchiMate 服务器 không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu MCP ArchiMate 服务器 yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

archimate-elements

Complete ArchiMate 3.2 element reference with descriptions, usage guidance, and examples

archimate-relationships

ArchiMate relationship types, rules, validation matrix, and best practices

model-templates

ArchiMate model templates, common patterns, and domain-specific examples

quick-reference

Quick reference guide for ArchiMate modeling with common patterns and anti-patterns

create-business-model

Create a business layer ArchiMate model with guided steps for a specific domain

validate-and-fix

Validate ArchiMate model and provide specific suggestions for fixing violations

suggest-architecture-pattern

Suggest appropriate ArchiMate architecture patterns based on requirements

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇