About Archmcp
Archmcp is an MCP server published by enola-labs in the AI category: understand, analyze, and govern software systems across repositories, languages, and technologies. Conduid read 23 tools from its source: architecture_blame, architecture_history, compare_receipts, constraints_for, coverage_report, diff_snapshot and 17 more. No package is published for it, so it installs from a source checkout.
The repository has 322 stars and 28 forks, is licensed Apache-2.0, and its last commit was on 1 Dec 2026. The latest release is v0.5.4 (24 Nov 2026). It follows v0.5.3 (18 Nov 2026), and the 5 most recent releases go back to v0.5.0 (9 Nov 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include architecture-analysis, architecture-intelligence, coding-assistant, dependency-analysis and devtools.
Install
git clone https://github.com/enola-labs/enolaTools (23)
architecture_blameWHEN something entered or left the architecture: "when did this module start importing that one?", "which snapshot introduced this cycle?". It reads what the graph held at each recorded point instead of inferring it from source history. A symbol that shifted, was rewritten or moved is one change, not a removal and an addition.architecture_historyHow the architecture CHANGED OVER TIME: one entry per recorded snapshot, oldest first, with what moved since the one before (revision id, time taken, git commit and branch, counts of facts, edges and findings that moved). Every other tool describes the tree as it is now; this one answers about the past, so prefer it over reading git log and guessing. generate_snapshot records history automatically, so a repository never snapshotted has none yet.compare_receiptsCheck that the current snapshot and a baseline are comparable BEFORE trusting a diff between them. Returns a comparability verdict (same repo, enola version, extractor set, ignore globs; a mismatch means diff_snapshot would report spurious churn) and metric deltas (files parsed, parse errors, coverage gaps, unresolved edges, fact and insight counts) that flag regressions in enola's own extraction. Also the signal to poll when improving enola's coverage.constraints_forThe pre-edit contract for a file or fact; ask BEFORE editing. Returns the constraint components that contain it, every rule binding those components (in words, with its declared rationale and enforcement mode), and the current violations whose evidence names it. Guidance rules (steering, not law) come with their advice, mode, and prior-art exemplars marked present, absent or unmeasured in this snapshot. The file may not exist yet: it is matched against component patterns, so the answer covers code about to be written. Matching is exact and fail-closed, like the constraints explainer's. Returns JSON.coverage_reportTells a genuinely isolated service from one whose edges enola could not resolve; use it before concluding a service is isolated. Per service: resolved outbound dependencies and, per edge type (currently http_client), outbound call sites detected, resolved and unresolved, classified connected, coverage_gap (likely NOT isolated, verify against source) or isolated. Multi-repo snapshots only; a single-repo snapshot has no service nodes.diff_snapshotWhat a change did to the architecture: the deterministic answer that replaces re-reading files. A DELTA, not a linter: findings that appeared or were resolved, coupling edges added or removed, symbols, modules and routes added or removed. Anything present both before and after stays silent. Loop: generate_snapshot, set_baseline, edit, generate_snapshot, diff_snapshot. New findings keep their original confidence and caveats; below 1 is a candidate to verify, not a verdict.endpoint_impactWhat changing an HTTP endpoint reaches: the route, its controller, the models and tables behind it, the client call sites that send it with the calling service's own endpoints that reach them, and the app screens that depend on it. Use it with a URL (a trailing * matches every route containing it), impact_analysis with a symbol.explorePrimary exploration tool, the first call after generate_snapshot. For a module, file path, directory prefix or symbol it returns markdown: symbols (kinds, line numbers), direct dependencies and reverse dependents. A module is a package-level grouping (a Go package, a TypeScript file group), not a repo. Absolute paths are accepted. Use query_facts for precise filtering, traverse for multi-hop walks.find_pathShortest path, by hop count, between two nodes: "how does X reach Y?", "what is the call chain from A to B?". Crosses interfaces. An ambiguous endpoint is not an error: the top candidates are tried (for a type, its methods and constructor too) and the first path found is returned, with the ranked candidates. With no path, found=false and a note says why. To ask how one part reaches another, pass from_nodes and to_nodes instead: exact node names, one search from any of the first to any of the second. A file path stands for the symbols the file declares.generate_snapshotIndex a repository into queryable architecture facts (module, symbol, route, storage, dependency, service). Run it first, and again after code changes. Supports Go, TypeScript/JavaScript, Python, Java, Kotlin, Swift, Rust, C/C++, .NET, Ruby, PHP, Dart and more, plus Terraform and API specs. To verify a change, call set_baseline after this first snapshot, BEFORE editing. A folder holding several git repositories is indexed as a linked cluster (no_cluster=true for one repository). Several repositories go in ONE call as repo_paths. append=true adds a repository to what is loaded (automatic when you switch repos); fresh=true starts over for a different project.governing_intentKnowledge to code and back. For a fact or file: the knowledge pages whose anchors cover its file, each with type, status and outgoing relations, so the trail continues past the first hop. For a compiled page path: its anchors with measured coverage (files and facts under each). Cheaper than impact_analysis when the question is governance, not blast radius.impact_analysisBlast radius of changing a node: everything that transitively depends on it, grouped by hop depth, and the HTTP endpoints it affects. include_forward=true adds what the target itself depends on. When knowledge pages declare anchors (enola_intent), it also lists the pages anchored to the target's file: the decisions governing the code you are about to change. Output grows fast: start with output_mode=summary and keep max_depth and max_nodes bounded. The summary counts all dependents by depth, kind, type, repo and area.list_users_toolTool handler — dispatched by the MCP server, no in-code caller.locatefile:line, diff or names to symbols: fact id, body_hash, cited_hash. Stamps: current|rewritten|moved|gone|ambiguous; cited intact/changed.plan_checkPlan a change BEFORE editing. For each target (paths that may not exist yet, or exact fact names): the constraint components and rules governing it, with mode and declared because:, plus its blast radius (fan-in and fan-out, capped samples with exact counts). With patch, the counterfactual: the diff is applied to a scratch copy (the working tree is never touched) and the constraint verdicts that WOULD appear are reported as new, resolved or unchanged. Rules are read from the working tree, so an edit to them counts without regenerating. A report, not a gate. Returns JSON.query_factsPrecision filter over extracted facts, for subsets explore does not give you: all symbols in a file, all routes. Filters are OR within a dimension (name with names; file with files and file_prefix; kind with kinds) and AND across dimensions. Size an unfamiliar result set with output_mode=summary first. For dependencies, prop=source with prop_value internal, external, stdlib or framework cuts the noise.query_insightsFindings the explainers computed during generate_snapshot: the direct answer to "which routes are unused?", "where are the dependency cycles?", "which modules are god-classes?". Prefer it to hand-diffing query_facts results. Each insight has its explainer, a confidence (below 1 is a candidate to verify, not a verdict), evidence and suggested actions. Route and cross-repo findings (unused-routes, crossrepo, coverage) appear only in multi-repo snapshots of a backend plus its clients. Less obvious explainers:set_baselinePin the current snapshot as the baseline diff_snapshot compares against. Call it once at the START of a task, after generate_snapshot. It survives later generate_snapshot runs, so it holds across several edit rounds, unlike 'previous', which only ever holds the run before.show_symbolSource code of a named symbol: an exact name match if there is one, otherwise up to 5 substring matches. Pass names=[...] to read several symbols in one call. Works in multi-repo snapshots too.snapshot_receiptProof of WHAT the current snapshot was generated over (enola version, git state, extractors, a content fingerprint) and how complete extraction was (files parsed and skipped, parse errors, unresolved cross-repo edges). Read it before trusting an impact_analysis or a diff, and to spot thin extraction (a missed detection, a bad ignore glob, a failing extractor).touchedSymbols commits changed, ranked by count, from git history. Long ranges are slow.traverseMulti-hop walk of the dependency and call graph from one node: forward answers "what does X depend on?", reverse answers "what depends on X?". Use it instead of repeated explore calls. From a struct or interface, forward follows its methods and their calls; reverse also starts from its methods and constructor, so callers that reach the type only through a method (cross-repo too) appear, as in impact_analysis. It crosses interfaces both ways, marking such nodes through_interface: another implementation may run. Output grows fast: start with output_mode=summary and keep max_depth and max_nodes bounded.xSecurity checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 4.2K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by go.sum.
- !No dynamic code executionScanned 1.0K source files and found 2 calls to eval or shell execution, in internal/extractors/rustextractor/receivers.go:601 and internal/extractors/tsextractor/testcalls.go:180. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPinternal/server/server.go:276, internal/server/serve_pool.go:632
- Starts other programs
- 35 callsinternal/engine/receipt.go:168, internal/providers/providers.go:280, internal/providers/providers.go:433
- Outbound network calls
- 26 callsinternal/engine/testdata/repos/go_client_seam/api/api.go:11, internal/engine/testdata/repos/go_httpclient_multirepo/consumer/client.go:41, internal/engine/testdata/repos/go_httpclient_multirepo/consumer/client.go:42
- Writes or deletes files
- 149 callsinternal/config/config.go:1105, internal/config/config.go:1110, internal/config/config.go:1118
- Lockfile
- go.sum
Pattern matches on the source text of 1037 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 4.2K words, fetched yesterday. The original in the repository is authoritative.
Read full README