Skip to main content
Glama
mm6502

Enterprise Architect MCP Server

by mm6502

Enterprise Architect MCP Server

A read-only MCP server for Sparx Enterprise Architect .qea exports. Gives AI agents access to EA analysis models — search elements, navigate packages, read use case scenarios, and traverse connectors — without a running EA instance.

Prerequisites

  • Node.js 22+ (uses the built-in node:sqlite module)

  • A .qea file exported from Sparx Enterprise Architect

Installation

Add to your project's .vscode/mcp.json:

{
  "servers": {
    "enterprise-architect": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "github:DITEC-Mracka/enterprise-architect-mcp"],
      "env": {
        "EA_QEA_PATH": "<path-to-your-qea-file-or-directory>"
      }
    }
  }
}

Replace <path-to-your-qea-file-or-directory> with your actual .qea file path.

Configuration

The server resolves the .qea path using a fallback chain (first match wins):

  1. CLI argumentmcp-server-ea C:\path\to\model.qea

  2. Environment variableEA_QEA_PATH (set in mcp.json env block or system env)

  3. .env fileEA_QEA_PATH=... in a .env file in the working directory

If the path points to a directory, the server automatically picks the newest .qea file by modification time.

Setup with .env (recommended for teams)

# Copy the template
cp .env.example .env

# Edit .env with your local path
EA_QEA_PATH=D:\EAExporty\projekt\architektura.qea

The .env file is gitignored — each developer sets their own path without affecting the shared config.

Available Tools

Tool

Description

ea_search

Full-text search across elements, attributes, operations, and constraints. Case-insensitive across the Slovak alphabet, decodes entity-encoded text.

ea_get_element

Full element detail — attributes, operations, diagrams it appears on, constraints (pre/post/invariant/process). Flags whether attribute multiplicity is contrastive.

ea_list_elements

List elements in a package, optionally filtered by type. Reports total count with pagination.

ea_get_connectors

Relationships for an element — includes feature-link resolution (which attribute/operation each end attaches to).

ea_get_diagram_elements

Elements and connectors on a diagram, including implied connectors and feature links.

ea_get_scenarios

Use case scenario steps with all attributes (trigger, uses, result, link, state) and scenario notes.

ea_get_package_tree

Navigate the package hierarchy with recursive depth.

ea_list_diagrams

Search diagrams by name and package.

ea_resolve

Resolve analyst references (braced GUID or plain name) to model candidates with full package path. Falls back to name-prefix matching for analyst codes; every candidate carries a match of guid, exact, or prefix.

ea_get_schema

Introspect the model's database schema — tables, columns, indexes, rowid alias.

ea_get_model_info

Identity of the open export — file name, size, modification date, server version.

Response contract

Every tool returns structured JSON with:

  • _meta.sourceTables — which database tables were consulted

  • totalMatched / returned / truncated — completeness metadata on every collection

  • continuation — exact call to retrieve the full set when truncated

  • isError: true + { error: "not_found" } for non-existent subjects (distinct from empty results)

Two fields exist to stop an inexact answer from being read as a confirmed one:

  • ea_resolvematch is always present; only prefix is an inexact match

  • ea_get_element_meta.attributes.multiplicityIsUniform: true means the element's attributes show no multiplicity contrast, so 1..1 is not evidence of requiredness

Example Prompts

Once connected, try prompts like:

  • "Search for elements related to 'právnická osoba'"

  • "Show me the package structure under the root"

  • "What are the use case scenarios for UC_FEO_2027?"

  • "What elements and connectors are on diagram 0103 Spracovanie eFORM?"

  • "Resolve the reference {94291B11-C990-482e-BF3F-19EFF04FB37E}"

  • "What columns does t_connector have?"

  • "Which diagrams does element a7680 appear on?"

-
license - not tested
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • MCP server for AI access to Swagger by SmartBear.

  • Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.

  • Official remote MCP server for Archivist AI TTRPG campaign memory: characters, sessions, and more.

View all MCP Connectors

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/mm6502/enterprise-architect-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server