JADX-MCP-SERVER

by zinja-coder
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Provides reverse engineering capabilities for Android APK files, allowing analysis of decompiled code, detection of vulnerabilities, and inspection of app components

  • Integrates with GitHub for distribution, releases, and contribution management for both the JADX-AI-MCP plugin and server components

  • Offers support for analyzing ReactNative applications through hermes code examination capabilities

JADX-MCP-服务器


立即下载: https ://github.com/zinja-coder/jadx-ai-mcp/releases


🤖 什么是 JADX-MCP-SERVER?

JADX MCP 服务器是一个独立的 Python 服务器,它通过 MCP(模型上下文协议)与jadx-gui的修改版本(参见: jadx-ai-mcp )进行交互。它允许 LLM 与反编译的 Android 应用上下文进行实时通信。

🤖 什么是 JADX-AI-MCP?

JADX-AI-MCPJADX 反编译器的一个插件,它直接与模型上下文协议 (MCP)集成**,为 Claude 等 LLM 提供实时逆向工程支持**

想想:“反编译→上下文感知代码审查→人工智能建议”——所有这些都是实时的。

观看演示!

它是两种工具的组合:

  1. JADX-AI-MCP
  2. JADX MCP 服务器

当前的 MCP 工具

以下 MCP 工具可用:

  • fetch_current_class() — 获取所选类的类名和完整源代码
  • get_selected_text() — 获取当前选定的文本
  • get_all_classes() — 列出项目中的所有类
  • get_class_source(class_name) — 获取给定类的完整源代码
  • get_method_by_name(class_name, method_name) — 获取方法的源代码
  • search_method_by_name(method_name) — 跨类搜索方法
  • get_methods_of_class(class_name) — 列出类中的方法
  • get_fields_of_class(class_name) — 列出类中的字段
  • get_method_code(class_name, method_name)get_method_by_name的别名//将被删除
  • get_smali_of_class(class_name) — 获取类的 smali

注:已在 Claude Desktop 上测试。未来可能会测试对其他 LLM 的支持。

🗒️ 示例提示

🔍 基本代码理解

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

🛡️ 漏洞检测

"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?"

🛠️ 逆向工程助手

"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?"

📦静态分析

"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代码修改

"Refactor this method to improve readability." "Add comments to this code explaining each step." "Rewrite this Java method in Python for analysis."

📄 文档和元数据

"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.)?"

📦功能(v0.0.1-beta)

  • ✅ MCP 服务器嵌入 JADX-GUI
  • ✅ 通过 HTTP 公开当前选定的类
  • ✅ 内置 Claude Desktop 集成
  • ✅ Beta 支持实时代码审查
  • ✅ 通过本地环回实现 MCP 客户端互操作

🛠️ 入门

阅读此处

🛣️ 未来路线图

  • 添加对 apktool 的支持
  • 添加对 hermes 代码(ReactNative 应用程序)的支持
  • 添加更多有用的 MCP 工具
  • 使 LLM 能够修改 JADX 上的代码
  • 添加提示模板,让 llm 可以访问 Android APK 文件作为资源
  • 最终目标:使所有 Android 逆向工程和 APK 修改工具与单个 MCP 服务器连接,从而仅从氛围上尽可能轻松地进行逆向工程 apk 文件。

投稿者须知

  • 与 JADX-AI-MCP 相关的文件可以在这里找到
  • jadx-mcp-server相关的文件只能在此存储库中找到。

🙏 致谢

这个项目是 JADX 的一个插件,JADX 是一个非常棒的开源 Android 反编译器,由@skylot创建并维护。所有核心反编译逻辑都属于他们。我仅对其进行了扩展,使其能够支持我的 MCP 服务器并具备 AI 功能。

📎 原始 README(JADX)

来自 jadx 的原始 README.md 包含在此存储库中,以供参考和参考。

该 MCP 服务器的实现得益于 JADX-GUI 的可扩展性和令人惊叹的 Android 逆向工程社区。

还要非常感谢@aaddrick为基于 Debian 的 Linux 开发 Claude 桌面。

最后感谢@anthropics开发模型上下文协议和@FastMCP团队

📄 许可证

该插件从原始 JADX 存储库继承了 Apache 2.0 许可证。

⚖️ 法律警告

免责声明

jadx-ai-mcpjadx_mcp_server工具仅用于教育、研究和道德安全评估目的。它们按“原样”提供,不附带任何明示或暗示的担保。用户应自行负责确保其使用这些工具符合所有适用的法律、法规和道德准则。

使用jadx-ai-mcpjadx_mcp_server即表示您同意仅在您获得授权测试的环境中使用这些工具,例如您拥有或您有明确分析权限的应用程序。严禁滥用这些工具进行未经授权的逆向工程、侵犯知识产权或进行恶意活动。

jadx-ai-mcpjadx_mcp_server的开发者对因使用或误用这些工具而造成的任何损害、数据丢失、法律后果或其他后果概不负责。用户对其行为以及由此造成的任何影响承担全部责任。

负责任地使用。尊重知识产权。遵循道德黑客实践。


用❤️为逆向工程和人工智能社区打造。

-
security - not tested
A
license - permissive license
-
quality - not tested

模型上下文协议服务器连接到自定义 JADX 分支(JADX-AI),并允许本地 LLM 与反编译的 Android 应用程序代码交互,以获得实时逆向工程协助。

  1. Download now: https://github.com/zinja-coder/jadx-ai-mcp/releases
    1. 🤖 What is JADX-MCP-SERVER?
    2. 🤖 What is JADX-AI-MCP?
    3. Current MCP Tools
    4. 🗒️ Sample Prompts
    5. 📦 Features (v0.0.1-beta)
    6. 🛠️ Getting Started
    7. 🛣️ Future Roadmap
    8. NOTE For Contributors
    9. 🙏 Credits
    10. 📄 License
    11. ⚖️ Legal Warning

Appeared in Searches

ID: w3epvj0e4s