Cover image
Try Now
2025-04-13

Plugin for JADX to integrate MCP server

3 years

Works with Finder

3

Github Watches

9

Github Forks

115

Github Stars

JADX-AI

It is a still in early stage of development, so expects bugs, crashes and logical erros.

Standalone Plugin for JADX (Started as Fork) JADX with Model Context Protocol (MCP) integration for AI-powered static code analysis and real-time code review and reverse engineering tasks using Claude.

jadx-ai-banner.png Image generated using AI tools.


🤖 What is JADX-AI?

JADX-AI is a modified version of the original JADX decompiler that integrates directly with Model Context Protocol (MCP) to provide live reverse engineering support with LLMs like Claude.

Think: "Decompile → Context-Aware Code Review → AI Recommendations" — all in real time.

Watch the demo!

Watch the video

It is combination of two tools:

  1. JADX-AI
  2. JADX MCP SERVER

🤖 What is JADX-MCP-SERVER?

JADX MCP Server is a standalone Python server that interacts with a modified version of jadx-gui (see: jadx-ai) via MCP (Model Context Protocol). It lets LLMs communicate with the decompiled Android app context live.

Current MCP Tools

The following MCP tools are available:

  • fetch_current_class() — Get the class name and full source of selected class
  • get_selected_text() — Get currently selected text
  • get_all_classes() — List all classes in the project
  • get_class_source(class_name) — Get full source of a given class
  • get_method_by_name(class_name, method_name) — Fetch a method’s source
  • search_method_by_name(method_name) — Search method across classes
  • get_methods_of_class(class_name) — List methods in a class
  • get_fields_of_class(class_name) — List fields in a class
  • get_method_code(class_name, method_name) — Alias for get_method_by_name //to be removed
  • get_smali_of_class(class_name) — Fetch smali of class

🗒️ Sample Prompts

🔍 Basic Code Understanding

"Explain what this class does in one paragraph."

"Summarize the responsibilities of this method."

"Is there any obfuscation in this class?"

"List all Android permissions this class might require."

🛡️ Vulnerability Detection

"Are there any insecure API usages in this method?"

"Check this class for hardcoded secrets or credentials."

"Does this method sanitize user input before using it?"

"What security vulnerabilities might be introduced by this code?"

🛠️ Reverse Engineering Helpers

"Deobfuscate and rename the classes and methods to something readable."

"Can you infer the original purpose of this smali method?"

"What libraries or SDKs does this class appear to be part of?"

📦 Static Analysis

"List all network-related API calls in this class."

"Identify file I/O operations and their potential risks."

"Does this method leak device info or PII?"

🤖 AI Code Modification

"Refactor this method to improve readability."

"Add comments to this code explaining each step."

"Rewrite this Java method in Python for analysis."

📄 Documentation & Metadata

"Generate Javadoc-style comments for all methods."

"What package or app component does this class likely belong to?"

"Can you identify the Android component type (Activity, Service, etc.)?"

📦 Features

  • ✅ MCP server baked into JADX-GUI
  • ✅ Exposes currently selected class via HTTP
  • ✅ Exposes GUI access to Cluade, i.e. "Explain the selected code to me, Explain what is the use case of highlighted code"
  • ✅ Built-in Claude Desktop integration
  • ✅ Beta support for real-time code review
  • ✅ MCP client interoperability via local loopback

This is a developer beta — designed for reverse engineers, AI researchers, and LLM tool builders.


🛠️ Getting Started

1. Downlaod from Releases: https://github.com/zinja-coder/jadx-ai/releases

# 1. Unzip the jadx-ai-<version>.zip
unzip jadx-ai-<version>.zip

jadx-mcp-server/
├── jadx_mcp.py
├── requirements.txt
├── README.md
├── LICENSE
jadx-ai/
├── jadx-ai-plugin<version>.jar

# 2. Install the plugin

img.png img_1.png img_2.png img_3.png

# 3. Navigate to jadx_mcp_server directory
cd jadx_mcp_server

# 4. This project uses uv - https://github.com/astral-sh/uv instead of pip for dependency management.
    ## a. Install uv (if you dont have it yet)
curl -LsSf https://astral.sh/uv/install.sh | sh
    ## b. Set up the environment
uv venv
source .venv/bin/activate  # or .venv\Scripts\activate on Windows
    ## c. Install dependencies
