jons-mcp-java
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@jons-mcp-javashow me all references to the UserService class"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
jons-mcp-java
MCP server providing Java development capabilities through Eclipse JDT.LS.
Requirements
Python 3.10+
Java 21+ (
brew install openjdk@21)Eclipse JDT.LS (
brew install jdtls)
Installation
cd /path/to/jons-mcp-java
uv syncUsage with Claude Code
Add the MCP server to Claude Code:
claude mcp add jons-mcp-java -- uv run --project /path/to/jons-mcp-java jons-mcp-javaReplace /path/to/jons-mcp-java with the actual path to this repository.
To set the workspace root (defaults to current directory):
claude mcp add jons-mcp-java -e JONS_MCP_JAVA_WORKSPACE=/path/to/workspace -- uv run --project /path/to/jons-mcp-java jons-mcp-javaIf your project uses a specific Java version (e.g., via devbox), set JAVA_HOME:
claude mcp add jons-mcp-java \
-e JAVA_HOME=/opt/homebrew/opt/openjdk@21/libexec/openjdk.jdk/Contents/Home \
-e JONS_MCP_JAVA_WORKSPACE=/path/to/workspace \
-- uv run --project /path/to/jons-mcp-java jons-mcp-javaAvailable Tools
Tool | Description |
| Go to symbol definition |
| Find all references to a symbol |
| Find implementations of interfaces/abstract methods |
| Go to type definition |
| List all symbols in a file |
| Search for symbols across the workspace |
| Get errors and warnings |
| Get Javadoc and type information |
Environment Variables
Variable | Default | Description |
| Current directory | Root workspace for Java projects |
| Auto-detect | JDT.LS installation directory |
| Auto-detect | Java 21+ installation |
Features
Multi-project support: Automatically discovers Gradle projects in mono-repos
Lazy initialization: JDT.LS instances start on-demand per project
LRU eviction: Manages memory by limiting active instances (default: 3)
Concurrent protection: Handles parallel requests safely
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jonmmease/jons-mcp-java'
If you have feedback or need assistance with the MCP directory API, please join our Discord server