Legacy Java to Microservices Refactoring
A community gateway to migrate legacy Jakarta EE monoliths into Spring Boot using AST parsing.
Install
Install and configure the MCP from https://github.com/rohitdas-ai/legacy-java-ast-refactor-free now. Follow the repository's installation instructions, ask me for anything you can't complete yourself, and verify its tools load.README
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 mcp
Usage
Run as stdio MCP server
python server.py
Configure 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.
Related servers
Kafka Schema Drift Auto-Fixerrohitdas-aiFree Confluent Schema Registry drift detector and version comparison gateway for the Enterprise AST Auto-Fixer. Connects to Confluent, lists subjects, and identifies added, removed, or modified fields.Everythingmodelcontextprotocol91KReference / test server with prompts, resources, and toolsFetchmodelcontextprotocol91KWeb content fetching and conversion for efficient LLM usageFilesystemmodelcontextprotocol91KSecure file operations with configurable access controls
