Skip to content

Architecture

Overview

The server exposes SGraph capabilities over MCP using FastMCP. Core layers:

  • Core: model loading/caching (ModelManager), element conversion
  • Services: overview, search, dependency analysis
  • Tools: thin MCP adapters mapping requests to services

External Usage Analysis

sgraph_analyze_external_usage walks internal elements (optionally in a scope) and aggregates outgoing edges to /.../External/... by language and package, returning totals and examples for quick audits.