archimate-mcp-server

v0.4.0
archimate-mcp-server Checked 4 days ago Published 7 months ago

MCP server for ArchiMate modeling with coArchi2 repositories

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

archimate_open_model

Open an ArchiMate model from a coArchi repository directory. Returns model metadata including element counts by layer.

ParameterTypeDescription
path *stringPath to the model directory or model.archimate file

archimate_save_model

Save the current model to disk

ParameterTypeDescription
pathstringOptional path to save to (uses original path if not specified)

archimate_create_model

Create a new empty ArchiMate model with standard folder structure

ParameterTypeDescription
name *stringName of the new model
path *stringPath where to save the model

archimate_list_elements

List elements in the model, optionally filtered by layer or type

ParameterTypeDescription
element_typestringFilter by specific element type (e.g., BusinessActor, ApplicationComponent)
layerstringFilter by ArchiMate layer

archimate_get_element

Get detailed information about a specific element including its relationships

ParameterTypeDescription
element_id *stringThe ID of the element to retrieve

archimate_find_elements

Search for elements by name pattern (case-insensitive regex)

ParameterTypeDescription
pattern *stringName pattern to search for (regex supported)
layerstringOptional layer filter

archimate_create_motivation_element

Create a Motivation layer element (Chapter 6). Use for stakeholders, goals, requirements, etc.

