Skip to main content
Glama
mustafagoksever

Java Inspector

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NODE_ENVNoSet to 'development' to enable verbose server.log output.
JAVA_HOMENoLocates java and javap.
MAVEN_CMDNoOverride executable entirely — e.g. mvnd, mvnw, or a full path.
MAVEN_HOMENoLocates mvn / mvn.cmd.
MAVEN_REPONoOverrides ~/.m2/repository.
DECOMPILER_PATHNoUse a custom Vineflower JAR instead of the bundled one.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
scan_dependenciesB

Start or check the background scan of Maven dependencies. The server automatically indexes classes in the background after the first call. Use forceRefresh to rebuild the index.

decompile_classA

Decompile a Java class from Maven dependencies into full Java source code using Vineflower. Returns the complete .java source file (method bodies included). Optionally extract a single method by name, or paginate with offset/limit. Use this when you need to read the actual implementation.

analyze_classA

Analyze a Java class structure (signatures only, no method bodies) from Maven dependencies using javap. Returns fields, methods, constructors, superclass and interfaces. Use this for a lightweight overview when you do not need full source code.

search_classB

Fuzzy search for Java classes inside the project's Maven dependencies. Results may be partial while the background scan is in progress.

get_inheritance_treeA

Get the full inheritance hierarchy (superclasses) of a Java class from Maven dependencies. The server resolves classes on-demand if they are not yet indexed.

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/mustafagoksever/java-inspector'

If you have feedback or need assistance with the MCP directory API, please join our Discord server