Legacy2mcp
Description
Turn legacy business systems into MCP / Tools that AI can call — an Agent Skill for Claude Code / Codex / OpenCode / CodeBuddy / Cursor / Trae
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
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
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Awesome Llm Apps
100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI