Legacy2mcp — AI skill for Claude Code
Turn legacy business systems into MCP / Tools that AI can call — an Agent Skill for Claude Code / Codex / OpenCode / CodeBuddy / Cursor / Trae.
How to install Legacy2mcp
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open yucai0302/legacy2mcp and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Legacy2mcp does
Turn legacy business systems into MCP / Tools that AI can call — an Agent Skill for Claude Code / Codex / OpenCode / CodeBuddy / Cursor / Trae.
Alternatives in AI
README
legacy2mcp
**[English](README.md)** | **[简体中文](README.zh-CN.md)**
**Turn hand-crafted legacy business systems into MCP / Tools that AI can call fluently.**
An Agent Skill that plugs into mainstream coding agents (Claude Code / Codex / OpenCode / CodeBuddy / Cursor / Trae / Qoder …). It reads a legacy repository, understands business functions **module by module**, produces a visual review page where every finding carries its source-code provenance, and — after human approval — generates a standalone MCP adapter project.
Survey → Module Map (human picks scope) → Capability Extraction (APIs / IO / logic / flows)
→ Visual Review (human approves) → Generate MCP Server → Verify & Deliver
Why
The common bottleneck in enterprise AI adoption: AI is smart, but it can't reach those systems that have been running for years. Every system needs a "retrofit" — wrapping business capabilities into MCP/Tools. This skill turns the retrofit into a **verifiable, traceable, human-in-the-loop** pipeline:
- Never swallows the whole repo: legacy systems run hundreds of thousands of lines — dumping them all into an LLM is unrealistic. Build a module map first, let a human pick the scope, then read module by module. Optionally plug in CodeGraph / Serena for further token savings (fully local, optional).
- Every conclusion has a source: each capability carries
file:lines + symbol name. Fabricated APIs and logic are forbidden. - Two human gates: module scope, and capability list + exposure method — both confirmed by a human before the pipeline moves on.
- Visual review: a self-contained single-file HTML (interaction inspired by Archify) — module tree, capability cards, input/output tables, logic checklists, business flow diagrams, exposure selection. Click "Export" to get the retrofit plan JSON.
- AI proposes, human decides: MCP stdio / MCP HTTP / REST+OpenAPI / in-process tools — the AI recommends per a deci
Related Skills
SkillTrans
A powerful CLI tool that automatically converts Claude Code Skills into native configurations for Trae, Cursor
Codetospec
Turn a legacy codebase into a verifiable, versionable knowledge graph of its business rules — LLM map/reduce i
System Prompts And Models Of AI Tools
FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Ma
System Cleanup
Agent Skill: safely clean Windows with any AI coding agent (Trae / Claude Code / Cursor / CodeBuddy / ZCode) -
AI System Prompts
FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Ma
MCPBox
Turn an Android phone into an MCP file server — AI clients (Claude / Cursor / Cline) read & write files and ru
Related Agents
Maker
Reviews OpenCode sessions (shared links or local history), finds repeatable workflows, and proposes automation
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Async Code
Use Claude Code or CodeX CLI to perform multiple tasks in parallel with a Codex-style UI, functioning as a per