Skip to main content
Glama
rdtan

architecture-discovery-mcp

by rdtan

Architecture Discovery Engine

Auto-discover enterprise architecture artifacts from Java/Maven source code. Scan your project and generate TOGAF-standard application architecture deliverables in seconds.

What It Does

Point it at a Java/Maven project and get:

  • AA-01 Application Module Inventory (Excel)

  • AA-02 Function Item Inventory (Excel)

  • AA-03 Sub-function Inventory (Excel)

  • AA-04 Function Distribution (Excel)

  • AA-05 Integration Inventory (Excel)

  • AA-07 Application Architecture Diagram (PPTX)

  • AA-08 Application Integration Diagram (PPTX)

All generated from static analysis — no runtime required, no code leaves your machine.

Related MCP server: ArchiScribe MCP Server

Install

pip install architecture-discovery-mcp

Requires Python 3.11+.

Usage

The engine runs as an MCP server over stdio. Configure it in your AI IDE:

Claude Code (~/.claude.json):

{
  "mcpServers": {
    "architecture-discovery": {
      "command": "architecture-discovery-mcp"
    }
  }
}

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "architecture-discovery": {
      "command": "architecture-discovery-mcp"
    }
  }
}

VS Code (.vscode/settings.json):

{
  "mcp": {
    "servers": {
      "architecture-discovery": {
        "command": "architecture-discovery-mcp"
      }
    }
  }
}

Then ask your AI assistant naturally:

"Scan D:/projects/my-java-app and generate the application architecture artifacts"

Available MCP Tools

Tool

Description

scan_project_tool

Scan project structure, return modules/frameworks overview

generate_app_architecture_tool

Generate full AA artifact set (Excel + PPTX)

export_intermediate_data

Export structured analysis as JSON

generate_data_architecture

DA artifacts (coming soon)

generate_tech_architecture

TA artifacts (coming soon)

All tools accept an optional locale parameter ("zh" or "en", default "zh").

As a Python Library

from pathlib import Path
from src.scanner.project_scanner import scan_project
from src.analyzers.module_analyzer import analyze_modules
from src.analyzers.api_analyzer import analyze_apis
from src.analyzers.integration_analyzer import analyze_integrations
from src.generators.app_architecture_generator import generate_app_architecture
from src.generators.aa07_generator import generate_aa07
from src.generators.aa08_generator import generate_aa08

project = scan_project(Path("your-java-project"))
project = analyze_modules(project)
endpoints = analyze_apis(project)
integrations = analyze_integrations(project)

out = Path("output")
generate_app_architecture(project, endpoints, integrations, out, locale="en")
generate_aa07(project, out, locale="en")
generate_aa08(project, integrations, out, locale="en")

Supported Projects

  • Java/Maven projects (must have pom.xml)

  • Spring Boot / Spring Cloud microservices

  • Feign client integration detection

  • Nested multi-module projects (e.g. RuoYi-Cloud style)

Internationalization

Artifacts can be generated in Chinese (locale="zh", default) or English (locale="en"). This controls:

  • Excel column headers and sheet names

  • Cell values (layer names, status labels)

  • PPTX slide titles and diagram labels

  • Font selection (Microsoft YaHei for Chinese, Calibri for English)

Security

  • Runs locally via stdio — no network exposure

  • Source code never leaves your machine

  • Exported JSON contains only structural metadata (class names, API paths, annotations), not source code

Development

git clone <repo-url>
cd architecture-discovery-engine
pip install -e ".[dev]"
pytest tests/ -v

License

MIT

F
license - not found
-
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 Servers

  • A
    license
    B
    quality
    D
    maintenance
    Enables AI tools to analyze Java dependencies by scanning Maven projects, decompiling JAR files, and extracting detailed class information including methods, fields, and inheritance relationships. Solves the problem of AI hallucinations when generating code that calls external dependencies by providing accurate class structures through decompilation.
    Last updated
    3
    22
    40
    Apache 2.0
  • A
    license
    -
    quality
    D
    maintenance
    Retrieves architectural information from ArchiMate models, enabling AI coding assistants to access architectural context during the software development lifecycle. Supports search and retrieval of views and elements in markdown, JSON, or YAML.
    Last updated
    9
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    Provides AI-powered architecture analysis and visualization of codebases, exposing 17 MCP tools for querying components, dependencies, and generating interactive diagrams.
    Last updated
    MIT

View all related MCP servers

Related MCP Connectors

  • AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).

  • AI knowledge graph for architecture, portfolio, and digital strategy management.

  • End-to-end agent-managed company brain. Docs, diagrams, plans, Knowledge Graph. Lean & affordable.

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/rdtan/architecture-discovery-mcp'

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