legacy-java-ast-refactor-free
Legacy Java to Microservices Refactoring
Documentation
Legacy Java to Spring Boot Refactoring — Community Edition
> Free discovery gateway and Java monolith project analyzer.
> For automated AST domain extraction, dependency resolution, Spring Boot 3.4 scaffolding, and PR creation,
> upgrade to the Enterprise edition on MCPize →
What This Does
This free MCP server connects to your local codebase and allows your AI client to:
- ✅ Scan local Java package directories
- ✅ Discover monolithic project structures and classes
- ❌ Does NOT run deep AST domain boundary analysis (Enterprise only)
- ❌ Does NOT rewrite code or translate annotations (Enterprise only)
- ❌ Does NOT scaffold Spring Boot 3.4 microservices (Enterprise only)
- ❌ Does NOT validate Maven dependencies or build compilation (Enterprise only)
Install
No external packages are required except the standard MCP SDK.
pip install mcpUsage
Run as stdio MCP server
python server.pyConfigure in your MCP client (e.g., Claude Desktop or Cursor)
Add the following block to your client configurations:
{
"mcpServers": {
"legacy-java-refactor-free": {
"command": "python",
"args": ["/path/to/freemium-stub/server.py"]
}
}
}Available Tools
`refactor_java_monolith`
Prompts the refactoring gateway to begin analysis.
- Arguments:
- `target_path` *(string)*: Absolute path to the source root of the legacy Java package to analyze.
Enterprise Features (Upgrade to Unlock)
| Feature | Community (Free) | Enterprise ($49.99/mo) |
|---|---|---|
| Monolith directory discovery | ✅ | ✅ |
| Identify Java class structures | ✅ | ✅ |
| Advanced AST Domain Boundary Analysis | ❌ | ✅ (Included) |
| Jakarta EE to Spring Boot 3.4 Scaffolding | ❌ | ✅ (Included) |
| Automated Dependency Mapping & Validation | ❌ | ✅ (Included) |
| Enterprise Sandbox Execution Controls | ❌ | ✅ (Included) |
License
MIT — Community Edition only. Enterprise refactoring core-logic is proprietary.
Frequently asked questions
What is legacy-java-ast-refactor-free?
legacy-java-ast-refactor-free is Legacy Java to Microservices Refactoring
How do I install legacy-java-ast-refactor-free?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is legacy-java-ast-refactor-free open source?
Yes — it is hosted on GitHub at https://github.com/rohitdas-ai/legacy-java-ast-refactor-free.
Related MCP tools
Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory across sessions with a self-hosted knowledge graph engine.
Automate browser based workflows with AI
Hindsight: Agent Memory That Learns
A privacy-first app that strips AI watermarks from content you own.
Agent framework and applications built upon Qwen>=3.0, featuring Function Calling, MCP, Code Interpreter, RAG, Chrome extension, etc.
The power of Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure / Grok / Ollama / Custom Model / All Of The Above] working as one.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP