A Model Context Protocol (MCP) server for decompiling Java class files. This server allows AI assistants and tools that implement the MCP protocol to decompile Java bytecode into readable source code.
mcp-javadc is an MCP project maintained in the idachev/mcp-javadc repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server for decompiling Java class files. This server allows AI assistants and tools that implement the MCP protocol to decompile…”. Read the project documentation for the complete scope.
The documented npm package is @idachev/mcp-javadc. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.
The example declares CLASSPATH. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| classFilePath | Absolute path to the Java .class file |
| packageName | Fully qualified Java package and class name (e.g., java.util.ArrayList) |
| classpath | (Optional) Array of classpath directories to search |
| jarFilePath | Absolute path to the JAR file (required) |
| className | Fully qualified class name to extract from the JAR (required) (e.g., "com.example.MyClass") |
{
"mcpServers": {
"javaDecompiler": {
"command": "npx",
"args": [
"-y",
"@idachev/mcp-javadc"
],
"env": {
"CLASSPATH": "/path/to/java/classes"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| CLASSPATH | Declared in the maintainer’s client configuration. | Optional |
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Feedback bus for coding agents: pin feedback on any web app, an agent fixes it, the pin turns green
MCP server for AI assistants: read, write, edit, and manage files securely on local filesystem.
Practice library for coding agents: skill search/invoke, seed patches, scout, reflect, ADR writer
Official DevSpeak MCP server — translate technical text into formal specs from any AI IDE or agent