Skip to main content
Glama
jonmmease

jons-mcp-java

by jonmmease

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
JAVA_HOMENoJava 21+ installationAuto-detect
JDTLS_HOMENoJDT.LS installation directoryAuto-detect
JONS_MCP_JAVA_WORKSPACENoRoot workspace for Java projectsCurrent directory

Capabilities

Features and capabilities supported by this server

CapabilityDetails
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

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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