Goes live December 1, 2026

It appears on the home page and opens for votes when its launch week starts.

legacy2mcp

legacy2mcp

Make your existing app AI-ready in seconds. No rewrite, no risk.

FreeCodeAPIMCP2 impressionslaunches Dec 11 comment

Comments

>log in to comment
  • Balaji Venkatasubramaniyar[maker]· 9h ago

    Why teams use it No hand-written MCP adapters for every endpoint No dangerous operations slipping through unnoticed Works with the code you already have

legacy2mcp is an OWASP Incubator Project that gives AI agents safe access to the applications you already have. Point it at a Python or JavaScript/TypeScript codebase and it generates an MCP server, with guardrails built in, for just the parts you approve.

More Code tools →80 free dev tools →

Looking for MCP servers to install? MCP servers list: 289 servers by category, official and community →

  • Turns legacy SOAP/WSDL services, databases, and REST APIs into safe typed MCP servers
  • Generates audit‑logged MCP servers for AI agents
  • Open‑source Apache‑2.0 Python toolkit

legacy2mcp generates an MCP server with built-in guardrails for existing Python or JavaScript/TypeScript codebases, enabling AI agents to safely interact with legacy apps.

for
Developers who want to add AI agents to existing Python or JS/TS applications without rewriting code.
pricing
open source
license
Apache-2.0
OWASP/legacy2mcp 8 10Pythonupdated 10 hours ago
works withPythonJavaScriptTypeScriptCursorVS CodeClaude Code

Key features

6 features of legacy2mcp
  • Codebase analysis — Scans the target Python or JavaScript/TypeScript project to identify callable functions and risk levels.
  • MCP server generation — Creates a micro-service control protocol (MCP) server exposing only approved endpoints.
  • Built-in guardrails — Applies safety policies to restrict AI agents to approved operations.
  • Zero-network discovery — Uses local configuration files so the server starts instantly without external calls.
  • IDE integration — Provides .mcp.json and client configs for Cursor, VS Code, and Claude Code to auto-configure agents.
  • Configurable approvals — Allows developers to manually approve which parts of the codebase are exposed to agents.

Use cases

  • Add an AI assistant to a legacy Flask web app without code changes
  • Enable a chatbot to query existing business-logic functions in a Node.js service
  • Rapidly prototype AI-driven features on a monolithic codebase while enforcing safety policies
  • Expose selected CRUD operations of an old Python service to LLM-based agents

legacy2mcp vs alternatives

legacy2mcpSemgrepArticos MCP
Best forAI-enabled access to legacy codeStatic security analysisMCP agent testing
PricingOpen sourceSubscriptionSubscription
DevHunt upvotes1091
LaunchedDec 2026—Oct 2026
  • legacy2mcp vs Semgrep: Semgrep focuses on static code analysis for bugs and security, not on generating AI-ready MCP servers.
  • legacy2mcp vs Articos MCP: Articos MCP provides a test environment for MCP agents but does not automatically generate guardrails from existing codebases.

legacy2mcp FAQ

Do I need to modify my existing code to use legacy2mcp?+

No, you point legacy2mcp at your existing Python or JavaScript/TypeScript codebase and it generates the MCP server without rewriting code.

How does legacy2mcp ensure AI agents are safe?+

It builds guardrails into the generated MCP server and only exposes the functions you explicitly approve.

What IDEs are supported for automatic configuration?+

Cursor, VS Code, and Claude Code detect the .mcp.json and related files to auto-configure project-scoped MCP servers.

Is any network access required to start the server?+

No, the tool discovery makes zero network calls; the server starts instantly from local files.

Summarized by DevHunt from github.com · Nov 26, 2026. Details may change; check the official site.