mcp-javadc MCP Server

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.

Local serverstdioISC

What is the mcp-javadc MCP Server?

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.

Installation

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.

Configuration values

The example declares CLASSPATH. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
classFilePathAbsolute path to the Java .class file
packageNameFully qualified Java package and class name (e.g., java.util.ArrayList)
classpath(Optional) Array of classpath directories to search
jarFilePathAbsolute path to the JAR file (required)
classNameFully qualified class name to extract from the JAR (required) (e.g., "com.example.MyClass")

How to install the mcp-javadc MCP Server

{
  "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.

Configuration

VariableDescriptionRequired
CLASSPATHDeclared in the maintainer’s client configuration.Optional