JAIPilot — Claude Code MCP server for Java tests and setup
JAIPilot gives a coding agent workflows for generating and repairing Java tests, checking changes, and recording behavior before a refactor. Use it when you want a dedicated testing flow in your agent.
claude mcp add --transport http jaipilot https://api.jaipilot.com/functions/v1/jaipilot/mcpWhat JAIPilot does
JAIPilot connects an agent to workflows for Java testing. It can create unit tests, raise coverage, repair failing tests, check current changes, and help steady flaky tests. A separate workflow records existing behavior before production code changes.
The service checks the existing test baseline before edits, then runs focused checks and the regression suite. Coverage reports depend on configured coverage tools, and the 90% target applies to selected code. That distinction matters: the target does not mean the entire project will reach that level.
You need Git, a JDK, and the project's build tools. Sign in to a JAIPilot account to use the service; its subscription and credits apply. Review the proposed changes and git diff before accepting them.
What it helps with
- generate unit tests for a selected Java class
- raise coverage for selected code
- repair failing tests
- record behavior before a refactor
- run tests against current changes
Example prompts for the agent
- Generate unit tests for
com.acme.OrderService. - Run tests for all current changes in this project.
- Record the behavior in
src/main/java/com/acmebefore I refactor it.
How to install JAIPilot
Platform CLI: remote server
claude mcp add --transport http jaipilot https://api.jaipilot.com/functions/v1/jaipilot/mcpPlatform CLI: remote server
codex mcp add jaipilot --url https://api.jaipilot.com/functions/v1/jaipilot/mcpConfig file
{
"mcpServers": {
"jaipilot": {
"url": "https://api.jaipilot.com/functions/v1/jaipilot/mcp"
}
}
}Config file
{
"servers": {
"jaipilot": {
"type": "http",
"url": "https://api.jaipilot.com/functions/v1/jaipilot/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http jaipilot https://api.jaipilot.com/functions/v1/jaipilot/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about JAIPilot
How do I install JAIPilot in Claude Code?
Add the server with claude mcp add --transport http jaipilot https://api.jaipilot.com/functions/v1/jaipilot/mcp. Then sign in to your JAIPilot account and use it in a Java repository.
What does JAIPilot do?
It provides agent workflows for writing and repairing Java tests, checking changes, and improving coverage. One workflow creates tests that capture current behavior before a refactor.
What do I need to run JAIPilot?
You need Git, a JDK, and your project's build tools. A JAIPilot account with a subscription and credits is also required.