JADX-MCP-SERVER logo

JADX-MCP-SERVER

by zinja-coder

JADX-MCP-SERVER is a Python server that connects to a custom plugin of JADX called JADX-AI-MCP, providing reverse engineering capabilities directly to local LLMs like Claude Desktop. It allows LLMs to communicate with the decompiled Android app context live.

View on GitHub

Last updated: N/A

JADX-MCP-SERVER

GitHub contributors

GitHub contributors

GitHub all releases

GitHub all releases

GitHub release (latest by SemVer)

GitHub release (latest by SemVer)

Latest release

Latest release

Java 11+

Java 11+

Python 3.10+

Python 3.10+

License

License

Still in early stage of development β€” expect bugs, crashes, and logical errors.

MCP (Model Context Protocol) server that connects to a custom plugin of JADX called JADX-AI-MCP and provides reverse engineering capabilities directly to local LLMs like Claude Desktop.

jadx-mcp-banner

jadx-mcp-banner


Download now: https://github.com/zinja-coder/jadx-ai-mcp/releases


πŸ€– 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-mcp) via MCP (Model Context Protocol). It lets LLMs communicate with the decompiled Android app context live.

πŸ€– What is JADX-AI-MCP?

JADX-AI-MCP is a plugin for the 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!

It is combination of two tools:

  1. JADX-AI-MCP
  2. JADX MCP SERVER

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 (v0.0.1-beta)

  • βœ… MCP server baked into JADX-GUI
  • βœ… Exposes currently selected class via HTTP
  • βœ… Built-in Claude Desktop integration
  • βœ… Beta support for real-time code review
  • βœ… MCP client interoperability via local loopback

πŸ› οΈ Getting Started

READ HERE

πŸ›£οΈ 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-MCP can be found here

  • The files related to jadx-mcp-server can be found in this repository only.

πŸ™ 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.

And in last thanks to @anthropics for developing the Model Context Protocol and @FastMCP team

πŸ“„ License

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

βš–οΈ Legal Warning

Disclaimer

The tools jadx-ai-mcp 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-mcp 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-mcp 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.