Skip to main content

ArchiMate model engine + MCP Server + A2A Server for Agentic AI!

Project description

archimate-mcp

A self-contained ArchiMate model engine exposed as a Model Context Protocol (MCP) server and an A2A agent. It gives AI agents full ArchiMate 3.x authoring capabilities — create/load/save models, full CRUD on elements, relationships, folders, and views (diagrams), query/traverse the model, and import/export the Open Group Model Exchange File Format so the models open directly in Archi.

Archi has no native server API, so archimate-mcp ships its own dependency-light engine built on the Python standard library (xml.etree.ElementTree).

Table of Contents

Overview

archimate-mcp exposes a standardized interface for authoring ArchiMate models via the Model Context Protocol. The full ArchiMate vocabulary (Strategy, Business, Application, Technology, Physical, Motivation, Implementation layers) and all relationship types are supported, with structural validation and round-trip Open Exchange Format serialization.

Installation

pip install -e .

Usage

Run the MCP server directly:

archimate-mcp

Or run the agent server:

archimate-agent

Architecture

See /docs for architectural diagrams and further documentation. The model engine lives in archimate_mcp/api/ (archimate_model.py, api_client_archi.py), the MCP tools in archimate_mcp/mcp/mcp_archi.py.

Deployment

Bare-metal

archimate-agent

Docker

docker build -f docker/Dockerfile -t archimate-mcp .

Environment Variables

Variable Description
ARCHI_MODEL_PATH Path to the working model file (Open Exchange Format). Default ./model.archimate.
ARCHITOOL Enable/disable the ArchiMate tool registration. Default True.

MCP Tools

Tool Description
archi_model Model lifecycle: new/load/save/export_exchange/import_exchange/summary
archi_element Element CRUD: add/get/update/delete/list/find
archi_relationship Relationship CRUD + validate: add/get/update/delete/list/validate
archi_view Views (diagrams): create/add_element/add_connection/list/get
archi_folder Organizations (folders): add/move/list
archi_query Query/traversal: neighbors/relationships_of/by_type + vocabulary

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

archimate_mcp-0.4.0.tar.gz (25.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

archimate_mcp-0.4.0-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

Details for the file archimate_mcp-0.4.0.tar.gz.

File metadata

  • Download URL: archimate_mcp-0.4.0.tar.gz
  • Upload date:
  • Size: 25.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for archimate_mcp-0.4.0.tar.gz
Algorithm Hash digest
SHA256 840ee2938e3b171232bb9eebbdcd1ad0fdfd4dea6a2a8f94b1f19eb17d5a1b25
MD5 5bc0a7c0cc7c84516ac36327a43edbe2
BLAKE2b-256 a3b86ef3afb3b0d9de334ee51426a740546ccfa8a7ce238f201f4ac53dd12965

See more details on using hashes here.

File details

Details for the file archimate_mcp-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: archimate_mcp-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 29.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for archimate_mcp-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a92d2ee9ad2b653953d2a59ab050eb504e0018951026a2d9d410c636f9b2c18a
MD5 b82b294a61f06f7f1eeb835345b39f02
BLAKE2b-256 847cf711bc8ee464d2fe2c0483833a8bd334e71427ae627d7565ee4bb591bae3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page