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
- Graphify — AI coding assistant skill (Claude Code, Codex, OpenCode, OpenClaw, Factory Droid, Trae) 20.9k ★
- AI Guide — 程序员鱼皮的 AI 资源大全 + Vibe Coding 零基础教程,分享 OpenClaw 保姆级教程、大模型玩法(DeepSeek / GPT / Gemini / Claude)、最新 AI 资讯、Prompt 提 11.8k ★
- Squeez — Hook-based token compressor for 5 AI CLI hosts (Claude Code, Copilot CLI, OpenCode, Gemini CLI, Codex CLI) 188 ★
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
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
SkillTrans
A powerful CLI tool that automatically converts Claude Code Skills into native configurations for Trae, Cursor
MCPBox
Turn an Android phone into an MCP file server — AI clients (Claude / Cursor / Cline) read & write files and ru
Related Agents
Transport Verifier
Runs live end-to-end checks of a delivery transport (Herdr socket, MCP server, Claude Code or Codex hook, Open
Protocol Researcher
Verifies facts about vendor agent CLIs, SDKs, protocols and terms (Claude Code, Codex, Gemini CLI, OpenCode, A
Maker
Reviews OpenCode sessions (shared links or local history), finds repeatable workflows, and proposes automation