jons-mcp-java
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| JAVA_HOME | No | Java 21+ installation | Auto-detect |
| JDTLS_HOME | No | JDT.LS installation directory | Auto-detect |
| JONS_MCP_JAVA_WORKSPACE | No | Root workspace for Java projects | Current directory |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| diagnosticsC | Get fresh diagnostics for one Java file. |
| restart_serverA | Stop JDT.LS server(s) and clear runtime state. Servers restart lazily on the next file-backed tool call. |
| symbol_infoC | Get hover information for a symbol at the given position. |
| definitionC | Navigate to the definition of a symbol at the given position. |
| referencesC | Find all references to the symbol at the given position. |
| implementationB | Find implementations of an interface or abstract method. |
| type_definitionC | Navigate to the type definition of a symbol at the given position. |
| preview_renameC | Preview a symbol rename across the project without writing files. |
| document_symbolsC | Get all symbols defined in a Java file. |
| workspace_symbolsD | Search for symbols in an initialized project workspace. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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