mcp-archimate
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-archimateList all business actors in the ArchiSurance model."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-archimate
A REST API and MCP (Model Context Protocol) server for querying and modifying ArchiMate 3.1 models stored in the Open Exchange File format (.xml).
Purpose
This project provides services for querying and modifying ArchiMate models via:
A REST API (Express / Node.js) for programmatic access and modification of elements, relationships, and views
An MCP server (Model Context Protocol) for integrating models into AI workflows (read and write)
Related MCP server: ArchiScribe MCP Server
Configuration (config.json)
To point the API at your own ArchiMate files:
Place your file in
data/in the ArchiMate 3.1 Open Exchange XML format (.xml)Edit
config.jsonto declare itRestart the server
{
"path": "data/archisurance.xml",
"name": "ArchiSurance"
}The format is the one defined by The Open Group XSDs archimate3_Model.xsd,
archimate3_View.xsd and archimate3_Diagram.xsd (provided under models/).
Archi can produce this file via File → Export → Open Exchange XML or via the
CLI archi --xmlexchange.export <path>.
REST API
The API is available at http://localhost:8000.
Interactive documentation (Swagger UI)
Path | Description |
Swagger UI — interactive exploration of all routes | |
OpenAPI 3.0 spec as JSON |
The spec is generated dynamically from code: ArchiMate 3.1 type enums are always in sync with the constants in src/schemas.ts.
MCP server
The project exposes an MCP server (read and write), mounted inside the same Express application.
MCP Endpoint
Base URL:
http://localhost:8000/mcpTransport:
streamable-http
MCP Tools
Read
Tool | Description |
| Global model metadata |
| Element types present in the model |
| Elements with optional filters ( |
| Element detail by |
| Relationship types present in the model |
| Relationships with filters ( |
| Relationship detail by |
| Views with |
| View detail with nodes, connections, and styles |
Write (in-memory changes)
Tool | Required parameters | Description |
|
| Create an ArchiMate element |
|
| Update an element (partial patch) |
|
| Delete an element and its relationships |
|
| Create a relationship between two elements |
|
| Update a relationship (partial patch) |
|
| Delete a relationship |
Rendering
Tool | Required parameters | Description |
|
| Generate an SVG or PNG image of a view ( |
File persistence
Tool | Required parameters | Description |
| — | Write the in-memory model back to its source file on disk |
|
| Create a new blank model file and register it as a source |
|
| Remove a source from the registry (set |
Tool descriptions include the valid ArchiMate 3.1 types to guide LLMs.
MCP client configuration
The MCP server uses the streamable-http transport at http://localhost:8000/mcp.
The server must be running before any MCP client connects.
Claude Code (CLI)
The .mcp.json file at the project root is automatically detected by Claude Code:
{
"mcpServers": {
"mcp-archimate": {
"type": "http",
"url": "http://localhost:8000/mcp"
}
}
}Or via the CLI:
claude mcp add mcp-archimate http://localhost:8000/mcp --transport httpClaude Desktop
Edit the Claude Desktop configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"mcp-archimate": {
"type": "http",
"url": "http://localhost:8000/mcp"
}
}
}Restart Claude Desktop after editing.
VS Code / GitHub Copilot
The .vscode/mcp.json file is already included in the project:
{
"servers": {
"mcp-archimate": {
"url": "http://localhost:8000/mcp",
"type": "http"
}
},
"inputs": []
}Enable MCP support in VS Code:
// .vscode/settings.json
{
"github.copilot.chat.mcp.enabled": true
}The MCP tools then appear in the Copilot Chat panel (tool icon).
OpenAI Codex CLI
In the Codex configuration file (~/.codex/config.toml):
[mcp_servers.mcp-archimate]
type = "http"
url = "http://localhost:8000/mcp"Deployment
# Install dependencies
npm install
# Start in development mode (with hot reload)
npm run dev
# Start in production mode
npm startTests
Tests are located in tests/api.test.ts (181 tests) and cover:
Unit tests: conversion helpers, colour conversion, XSD constants, CRUD functions (
createElement,updateElement,deleteElement,createRelationship,updateRelationship,deleteRelationship), parser/serializer (parseOpenExchange,serializeToOpenExchangewith round-trip tests),saveModelIntegration tests: all REST endpoints (CRUD cycles for elements/relationships/views,
/save,/views/:id/image), MCP service (initialize + tools/list with all registered tools)
Running tests locally
# Install dependencies
npm install
# Run tests
npm test
# Run tests coverage
npm test -- --coverageQuick reference
Data format: ArchiMate 3.1 Open Exchange XML (
.xml)API: Express (REST)
MCP server: @modelcontextprotocol/sdk (streamable-http)
Runtime: Node.js 24 / TypeScript
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lacrif/mcp-archimate'
If you have feedback or need assistance with the MCP directory API, please join our Discord server