Jakarta Migration Mcp
About
A Model Context Protocol (MCP) server that provides AI coding assistants with specialized tools for analyzing and migrating Java applications from Java EE 8 (javax.*) to Jakarta EE 9+ (jakarta.*).
Explore
- Analyze Jakarta readiness with detailed dependency analysis
- Detect blockers that prevent Jakarta migration
- Recommend Jakarta-compatible versions for dependencies
- Generate comprehensive, phased migration plans
- Analyze full migration impact combining dependency and source scanning
- Verify migrated applications run correctly after migration
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Jakarta Migration McpCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
- Java 21+ - Download from Adoptium
- Verify installation: java -version
- Should show Java 21 or higher
- Node.js 18+ - Download from nodejs.org
- Verify installation: node --version
- Should show v18.0.0 or higher
npm install -g @jakarta-migration/mcp-server
npx -y @jakarta-migration/mcp-server
See Local Setup (STDIO) below for client configuration.
For local development, use STDIO transport which works with Cursor, Claude Code, and Antigravity. This is the recommended approach for maximum privacy and performance.
Option 1: Global Install (Recommended)
Install the package globally for system-wide access:
bashnpm install -g @jakarta-migration/mcp-server
After installation:
- The JAR file will be automatically downloaded from GitHub releases on first use
- JAR is cached in your home directory for faster subsequent runs
- You can use the command directly: jakarta-migration-mcp
Option 2: npx (No Installation)
Use npx to run without installing:
bashnpx -y @jakarta-migration/mcp-server
The -y flag automatically accepts the package download. The JAR will be downloaded and cached on first use.
Option 3: Local Development Build
If you're building from source or want to use a local JAR:
bash
export JAKARTA_MCP_JAR_PATH=/path/to/build/libs/jakarta-migration-mcp-1.0.0-SNAPSHOT.jar
$env:JAKARTA_MCP_JAR_PATH = "E:\Source\JakartaMigrationMCP\build\libs\jakarta-migration-mcp-1.0.0-SNAPSHOT.jar"
jakarta-migration-mcp --download-only
You should see:
- Java version detection
- JAR download or cache confirmation
- No errors
To use a custom JAR path or override transport, see NPM Installation Configuration.
For local HTTP-based testing or development:
1. Build the project:
bash./gradlew bootJar
2. Start server with Streamable HTTP:
Windows (PowerShell):
powershelljava -jar build\libs\jakarta-migration-mcp-1.0.0-SNAPSHOT.jar --spring.profiles.active=mcp-streamable-http
Mac/Linux:
bashjava -jar build/libs/jakarta-migration-mcp-1.0.0-SNAPSHOT.jar \
--spring.profiles.active=mcp-streamable-http
Or with SSE (legacy):
Windows (PowerShell):
powershelljava -jar build\libs\jakarta-migration-mcp-1.0.0-SNAPSHOT.jar --spring.profiles.active=mcp-sse
Mac/Linux:
bashjava -jar build/libs/jakarta-migration-mcp-1.0.0-SNAPSHOT.jar \
--spring.profiles.active=mcp-sse
3. Test the endpoint:
Windows (PowerShell):
powershell
Once configured, you can use the MCP tools in your AI assistant:
analyzeJakartaReadiness
Comprehensive project analysis with readiness score
detectBlockers
Find dependencies and patterns that prevent migration
recommendVersions
Get Jakarta-compatible version recommendations
createMigrationPlan
Generate phased migration plan with risk assessment
analyzeMigrationImpact
Analyze full migration impact combining dependency analysis and source code scanning
verifyRuntime
Test migrated application execution
| Tool | Description |
|------|-------------|
| analyzeJakartaReadiness | Comprehensive project analysis with readiness score |
| detectBlockers | Find dependencies and patterns that prevent migration |
| recommendVersions | Get Jakarta-compatible version recommendations |
| createMigrationPlan | Generate phased migration plan with risk assessment |
| analyzeMigrationImpact | Analyze full migration impact combining dependency analysis and source code scanning |
| verifyRuntime | Test migrated application execution |
See MCP Tools Documentation for detailed tool descriptions and parameters.
1. Restart your IDE completely - MCP servers load on startup
2. Check MCP server status - Look for errors in IDE logs
3. Verify configuration - Ensure JSON syntax is correct
4. Check prerequisites - Java 21+ and Node.js 18+ must be installed
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"jakarta migration mcp": {
"jakarta-migration": {
"type": "sse",
"url": "http://localhost:8080/mcp/sse"
}
}
}
}
McpServers
{
"jakarta-migration": {
"type": "sse",
"url": "http://localhost:8080/mcp/sse"
}
}
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



