ArchiScribe MCP Server

Providing AI coding assistants and agents with access to rich contextual information is essential for ensuring high-quality output, as outlined in: Power Up Your Software Development Lifecycle with AI.

The ArchiScribe MCP Server bridges the gap between your ArchiMate architecture models and your AI tools, making architectural context easily accessible throughout the software development lifecycle.

ArchiScribe MCP

Background

If you use ArchiMate to model your software architecture, your models already contain a wealth of information about the high‑level components of your systems and the relationships between them.

This is useful contextual information, especially if there are comprehensive descriptions and properties defined on the elements and relationships.

The question is: how can you leverage this information in your Software Development LifeCycle (SDLC) and make it available to AI coding assistants and agents?

How It Works

ArchiScribe is a Model Context Protocol (MCP) Server that provides access to information from the views defined within an ArchiMate model.

Setup:

Available Tools:

Output:

The information is returned from the MCP Server in markdown format which is easily understood by coding assistants/agents. Large Language Models (LLMs) already understand the concepts of ArchiMate and can therefore reason about the elements and relationships to form a comprehensive understanding of the software architecture defined in a view.

When To Use It

Use the MCP Server during the SDLC to provide context about the software architecture directly to software engineers using AI coding assistants/agents. The views from the Application Layer are especially useful to provide context about related system components that are under active development.

Generate Documentation

Now that the AI has a good understanding of the architecture, it can generate documentation. Here is a prompt that can be used to call the "#archiscribe" MCP server, asking it to generate documentation based on the response from ArchiScribe:

Perform Threat Modelling

An AI Agent can perform a threat modelling exercise if provided with details of an ArchiMate view representing a data flow diagram. For example, a data flow diagram can be created with Application Components connected by Flow relationships. Grouping elements can be used for trust boundaries, by adding a Stereotype property with a value of Trust Boundary. Here is a prompt to create a threat model report based on a view:

Source Code

The source code for archiscribe-mcp is available on GitHub: