Dejared MCP Server

Explore, analyze, and decompile Java JAR files via MCP

Local serverstdioGo

What is the Dejared MCP Server?

Explore, analyze, and decompile Java JAR files via MCP

What it actually does

A Model Context Protocol (MCP) server for exploring, analyzing, and decompiling Java JAR files. Designed for AI-powered development tools, dejared-mcp connects your IDE or CLI assistant to inspect package structures, search bytecode, and decompile classes using CFR, Vineflower, or Procyon.

dejared-mcp is a Java-based MCP server distributed as an npm package. It provides nine tools organized into three categories: discovery, hunting, and deep analysis. AI assistants use these tools to navigate JAR file structures, search for classes and string literals in bytecode, and decompile .class files back to readable Java source code.

Configuration

  • Node.js 18 or later - Java 17 or later (JRE is sufficient)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

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
dejared_list_packagesList all packages with class counts
dejared_list_classesList classes in a specific package
dejared_list_resourcesList non-class resource files
dejared_read_resourceRead text resources (YAML, XML, properties, JSON, and others)
dejared_search_classSearch classes by name
dejared_search_stringSearch string literals in bytecode (URLs, SQL, error messages)
dejared_get_metadataExtract class metadata via ASM (fast, no decompilation)

How to install the Dejared MCP Server

{
  "mcpServers": {
    "dejared": {
      "command": "npx",
      "args": ["-y", "dejared-mcp"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Node.js 18 or later - Java 17 or later (JRE is sufficient)
VariableDescriptionRequired
DEJARED_JAVA_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • “Use Dejared to macOS.”
  • “Use Dejared to Windows.”
  • “Use Dejared to Command.”

Frequently asked questions

Explore, analyze, and decompile Java JAR files via MCP Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.