MCP Java Decompiler Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CLASSPATH | No | Java classpath for finding class files (used when no classpath is specified in tool calls). |
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| decompile-from-pathA | Decompiles a Java .class file from a given file path |
| decompile-from-packageB | Decompiles a Java class from a package name |
| decompile-from-jarA | Decompiles a Java class from a JAR file Using mcp_javadc with Maven RepositoryWhen you need to decompile Java classes from dependencies in the M2 repository, follow these steps: Step 1: Find the JAR file locationFirst, search for the dependency JAR in the local Maven repository: Notes:
Step 2: Use the correct mcp_javadc functionOnce you have the JAR path, use this function: For specific class decompilation:
For contextual exploration:
If needed, first try to find all available classes in the JAR:
Example workflow:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool targets a distinct input source: file path, package name, and JAR file. The purposes are clearly separated with no overlap, so an agent can accurately select the correct tool.
All tool names follow the exact same pattern: 'decompile-from-' followed by the source type. This consistent verb_noun structure makes the API predictable and easy to learn.
With only 3 tools, the server is tightly scoped to the core decompilation task. Each tool earns its place by covering a different input method, and the count is well within the ideal range.
The server covers the primary decompilation sources (file, package, JAR), which handles most use cases. However, there is no batch operation or way to list classes within a package/JAR, requiring manual workarounds or repeated calls for larger tasks.