Java Inspector
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NODE_ENV | No | Set to 'development' to enable verbose server.log output. | |
| JAVA_HOME | No | Locates java and javap. | |
| MAVEN_CMD | No | Override executable entirely — e.g. mvnd, mvnw, or a full path. | |
| MAVEN_HOME | No | Locates mvn / mvn.cmd. | |
| MAVEN_REPO | No | Overrides ~/.m2/repository. | |
| DECOMPILER_PATH | No | Use a custom Vineflower JAR instead of the bundled one. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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