uv pip install httpx fastmcp

# The setup for jadx-ai and jadx_mcp_server is done.

🤖 2. Claude Desktop Setup

Make sure Claude Desktop is running with MCP enabled.

For instance, I have used following for Kali Linux: https://github.com/aaddrick/claude-desktop-debian

Configure and add MCP server to LLM file:

nano ~/.config/Claude/claude_desktop_config.json

And following content in it:

{
    "mcpServers": {
        "jadx-mcp-server": {
            "command": "/home/<YOUR_USERNAME/.local/bin/uv",
            "args": [
                "--directory",
                "</PATH/TO/>jadx_mcp_server/",
                "run",
                "jadx_mcp.py"
            ]
        }
    }
}

Then, navigate code and interact via real-time code review prompts using the built-in integration.

Give it a shot

  1. Run jadx-gui and load any .apk file

img_1.png

  1. Start claude - You must see hammer symbol

img2.png

  1. Click on the hammer symbol and you should you see somthing like following:

img3.png

  1. Run following prompt:
fetch currently selected class and perform quick sast on it

img4.png

  1. Allow access when prompted:

img_1.png

  1. HACK!

img_2.png

This plugin allows total control over the GUI and internal project model to support deeper LLM integration, including:

  • Exporting selected class to MCP
  • Running automated Claude analysis
  • Receiving back suggestions inline

🛣️ Future Roadmap

  • Add Support for apktool

  • Add support for hermes code (ReactNative Application)

  • Add more useful MCP Tools

  • Make LLM be able to modify code on JADX

NOTE For Contributors

  • The files related to JADX-AI can be found under /jadx-ai/jadx-gui/src/main/java/jadx/gui/plugins/

  • The files related to jadx-mcp-server can be found here.

🙏 Credits

This project is a plugin for JADX, an amazing open-source Android decompiler created and maintained by @skylot. All core decompilation logic belongs to them. I have only extended it to support my MCP server with AI capabilities.

📎 Original README (JADX)

The original README.md from jadx is included here in this repository for reference and credit.

This MCP server is made possible by the extensibility of JADX-GUI and the amazing Android reverse engineering community.

Also huge thanks to @aaddrick for developing Claude desktop for Debian based linux.

📄 License

This plugin inherits the Apache 2.0 License from the original JADX repository.

⚖️ Legal Warning

Disclaimer

The tools jadx-ai and jadx_mcp_server are intended strictly for educational, research, and ethical security assessment purposes. They are provided "as-is" without any warranties, expressed or implied. Users are solely responsible for ensuring that their use of these tools complies with all applicable laws, regulations, and ethical guidelines.

By using jadx-ai or jadx_mcp_server, you agree to use them only in environments you are authorized to test, such as applications you own or have explicit permission to analyze. Any misuse of these tools for unauthorized reverse engineering, infringement of intellectual property rights, or malicious activity is strictly prohibited.

The developers of jadx-ai and jadx_mcp_server shall not be held liable for any damage, data loss, legal consequences, or other consequences resulting from the use or misuse of these tools. Users assume full responsibility for their actions and any impact caused by their usage.

Use responsibly. Respect intellectual property. Follow ethical hacking practices.


Built with ❤️ for the reverse engineering and AI communities.

相关推荐

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

  • 林乔安妮
  • A fashion stylist GPT offering outfit suggestions for various scenarios.

  • 1Panel-dev
  • 💬 MaxKB is a ready-to-use AI chatbot that integrates Retrieval-Augmented Generation (RAG) pipelines, supports robust workflows, and provides advanced MCP tool-use capabilities.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • GLips
  • MCP server to provide Figma layout information to AI coding agents like Cursor

  • Dhravya
  • Collection of apple-native tools for the model context protocol.

  • open-webui
  • User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

  • adafruit
  • Python code to use the MCP3008 analog to digital converter with a Raspberry Pi or BeagleBone black.

    Reviews

    5 (1)
    Avatar
    user_M9xziaao
    2025-04-17

    jadx-ai-mcp by zinja-coder is an impressive tool for anyone dealing with reverse engineering of Android applications. It simplifies the process by leveraging AI technologies, making it accessible even for those with limited experience. The user-friendly interface and powerful capabilities make it a must-have for developers and cybersecurity professionals. Highly recommended! Check it out at https://github.com/zinja-coder/jadx-ai-mcp.