Model Context Protocol (MCP) server that orchestrates Java JDK 6/8 to 21 migrations with human-in-the-loop approval gates. Version 0.3.27 targets Node.js >= 20 and works with Maven/Gradle Java projects. It scans code for JDK 21 incompatibilities (e.g., javax→jakarta, removed APIs), generates a 6-phase migration plan, and requires manual approval at each gate before applying changes via OpenRewrite. Key differentiators: MCP-native integration with Claude Code, phased approach with rollback via Git, and HTML audit report generation.
npm install jdk-migration-mcpNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configure the MCP server in Claude Code settings, then use the SDK to discover a Java project for migration.
Use import syntax or dynamic import(). Set 'type': 'module' in package.json or use .mjs extension.
Use exact snake_case names as documented in the MCP tool list.
Ensure your project is a Git repository before using rollback features.
Install JDK 11+ and Maven or Gradle, and verify they are on the system PATH.
Plan for manual testing and CI pipeline validation after migration.
Use import or dynamic import instead. Set 'type': 'module' in your package.json.
Use the correct snake_case name: discover_project.
Install Git and add it to your system PATH.
Ensure your Java project uses Maven (pom.xml) or Gradle (build.gradle) and run discovery from the project root.