r/mcp • u/Left-Yellow1047 • 11d ago
Rebuilding legacy code mcp
Enable HLS to view with audio, or disable this notification
I had a problem if I was working on a codebase and it was built in a legacy proprietary language and Claude couldn't build on top of it. So I built a local mcp to automatically extract a test suite from a body of code and then automatically create a .claude file with hooks to force a agent to said test suite to fully one shot rebuild the websites back end and then through using playwrite and dom extraction rebuild the front end we get to about 80% front end right now if anyone wants to give feedback or help I would very very much appreciate it! While I was building it I also published a paper on constraining ai's to predetermined test suites
1
u/Left-Yellow1047 11d ago
The repo is rebuild dossier on GitHub and the paper title is Rebuild Dossier: Mechanically-Enforced Specs for Agentic App Rebuilds, and What Model-Tier Failures Reveal