ParameterTypeDescription
element_type *stringType of motivation element: Stakeholder (person/role with interests), Driver (motivation condition), Assessment (analysis result), Goal (desired end state), Outcome (end result), Principle (general in…
name *stringName of the element
documentationstringOptional documentation/description

archimate_create_strategy_element

Create a Strategy layer element (Chapter 7). Use for capabilities, resources, and strategic planning.

ParameterTypeDescription
element_type *stringType of strategy element: Resource (owned asset), Capability (ability to do something), ValueStream (sequence creating value), CourseOfAction (strategic approach/plan)
name *stringName of the element
documentationstringOptional documentation/description

archimate_create_business_element

Create a Business layer element (Chapter 8). Use for actors, processes, services, and business objects.

ParameterTypeDescription
element_type *stringType of business element: BusinessActor (entity performing behavior), BusinessRole (responsibility), BusinessCollaboration (working together), BusinessInterface (access point), BusinessProcess (sequen…
name *stringName of the element
documentationstringOptional documentation/description

archimate_create_application_element

Create an Application layer element (Chapter 9). Use for application components, services, and data objects.

ParameterTypeDescription
element_type *stringType of application element: ApplicationComponent (software unit), ApplicationCollaboration (components working together), ApplicationInterface (access point), ApplicationFunction (automated behavior)…
name *stringName of the element
documentationstringOptional documentation/description

archimate_create_technology_element

Create a Technology layer element (Chapter 10). Use for nodes, devices, infrastructure, and physical elements.

ParameterTypeDescription
element_type *stringType of technology element: Node (computational resource), Device (physical IT resource), SystemSoftware (infrastructure software), TechnologyCollaboration (working together), TechnologyInterface (acc…
name *stringName of the element
documentationstringOptional documentation/description

archimate_create_implementation_element

Create an Implementation & Migration layer element (Chapter 12). Use for work packages, deliverables, and architecture plateaus.

ParameterTypeDescription
element_type *stringType of implementation element: WorkPackage (series of actions), Deliverable (result of work), ImplementationEvent (state change), Plateau (stable architecture state), Gap (difference between plateaus…
name *stringName of the element
documentationstringOptional documentation/description

archimate_create_composite_element

Create a composite element (Chapter 4). Use for grouping and locations.

ParameterTypeDescription
element_type *stringType of composite element: Grouping (aggregate concepts), Location (place where things are located)
name *stringName of the element
documentationstringOptional documentation/description

archimate_create_relationship

Create a relationship between two elements. Validates against ArchiMate specification.

ParameterTypeDescription
relationship_type *stringType of relationship: Composition (consists of), Aggregation (combines), Assignment (allocates responsibility), Realization (creates/implements), Serving (provides functionality), Access (reads/writes…
source_id *stringID of the source element
target_id *stringID of the target element
access_typestringFor Access relationships: type of access
influence_modifierstringFor Influence relationships: strength modifier
namestringOptional name/label for the relationship

archimate_list_relationships

List relationships, optionally filtered by element or type

ParameterTypeDescription
directionstringFor element_id filter: direction of relationships
element_idstringFilter to relationships involving this element
relationship_typestringFilter by relationship type

archimate_get_valid_relationships

Get valid relationship types between two element types (helps understand what connections are permitted)

ParameterTypeDescription
source_type *stringSource element type
target_typestringTarget element type (optional - shows all valid targets if omitted)

archimate_list_views

List all diagram views in the model

archimate_create_view

Create a new diagram view

ParameterTypeDescription
name *stringName of the view
viewpointstringOptional viewpoint type (e.g., Layered, Organization, Application)

archimate_add_to_view

Add an element to a diagram view. Connections for relationships between this element and any element already in the view are drawn automatically - you do not need to call archimate_add_connection_to_view for them. The response lists every connection that was auto-drawn in autoConnectedRelationships.

ParameterTypeDescription
element_id *stringID of the element to add
view_id *stringID of the view
auto_connectbooleanAuto-draw diagram connections for relationships between this element and on-canvas peers (default: true). Set to false only if you want to place the element without any connections and add them manual…
heightnumberHeight (default: 55)
widthnumberWidth (default: 120)
xnumberX position (default: auto)
ynumberY position (default: auto)

archimate_add_connection_to_view

Manually add a connection (line/arrow) between two diagram objects in a view. Normally unnecessary - archimate_add_to_view auto-draws connections for all relationships it finds between the new element and existing on-canvas elements. Use this tool only to: (a) restore a connection after calling archimate_add_to_view with auto_connect: false, or (b) add a connection that was not auto-drawn because one endpoint was not yet in the view. Both diagram objects must already be in the view.

ParameterTypeDescription
relationship_id *stringID of the relationship to visualize
source_diagram_object_id *stringID of the source diagram object (from archimate_add_to_view response)
target_diagram_object_id *stringID of the target diagram object (from archimate_add_to_view response)
view_id *stringID of the view

archimate_update_element

Update an existing element

ParameterTypeDescription
element_id *stringID of the element to update
documentationstringNew documentation (optional)
namestringNew name (optional)

archimate_delete_element

Delete an element and its associated relationships

ParameterTypeDescription
element_id *stringID of the element to delete

archimate_delete_relationship

Delete a relationship

ParameterTypeDescription
relationship_id *stringID of the relationship to delete

archimate_layer_summary

Get a summary of elements by layer

archimate_impact_analysis

Analyze dependencies and impact of an element

ParameterTypeDescription
element_id *stringID of the element to analyze
depthnumberHow many levels deep to analyze (default: 2)
directionstringDirection of relationships to analyze

archimate_import_exchange

Import an ArchiMate model from Open Exchange Format XML file

ParameterTypeDescription
path *stringPath to the .xml exchange file

archimate_export_exchange

Export the current model to ArchiMate Open Exchange Format XML

ParameterTypeDescription
path *stringPath to save the exchange XML file

archimate_export_mermaid

Generate Mermaid diagram syntax from the model or a specific view

ParameterTypeDescription
directionstringDiagram direction (default: TB for top-to-bottom)
include_labelsbooleanInclude relationship labels in diagram (default: false)
layer_filterarrayFilter to specific layers (e.g., ["Business", "Application"])
view_idstringOptional: ID of a specific view to export (exports full model if not specified)

archimate_export_diagram

Export a diagram view as SVG or PNG image

ParameterTypeDescription
output_path *stringPath to save the image file (use .svg or .png extension)
view_id *stringID of the view to export
background_colorstringBackground color (default: #ffffff)
formatstringOutput format (default: detected from file extension)
heightnumberImage height in pixels (optional)
widthnumberImage width in pixels (optional)

archimate_export_markdown

Export the model as Markdown documentation

ParameterTypeDescription
output_path *stringPath to save the Markdown file
include_diagramsbooleanEmbed Mermaid diagrams in output (default: true)
include_propertiesbooleanInclude element properties (default: false)
include_relationshipsbooleanInclude relationship details for each element (default: true)
include_viewsbooleanInclude views section (default: true)

archimate_export_html_deck

Export the model as an interactive HTML deck with tabs and search

ParameterTypeDescription
output_path *stringPath to save the HTML file
embed_diagramsbooleanEmbed SVG diagrams instead of Mermaid (default: true)
include_searchbooleanInclude search functionality (default: true)
themestringColor theme (default: light)
titlestringTitle for the HTML deck (default: model name)

archimate_configure_audit

Configure audit logging for model operations

ParameterTypeDescription
enabledbooleanEnable or disable audit logging
log_pathstringPath to the audit log file

archimate_get_audit_log

Read recent entries from the audit log

ParameterTypeDescription
limitnumberMaximum number of entries to return (default: 50)