A lightweight, headless Java IDE for AI coding agents. Launch, testing, HotSwap, and live debugging via MCP—so agents can verify their changes.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add jolink-runtime -- uvx jolink-runtime{
"mcpServers": {
"jolink-runtime": {
"command": "uvx",
"args": ["jolink-runtime"]
}
}
}MCP Servers overview
# joLink Runtime
<!-- mcp-name: io.github.L1ch404/jolink-runtime -->
English | [简体中文](README.zh-CN.md)
**A lightweight, headless Java IDE for AI coding agents.**
Closing the loop for autonomous Java development.
> **Design principle:** Everything exists to reduce uncertainty for the LLM.
joLink does not provide an editor UI. Instead, it exposes incremental compilation,
testing, application startup and breakpoint debugging through MCP to the coding
agent you already use—so it can run the code, inspect real state, and verify its
own changes.
Persistent compilation state and HotSwap reduce repeated full rebuilds and JVM
restarts. When tests, logs and endpoint responses are not enough, the agent can
use breakpoints and inspect exception events, stack frames and variables.
Free and local. It does not require a joLink account, model API key, inference
provider, or separate agent application.
## Install
1. Open a **new chat** in your coding agent.
2. Click the copy button in the code block below, paste the entire prompt into that chat, and send it.
```text
Follow this guide:
https://github.com/L1ch404/jolink-runtime/blob/main/INSTALL.md
Install joLink MCP and its English Skill for my current agent.
Use user-level installation by default and preserve existing configuration.
Check the saved configuration and Skill file. If this chat cannot load the new MCP or Skill,
stop and tell me how to reload the client; leave connection verification to a chat after reloading.
```
3. If the agent reports that a reload is needed, reconnect MCP or restart the client
as instructed, then open a new chat. Configuration complete but not yet loaded
is not an installation failure. In the loaded chat, you can send:
```text
Verify the existing joLink MCP and jolink-java Skill in this client without reinstalling them.
Call the joLink status tool exposed by this client once, and check its Skill list or loading facility.
If either is still unavailable, report what is missing and stop; do not write a standalone verification script.
Do not start applications or run tests.
```
The guide provides official client-specific locations and examples for Codex,
Claude Code, Cursor, VS Code/Copilot, CodeBuddy, Gemini CLI, OpenCode, Cline,
Roo Code and Windsurf. All start MCP with `uvx jolink-runtime@latest` and use the same
[English Skill](skills/jolink-java/SKILL.md); no plugin bundle or universal installer
is required. MCP performs the work; the Skill helps the agent discover and use it.
The guide also covers uv setup, preserving configuration, reconnection and verification.
For Chinese instructions, use [the Chinese installation guide](https://github.com/L1ch404/jolink-runtime/blob/main/INSTALL.zh-CN.md).
## Why joLink
Coding agents are good at reading and changing code, but they can become stuck
in a loop of static assumptions:
```text
analyze
-> patch
-> assume the patch works
-> patch again
```
joLink adds the missing runtime feedback loop:
```text
analyze
-> change
-> run
-> observe
-> update the hypothesis
-> change again if necessary
```
This is useful when:
- the Java application is not running yet;
- a code change needs to be verified against real behavior;
- repeated patches have not solved the problem;
- endpoint results do not match the source-code interpretation;
- logs or tests are insufficient to explain the executed path;
- business naming is inconsistent and static search cannot find the relevant
code;
- deeper runtime evidence such as breakpoints, stacks, or variables is needed.
The goal is not to use a debugger for every problem.
Start with the cheapest useful evidence:
```text
application status
-> logs and actual outputs
-> exception events
-> executed path
-> breakpoints, stack frames, and variables
```
Debug deeper only when necessary.
## What it can do
joLink exposes four focused MCP tools:
- `java_application` — project launch, compile-aware restart (HotSwap by default),
stop, and attach;
- `java_fast_test` — selected Java tests, result details and cancellation, without an application launch;
- `java_status` — Java process discovery, compact status, on-demand details and logs;
- `java_debugger` — breakpoints, exception events, stacks, variables, and resume.
After editing a managed project, call `java_application(action=restart)`.
It incrementally compiles changes in the existing JDT workspace and prefers
HotSwap; incompatible changes restart the JVM using those same compiled outputs.
Set `hotswap=false` to force process/application reinitialization. The result's
`apply_method` distinguishes HotSwap from a real restart. See
[restart workflow](docs/project-restart.zh-CN.md).
Fast Test uses a Maven or Gradle Probe only when its small configuration cache
is absent or changed. The exported test Build World and JDT workspace persist
across MCP processes. JDT keeps main and test classes current and runs
explicit JUnit 4/5 or TestNG tests in an isolated JVM:
```text
java_fast_test(action=run,
project_path=/path/to/project,
source_files=[src/main/java/example/Service.java],
tests=[example.ServiceTest#works], timeout=60)
-> if unfinished, choose a suitable waiting interval, then call java_status(action=status)
-> read diagnostics/failures with java_fast_test(action=result, test_run_id=...)
-> cancel with java_fast_test(action=cancel, test_run_id=...)
```
`java_status(status).fast_test` stays compact. If compilation fails before `run`
returns, its reply includes compiler diagnostics directly. Errors that occur after
a timeout reply and failed-test details are available through `result`; follow
the summary's `next_action` or use its `test_run_id`, without rerunning tests.
Full compiler file lists are omitted. Only the active
and most recently completed test attempts are retained in the current MCP session;
an unavailable ID returns `TEST_RUN_NOT_FOUND`.
`passed=false` means the selected tests executed and found a failure; it is not
a Tool infrastructure error. Fast Test does not require or modify a running
application. The current JDT supports Java 8 through 26 source/target levels;
product regression covers 8, 11, 17 and 21, including separate main/test levels.
Target libraries and application/test JDKs still follow the project. Supported
build layouts include Maven jar projects, one
explicitly selected jar module in a standard Reactor, and Gradle Java builds
including multi-Project dependencies (tested with 7.4.2, 8.10 and 8.14).
Maven and Gradle multi-module launch and Fast Test resolve the selected
module's upstream dependencies into separate JDT projects in one Worker.
Unchanged modules reuse their output; JavaBuilder propagates changed APIs and
constants to affected downstream sources. Local module dependencies use current
workspace output rather than installed JARs; Maven also supports test-jar
dependencies. See [Gradle multi-module flow and evidence](docs/gradle-modules.zh-CN.md).
## Demo
**From an unexpected API response to runtime investigation.**
Reading source code tells an agent what might happen. Running the application
and inspecting its state helps the agent check what actually happens.
The screenshots below show a debugging example: an agent starts a Java
application, checks an endpoint, notices an unexpected result, and uses
joLink to investigate the execution path.
> This is a constructed demonstration scenario, not a record of an actual business incident.
> Some sensitive information in the screenshots has been redacted for privacy.
### 1. Start the application and check the actual response
The agent uses `java_application` to launch the application and `java_status`
to check its state, then sends an HTTP request to a sample risk-scoring endpoint.
For `score=80`, the expected category is `High Risk`, but the agent reports
`Medium Risk`. It checks additional boundary values before investigating further.

### 2. Set a breakpoint and inspect runtime variables
The agent uses `java_debugger` to set a breakpoint on the `Medium Risk` branch,
triggers another request, and inspects the variables after the breakpoint is hit.
The conversation shows `score=80` while execution is in the `Medium Risk`
branch. This gives the agent runtime evidence to investigate its
boundary-condition hypothesis, rather than relying only on source-code assumptions.

This example demonstrates application startup and runtime investigation.
It is not a Fast Test performance benchmark; the screenshots cover the
investigation stage, not the subsequent fix and re-verification.
## Private diagnostics
joLink keeps stdout exclusively for MCP JSON-RPC. Python lifecycle logs and
tracebacks are also written to a bounded private rotating file:
```text
Windows: %LOCALAPPDATA%\jolink-runtime\logs\mcp.log
macOS/Linux: $XDG_CACHE_HOME/jolink-runtime/logs/mcp.log
or ~/.cache/jolink-runtime/logs/mcp.log
```
`status` does not return `mcp.log` paths or logging configuration, even with `details=true`.
Read the local file at the path above when diagnosing joLink itself. A diagnostic-file
failure never prevents the MCP server from starting. The file is limited to
4 MiB with three rotated backups; stdout remains untouched.
`java_status(action=status)` is a compact overview: readiness, process/debug state,
active operation and recent restart/Test summaries. Read `java_status(action=status, details=true)`
for current launch errors, full `last_reload`, compiler/cache settings and timings.
Completed `launch/restart` calls already return their own detailed result; the
flag is useful when an operation continued after the synchronous reply timeout.
Neither call reads or embeds build logs. Use `java_status(action=logs, source=build)`
for the curreWhat people ask about jolink-runtime
What is L1ch404/jolink-runtime?
+
L1ch404/jolink-runtime is mcp servers for the Claude AI ecosystem. A lightweight, headless Java IDE for AI coding agents. Launch, testing, HotSwap, and live debugging via MCP—so agents can verify their changes. It has 2 GitHub stars and its last recorded update is dated 2026-09-23.
How do I install jolink-runtime?
+
You can install jolink-runtime by cloning the repository (https://github.com/L1ch404/jolink-runtime) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is L1ch404/jolink-runtime safe to use?
+
Our security agent has analyzed L1ch404/jolink-runtime and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains L1ch404/jolink-runtime?
+
L1ch404/jolink-runtime is maintained by L1ch404. The last recorded GitHub activity is dated 2026-09-23, with 0 open issues.
Are there alternatives to jolink-runtime?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy jolink-runtime to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/l1ch404-jolink-runtime)<a href="https://claudewave.com/repo/l1ch404-jolink-runtime"><img src="https://claudewave.com/api/badge/l1ch404-jolink-runtime" alt="Featured on ClaudeWave: L1ch404/jolink-runtime" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
The fastest path to AI-powered full stack observability, even for lean teams.