enolaDocsMCP and CLI reference

Documentation

MCP and CLI reference

MCP tools and shell commands, with links to their complete contracts.

01 · MCP tools

Tool catalogue

ToolUse
Snapshot
generate_snapshotExtract or refresh a repository graph. append: true adds another repository.
Navigation
exploreSummarize a module, file, directory, or symbol.
query_factsFilter facts by kind, name, file, relation, or repository. prop_op compares a property with lt, le, gt, ge (versions and numbers), ne, prefix or contains.
show_symbolReturn source surrounding a named symbol.
locateMap a file:line or a diff to the symbol behind it and the version of its code, or report stored stamps as current, rewritten, moved or gone.
Graph analysis
traverseWalk relations forward or in reverse, crossing from an interface method to its implementations and back.
find_pathFind a shortest graph path between two nodes, through interfaces too.
impact_analysisReturn transitive dependents grouped by depth, and the served routes whose handler reaches the target.
endpoint_impactWalk an HTTP endpoint to its controller, models, tables and callers. repo:<label> follows every route a repository serves; each caller lists its repository and the functions making the call.
governing_intentFind the architectural declarations that apply to a code target, or list the code covered by a declaration.
query_insightsFilter computed findings.
coverage_reportReport resolved and unresolved cross-repo calls.
package_metricsRank packages by coupling, instability, and distance from the main sequence.
Before the edit
constraints_forThe declared components and rules that apply to a file or fact, plus any violations that name it. The path need not exist yet.
plan_checkThe constraints and dependencies relevant to an intended change. With a patch, it also reports the violations the patch would introduce using a scratch copy.
Change control
set_baselinePin the current snapshot.
diff_snapshotCompare the current snapshot with its baseline.
snapshot_receiptReturn snapshot provenance and extraction metadata.
compare_receiptsCheck whether two snapshots can be compared.
Code health
find_orphansFind isolated and unreferenced symbols, with confidence tiers.
analyze_performanceRank parser-derived performance risks with estimated Big-O and evidence.
History
architecture_historyShow recorded architectural changes over time.
architecture_blameFind when a fact, relation, or finding entered or left the architecture.
touchedRank the functions a run of commits changed, most often changed first, from git history with no snapshot.
Exact parameters, defaults, result shapes, and examples are maintained in ARCHITECTURE.md. All twenty-four tools ship in the open-source repository; none requires a licence, an account, or a seat.

02 · CLI

Shell entry points

CommandPurpose
enola --explainPrint a human-readable architecture report without writing snapshot artifacts; --summary prints a short plain-language summary instead.
enola --generateGenerate persistent snapshot artifacts without starting the MCP server.
enola dashboardExplore the latest snapshot in the read-only local dashboard, without MCP; --open opens the browser.
enola cluster initWrite the cluster config for a folder of repositories.
enola coverageReport which cross-repo calls resolved and which did not, per service.
enola baselinepin the comparison baseline, show it, or clear it.
enola checkGrade what a change did to the architecture and return a CI-safe exit code; --summary gives the verdict in plain language.
enola constraintslint validates declared rules against the snapshot; init binds shipped recipes; explain shows why a file belongs to a component; mine proposes candidates; ledger reports exemptions and suppressions.
enola planList the rules and dependencies relevant to an intended change and, for a patch, the violations it would introduce.
enola endpointReport what changing an HTTP endpoint reaches, from route to tables and callers.
enola impactEverything that depends on a symbol, type, module or file, grouped by hop depth, with the served routes that reach it; --list names every dependent.
enola flowsRank a program's entry points by what each reaches; --show opens one flow, --through lists the flows that reach a symbol.
enola logOne line per recorded snapshot: what the architecture did over time; --backfill builds that timeline from the repository's own commit history.
enola showWhat one recorded revision added and removed.
enola diffThe architecture delta between two recorded points.
enola blameWhen a fact, relation or finding entered the architecture, and when it left.
enola locateMap a file:line or a diff to the symbols the graph holds there; --stamps reports whether remembered symbols still hold the same code.
enola touchedRank the functions a run of commits changed, most often changed first, following files through renames.
enola gcWhat the recorded history holds, and what can be removed.
enola historyShare recorded history between machines: push, pull, verify, gc.
enola providersList the fact providers built into the binary, or fetch one.
enola installAdd agent instructions; --hooks adds supported session hooks.
enola uninstallRemove the instructions and hooks written by the installer.
enola doctorReport whether the hooks fired, and baseline state.
enola serveServe the MCP tools over Streamable HTTP to another service, with bearer tokens and every path confined to a --root. See Serve over HTTP.
enola --statusList running servers, repositories, and dashboard URLs.
enola upgradeInstall the latest release over the running binary.
The complete CLI contract is in docs/CLI.md.