Cyan Eclipse Legacy Recon MCP
OfficialParses composer.json manifests to inventory declared PHP dependencies with manifest-line evidence, flag unpinned versions, and identify EOL risk.
Detects Django version pins and flags EOL risk for Django 2.2, 3.2, 4.0, and 4.1.
Detects Flask version pins and flags EOL risk for Flask 1.0.
Reads .nvmrc runtime pin files to identify declared Node.js versions and flag EOL risk.
Scans PHP codebases and manifests, extracts import patterns, and flags EOL risk for PHP 7.4 and 8.0.
Scans Python codebases and manifests, extracts imports and runtime pins, and flags EOL risk for Python 2.7, 3.6, 3.7, and 3.8.
Scans Ruby codebases and Gemfile manifests, extracts import patterns, and flags EOL risk for Ruby 2.7 and 3.0.
Eclipse Legacy Recon MCP
Powered by Cyan Eclipse Technologies — https://cetech.ai
Point an agent at a codebase: narrowed-scope architecture map, dependency/EOL risk list, modernization estimate inputs.
Status — honest labels
v0.1.0, local, read-only. MCP over stdio, Python stdlib only. No certification claimed. The latest bench card (-10, 2026-10-26) is FAILED 22/25 at the former universal JS/TS claim; the owner disposition is to narrow the claims to the observed scope in CLAIM-SCOPE.md, not to stand the product as permanently FAILED and not to run a fourth fix round. A scoped re-bench is still required before any certification claim. Catalog entry: legacy-recon-mcp (spec sketch: mcp-product-slate-20261023.md §5). Free; services-led assessment funnel into CETech's legacy modernization line.
Related MCP server: archiet-xray
Claim scope — narrowed to what was observed
Within CLAIM-SCOPE.md, reported entries cite the file path plus the manifest line, structural fact, or inference basis they rest on. The standing UNKNOWN categories implemented by the engine carry reasons — never a guessed stack. OBSERVED is a scoped positive inventory, not an exhaustive inventory.
Withdrawn by name in the canonical scope note: JS/TS multiline block-comment continuation after a split no-closing-slash span (W1); chained no-closing-slash JS/TS spans (W2); B-LR-14 invalid-line identifier-follow shapes (W3); exhaustive OBSERVED recall (W4); dynamic-import observation or a dedicated dynamic-import UNKNOWN (W5); .mts/.cts OBSERVED extraction (W6); completeness over permission-denied subtrees (W7); report-and-skip treatment of self-referential symlink loops (W8); and hosted/authenticated/multi-tenant operation (W9).
Novel mechanism — evidence-bound recon at the narrowed scope
At the narrowed scope, the dependency inventory distinguishes, in separate lists that are never blended:
DECLARED — parsed from a manifest, with the manifest line as evidence.
OBSERVED — positive import reports in code within CLAIM-SCOPE.md, with file + line as evidence (internal imports flagged
internal); not an exhaustive inventory.INFERRED — labeled inference with its basis stated (e.g. import root
PIL→ distributionPillowvia a built-in mapping table; an import with no matching declared entry → inferred undeclared dependency).
Tools
recon_scan (combined narrowed-scope report) · architecture_map · dependency_risk_list · modernization_inputs
All take path (required string) and optional max_files (integer, 1–50000, default 5000, via the house coerce_int_param guard pattern).
Modernization outputs are INPUTS, not an estimate: LOC by language, test file presence / test-LOC ratio, manifest filesystem-mtime signals (explicitly not commit age — git history is UNKNOWN in v0.1), and coupling hotspots by fan-in. No effort, cost, or duration figure is produced.
Manifests + EOL rules supported
Manifest parsers: requirements.txt, Pipfile, pyproject.toml, setup.py/setup.cfg (python_requires), package.json, composer.json, Gemfile, pom.xml, go.mod, Cargo.toml; runtime pins from .python-version, .nvmrc, .ruby-version, runtime.txt, engines.node, requires-python, pom java.version.
EOL risk comes only from a small, explicit, versioned-in-code rules table (EOL_RULES_VERSION = 2026-10-25.1 in recon_engine.py): Python 2.7/3.6/3.7/3.8, Node 12/14/16/18, PHP 7.4/8.0, Ruby 2.7/3.0, Django 2.2/3.2/4.0/4.1, AngularJS 1.x, Rails 5.2/6.0, Flask 1.0. Every EOL claim cites its rule_id. No rule match = no claim (absence of a rule is never a claim of support). Unpinned declared versions surface as UNPINNED_VERSION.
Safety
Target code is never executed, imported, or shelled out to; no network calls.
Symlinks are never traversed — ordinary resolvable symlinks are reported; one resolving outside the target tree is flagged
escape: true. A self-referential symlink loop is the named exception in CLAIM-SCOPE.md W8: it can refuse the scan withTARGET_PATH_INVALIDinstead of being reported and skipped.Binary files are skipped and counted, never parsed as text; files over 1 MB are not text-parsed.
Caps fail visibly: hitting
max_filessetstruncated: true+MAX_FILES_REACHED— a truncated scan never presents as complete.Named, fail-closed refusals:
TARGET_NOT_FOUND,TARGET_NOT_DIRECTORY,TARGET_EMPTY,TARGET_PATH_INVALID,MAX_FILES_INVALID,ARGUMENTS_INVALID. Malformed wire args are-32602naming the argument, never a raw-32603.VCS/cache/vendor dirs (
.git,__pycache__,node_modules,vendor, …) are skipped and listed.
Run it
python3 server.py # stdio
python3 -m unittest discover -s tests # acceptance + schema fuzz
python3 smoke.py # subprocess stdio smokeFixtures: fixtures/legacy-tree/ — synthetic mixed Python+JS legacy tree: Django 3.2 + Python 3.8 + Node 16 + AngularJS EOL pins, unpinned requests, a binary blob, and a symlink escape attempt (escape_link → /etc, recreated by tests/smoke if absent).
Limitations (v0.1)
CLAIM-SCOPE.md is the controlling claim boundary. In particular:
No lockfile parsing; no Gradle dependency extraction; no git history (manifest age = mtime only); DB/CI/deployment are standing UNKNOWN categories; the EOL table is deliberately small and covers only its listed rules.
Import scanning is regex-based, not AST. OBSERVED extraction is a scoped positive report and takes at most one regex match per physical line. The bench-derived OBSERVED accuracy scope in CLAIM-SCOPE.md is stated for Python and JS/TS; no separate bench-observed accuracy claim is made for the Go/Ruby/Java/PHP import patterns.
JS/TS recall can miss split
require(/importforms, a second import on a line, and imports after template over-masking shapes named in CLAIM-SCOPE.md W4. Python recall can miss semicolon/statement-followed imports on a line, comma-list second modules, backslash continuations, and relative from-imports.Dynamic imports are not guessed into OBSERVED, and there is no dedicated dynamic-import UNKNOWN entry (W5).
.mtsand.ctsfiles do not receive OBSERVED extraction (W6).A permission-denied subdirectory can be omitted without a truncation flag, so no completeness claim is made over such a tree (W7).
A Cyan Eclipse Technologies product. The "Powered by Cyan Eclipse Technologies" attribution travels with it.
Available Tools
4 toolsarchitecture_mapB
Architecture map only, at the narrowed observed scope: languages, module/package structure, entry points, layering signals, file/size distribution, with the evidence recorded by the engine. Read-only legacy codebase recon — NARROWED OBSERVED SCOPE (CLAIM-SCOPE.md): architecture map, dependency/EOL risk list, modernization-estimate inputs. Within that scope, reported entries cite evidence or basis; standing unknowns are UNKNOWN, never guessed. OBSERVED is a scoped positive inventory, not an exhaustive or universal JS/TS claim.
Inputs: path (required), max_files.
dependency_risk_listB
Scoped dependency inventory (DECLARED / OBSERVED / INFERRED, kept separate; OBSERVED is positive and non-exhaustive) + EOL/unpinned risk list. Each EOL entry cites its rule id from the versioned rules table. Read-only legacy codebase recon — NARROWED OBSERVED SCOPE (CLAIM-SCOPE.md): architecture map, dependency/EOL risk list, modernization-estimate inputs. Within that scope, reported entries cite evidence or basis; standing unknowns are UNKNOWN, never guessed. OBSERVED is a scoped positive inventory, not an exhaustive or universal JS/TS claim.
Inputs: path (required), max_files.
modernization_inputsB
Modernization estimate INPUTS only (LOC by language, test presence/ratio, manifest age signals, coupling hotspots by fan-in) — raw inputs, NOT an estimate. Read-only legacy codebase recon — NARROWED OBSERVED SCOPE (CLAIM-SCOPE.md): architecture map, dependency/EOL risk list, modernization-estimate inputs. Within that scope, reported entries cite evidence or basis; standing unknowns are UNKNOWN, never guessed. OBSERVED is a scoped positive inventory, not an exhaustive or universal JS/TS claim.
Inputs: path (required), max_files.
recon_scanC
Narrowed-scope recon of a local codebase directory: architecture map + dependency/EOL risks + modernization-estimate inputs, in one scoped report. Read-only; never executes target code. Read-only legacy codebase recon — NARROWED OBSERVED SCOPE (CLAIM-SCOPE.md): architecture map, dependency/EOL risk list, modernization-estimate inputs. Within that scope, reported entries cite evidence or basis; standing unknowns are UNKNOWN, never guessed. OBSERVED is a scoped positive inventory, not an exhaustive or universal JS/TS claim.
Inputs: path (required), max_files.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a distinct, explicitly stated output slice (architecture map, dependency/EOL risks, modernization inputs) plus one composite scan. The only overlap is deliberate: recon_scan is the union of the other three, but the descriptions make the composite-vs-drill-down distinction clear enough that an agent can choose correctly.
All four names are snake_case and domain-oriented, which is consistent at the casing level. Minor deviation: recon_scan uses a verb_noun form while the other three are noun phrases, a small stylistic inconsistency that remains readable.
Four tools is a tight, well-scoped surface for a focused read-only recon domain. The only quibble is that three of the four are subsumed by recon_scan, so the effective unique capability set is smaller than the count suggests.
The stated domain - architecture, dependency/EOL risk, modernization estimate inputs - is fully covered, including an aggregate entry point, and read-only means no create/update/delete operations are needed. Minor gaps: no way to compare scans over time or export/persist a report.
Related MCP Connectors
IaC, CI and dependency security review for coding agents: local scan CLI plus hosted OAuth MCP.
Live GitHub repo AST X-Ray, 42 coding-agent DoD gates, Git worktree guards & brownfield baselines.
Live GitHub repo AST X-Ray, 42 coding-agent DoD gates, Git worktree guards & brownfield baselines.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Related MCP Servers
- AlicenseBqualityDmaintenanceTransforms codebases into structural knowledge graphs for AI agents and developers, providing precise architectural awareness and dependency mapping.1530MIT
- AlicenseAqualityCmaintenanceExtracts deterministic architecture maps from codebases for AI agents, enabling queries about blast radius, routes, security findings, and production readiness without sending code anywhere.6MIT
- AlicenseNot gradedqualityBmaintenanceGive your coding agent the dependency graph it is about to change: scan, diff, explain, audit.14Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI coding agents to index codebases into a queryable knowledge model and ask for the smallest architectural surface a task likely touches, with evidence, confidence, and freshness, via MCP tools.Apache 2.0