io.github.dushyant30suthar/endiagram-mcp
12 deterministic graph tools for structural analysis. No AI inside.
What is this system? Complete structural overview: shape (topology), stages with roles, bridge nodes, cycles, parallelism, critical path, dominator tree, min-cuts, subsystems, interface nodes. Includes actors (who does what, workload entropy) and locations (where work happens, boundary crossings). Optional: pass node for per-node centrality, detect_findings for structural pattern detection.
What's always true? conservationLaws are weighted entity sums constant across all executions. sustainableCycles are action sequences that return the system to its starting state (T-invariants). depletableSets are entity groups where simultaneous depletion is irreversible. behavioral.deficiency 0 means structure fully determines dynamics. behavioral.isReversible and behavioral.hasUniqueEquilibrium describe convergence properties.
Can it deadlock? Can entities overflow? isStructurallyLive means every siphon contains a trap — no structural deadlock possible. uncoveredSiphons are entity groups that can drain permanently, with the actors and locations affected. isStructurallyBounded means no entity can accumulate without limit. unboundedCycles are action sequences that could cause overflow.
Can X reach Y? Follows directed data flow first; falls back to undirected. Path shows each step with actor and location. locationCrossings counts boundary transitions. defense_nodes checks if guards cover all paths. coverage.fullCoverage false means unguarded routes exist.
Are two systems the same? Compare mode (source_a + source_b): shows structural differences, edit distance, and spectral equivalence — isCospectral true means identical structure despite different names. Evolve mode (source + patch): dry-run a change, shows diff plus new/lost bridge nodes. Prefix action name with - in patch to remove it.
How do parts combine? Merge mode (source_a + source_b + links): merge two systems by linking shared entities. Extract mode (source + subsystem): extract a subsystem as standalone EN with boundary inputs/outputs, actors, and locations.
SVG diagram. Only call when user explicitly asks to visualize.
| Timestamp | Status | Latency | Conformance |
|---|---|---|---|
| Apr 2, 2026 | success | 368.9ms | Pass |
| Apr 2, 2026 | success | 224ms | Pass |
| Apr 2, 2026 | success | 464.8ms | Pass |
| Apr 2, 2026 | success | 228.2ms | Pass |
| Apr 2, 2026 | success | 285.2ms | Pass |
| Apr 2, 2026 | success | 274.2ms | Pass |
| Apr 2, 2026 | success | 446.3ms | Pass |
| Apr 2, 2026 | success | 256.9ms | Pass |
| Apr 2, 2026 | success | 577.6ms | Pass |
| Apr 2, 2026 | success | 250.2ms | Pass |