Legacy Modernization Pattern — MCP recommendations
Pattern: Legacy Modernization
Component: mcps.md
Version: 1.2 | Updated: 2026-11-06
Purpose
Least-privilege MCP servers for the Legacy Modernization pattern. Keep mcpServers: {} until a human enables stubs after MCP when and how.
Recommended MCPs
| MCP | Why for this pattern |
|---|---|
| GitHub | History and PR evidence |
| Filesystem | Legacy tree reads |
When to enable for Legacy Modernization
Filesystem reads the legacy tree; GitHub supplies history. No deploy MCP until a strangler slice has characterization coverage.
Enable rules (this pattern)
Connect through the vendor-hosted endpoint and client OAuth listed in each spec's Deployment status (2026-11) table; use read-only endpoints (/readonly, read_only=true) unless this pattern's gate authorizes writes. See MCP: remote servers & OAuth.
- Legacy modernization MCPs stay read-only during discovery
- Never commit tokens; map secrets outside git
- Record allowlist + data class in MODEL_POLICY / SoA before write tools
- Do not enable write MCP across both legacy and modern trees in one session
Anti-patterns
- Rewriting modules discovered only via unranked MCP search
- Deleting legacy paths through tools without golden-test proof
- Mixing modernization and migration cutover tools in one agent turn
Checklist
- Legacy Modernization MCPs mapped to env secrets outside git
- Unused servers remain disabled after the legacy modernization gate
- Injection / tool PEP reviewed if tools can act
Changelog
- 1.2 — 2026-11-06: Pointed enable rules at vendor-hosted, read-only-first endpoints and client OAuth.
Version: AIES v1.2.0✏️ Edit this page on GitHub