OWASP releases legacy2mcp tool
Understand this story
The OWASP incubator project has released the open-source tool legacy2mcp, which can analyze local Python, JavaScript/TypeScript, or Java codebases and automatically generate guarded MCP servers for business processes approved by user selection, without rewriting the original application. Usage requires Python 3.10+ and a local project in the corresponding language; no API key is needed. According to the project documentation, project contents will not be run or uploaded. Write-type tools are hidden by default and are only enabled when the --allow-writes parameter is added.
AI overview based on source reports · Updated 5 hr ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AILegacy app can't "just add AI."
legacy2mcp is an OWASP Incubator Project that analyzes an existing Python, JavaScript/TypeScript or Java codebase and generates an MCP server with guardrails for only the flows you approve, without rewriting the app. It maps entry points and business flows, labels each read-only, low-risk write or high-risk with file and line references, and produces a report where you select tools before generating a schema-validated, audit-logged server that is read-only by default. Everything runs locally, code is parsed but never imported or executed, and optional AI enrichment is off unless you provide a key.
Activity for this story
- Current comparable activity
- 9
- Peak comparable activity
- 10Dec 3 08:00
- Change in the past 24 hours
- –
Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.