Logo de MCP ArchiMate 服务器

MCP ArchiMate 服务器

Comunidade
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.

Publicado porRMRanjit
Repositóriomcp-Archimate
IdiomaTypeScript
Forks
3
Estrelas
11
Ferramentas disponíveis
5
Tipo de transportestdio
Categorias
LicençaMIT
Links
  • Conecte ferramentas a fluxos de trabalho de IA

    MCP ArchiMate 服务器 disponibiliza recursos MCP que podem ser usados por clientes e agentes de IA compatíveis.

  • 5 ferramentas disponíveis

    Confira abaixo as ações que podem ser chamadas, incluindo nomes e descrições quando fornecidos pelo servidor.

  • Configuração pronta para copiar

    Use os exemplos de instalação para configurar este servidor no seu cliente MCP preferido.

  • Indicadores da comunidade de código aberto

    11 estrelas e 3 forks no repositório vinculado.

@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.

Instalação

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

Ferramentas disponíveis

  • 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)

Use o MCP de MCP ArchiMate 服务器 com vários modelos de IA

O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho. Assim, após conectar MCP ArchiMate 服务器, é possível usá-lo com diferentes modelos de IA no TypingMind, em vez de configurá-lo separadamente para cada modelo. Este MCP é executado localmente no seu dispositivo por meio do conector MCP do TypingMind.

Guia de configuração para usar o conector local

Use esta opção quando o servidor MCP precisar acessar arquivos locais, aplicativos ou recursos privados no seu computador.

1

Abra as configurações de MCP

No TypingMind, vá até Configurações, Configurações avançadas e depois Model Context Protocol e selecione Configurar conector.

  1. Abra o TypingMind no navegador.
  2. Clique no ícone de Ajustes.
  3. Acesse Configurações avançadas.
  4. Abra a seção Model Context Protocol.
  5. Clique em Configurar conector e selecione Este dispositivo.
Tela de configuração do conector MCP do TypingMind com a opção Este dispositivo selecionada
2

Execute o comando do conector

Selecione Este dispositivo, copie o comando do TypingMind e execute-o no Terminal. Mantenha o processo em execução enquanto usa o MCP.

  1. Copie o comando de configuração exibido pelo TypingMind.
  2. Abra o Terminal no macOS ou o Windows Terminal no Windows.
  3. Cole e execute o comando.
  4. Autorize a instalação do pacote se o Terminal pedir confirmação para continuar.
  5. Mantenha o processo em execução na janela do Terminal enquanto usa as ferramentas MCP.
3

Adicione MCP ArchiMate 服务器 como servidor

Quando o status do conector for Pronto, clique em Editar e cole a configuração do servidor MCP.

  1. Aguarde até que o status do conector mostre Pronto.
  2. Clique em Editar.
  3. Cole a configuração do servidor MCP de MCP ArchiMate 服务器.
  4. Salve a lista de servidores.
  5. Atualize para confirmar se o conector ainda está pronto para uso.
Configurações de MCP do TypingMind mostrando um servidor ativo e o botão Editar
{
  "mcpServers": {
    "mcp-archimate": {
      "command": "npx",
      "args": [
        "-y",
        "@null-pointer/mcp-archimate"
      ]
    }
  }
}
4

Use a conexão com diferentes modelos

Salve a lista de servidores, abra Plugins, ative as ferramentas MCP de MCP ArchiMate 服务器, selecione qualquer modelo de IA compatível no TypingMind e use as ferramentas no chat ou atribua-as a um agente de IA.

  1. Abra a página Plugins no TypingMind.
  2. Ative as ferramentas MCP de MCP ArchiMate 服务器.
  3. Inicie um chat e escolha o modelo de IA que deseja usar.
  4. Use as ferramentas MCP no chat ou atribua-as a um agente de IA.
  5. Mude para outro modelo de IA sempre que necessário, sem reconectar o MCP.
Chat do TypingMind usando ferramentas MCP ativadas com um modelo de IA selecionado
Pode usar MCP ArchiMate 服务器 para me ajudar nesta tarefa?
MCP ArchiMate 服务器
Claro. Já li.
Veja o que encontrei usando MCP ArchiMate 服务器.

Perguntas frequentes

Para que serve o servidor MCP MCP ArchiMate 服务器?

MCP ArchiMate 服务器 é um servidor MCP que permite que aplicativos de IA compatíveis se conectem a ferramentas externas e informações de contexto. No TypingMind, basta adicionar esse servidor MCP uma vez para disponibilizar suas ferramentas no seu espaço de trabalho com IA.

Posso usar o MCP MCP ArchiMate 服务器 com vários modelos de IA no TypingMind?

Sim. O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho, permitindo usar MCP ArchiMate 服务器 com diferentes modelos de IA, como Claude, ChatGPT, Gemini ou outros modelos configurados no TypingMind, sem configurar o servidor MCP separadamente para cada modelo.

Por que usar o MCP MCP ArchiMate 服务器 com o TypingMind?

O TypingMind é uma das melhores interfaces de chat com LLMs porque reúne vários modelos de IA, prompts, plugins, agentes de IA, chaves de API e ferramentas MCP em um só espaço de trabalho. Com MCP ArchiMate 服务器 conectado, é possível usar suas ferramentas MCP nos seus modelos preferidos e manter seu fluxo de trabalho de chat organizado no TypingMind.

Como conecto o MCP MCP ArchiMate 服务器 ao TypingMind?

MCP ArchiMate 服务器 funciona por meio do conector MCP local do TypingMind. Essa é a melhor opção quando o servidor MCP precisa acessar arquivos locais, apps de desktop, ferramentas de linha de comando ou recursos privados no seu computador.

Quais ferramentas o MCP MCP ArchiMate 服务器 oferece no TypingMind?

MCP ArchiMate 服务器 disponibiliza 5 ferramentas MCP que podem ser ativadas na página Plugins do TypingMind e usadas no chat ou atribuídas a agentes de IA.

Preciso compartilhar minhas chaves de API com o TypingMind para usar o MCP MCP ArchiMate 服务器?

Não. O TypingMind prioriza o uso local e permite manter seus provedores de modelos, chaves de API, prompts e configuração MCP sob seu controle. Se MCP ArchiMate 服务器 exigir autenticação, adicione os cabeçalhos, as configurações OAuth ou a configuração local exigidos por esse servidor MCP ao criar a conexão.

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

Servidores MCP relacionados

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