MJ

mobilehackinglab/jadx-mcp-plugin

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

106 stars 15 forks 质量 59 趋势 0

mobilehackinglab/jadx-mcp-plugin 是一个从 https://github.com/mobilehackinglab/jadx-mcp-plugin. 导入的 MCP 服务器候选

概览

mobilehackinglab/jadx-mcp-plugin 是一个从 https://github.com/mobilehackinglab/jadx-mcp-plugin. 导入的 MCP 服务器候选

概述(AI 翻译)

⚙️ Jadx MCP 插件 — 通过 MCP 访问 Claude 的反编译器访问

该项目提供了一个用 Java 编写的 Jadx 插件,通过 HTTP** 暴露 Jadx API——通过模型上下文协议(MCP)实现如 Claude 等 MCP 客户端的实时交互。一个轻量级的 Python FastMCP 适配器作为 Claude 与插件之间的桥梁。这实现了智能导航和逆向工程的自动化,非常适合 AI 辅助 Android 应用的安全分析。


🧰 设置说明

安装 Python 依赖

🧠 设置 Claude MCP CLient 集成

要在 Claude Desktop 中使用该适配器,请前往 File -> Settings -> Developer -> Edit Config -> claude_desktop_config.json],添加指向 venv 中 Python 可执行文件的 MCP 服务器(以避免延迟问题),并按照以下示例显示完整的适配器路径:

Windows:

MacOS / Linux:

编辑配置后务必重启(退出)Claude。 重启后应该会这样:

✅ 使用流程

  1. 用发布中最新插件 JAR 打开 Jadx,放入 plugins/ 文件夹,或通过 Plugins -> install plugin 加载。
  2. 加载APK或DEX文件

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

⚙️ Jadx MCP Plugin — Decompiler Access for Claude via MCP

This project provides a Jadx plugin written in Java, which exposes the Jadx API over HTTP — enabling live interaction through MCP clients like Claude via the Model Context Protocol (MCP). A lightweight FastMCP adapter in Python acts as a bridge between Claude and the plugin. This enables intelligent navigation and automation of reverse engineering workflows, ideal for AI-assisted security analysis of Android apps.


🧰 Setup Instructions

# Clone this repository
git clone https://github.com/mobilehackinglab/jadx-mcp-plugin.git
cd jadx-mcp-plugin

# Create and activate a virtual environment
python3 -m venv venv

# Activate:
source venv/bin/activate      # Linux/Mac
.\venv\Scripts\activate       # Windows

Install Python dependencies

pip install -r requirements.txt 

🧠 Setup Claude MCP CLient Integration

To use this adapter in Claude Desktop, go to File -> Settings -> Developer -> Edit Config -> claude_desktop_config.json and add an MCP server pointing to the Python executable in the venv (to prevent depedency issues) and the full adapter path following below examples:

Windows:

{
  "mcpServers": {
    "Jadx MCP Server": {
      "command": "C:\\Workset\\jadx-mcp-plugin\\venv\\Scripts\\python.exe",
      "args": ["C:\\Workset\\jadx-mcp-plugin\\fastmcp_adapter.py"]
    }
  }
}

MacOS / Linux:

{
  "mcpServers": {
    "Jadx MCP Server": {
      "command": "/Users/yourname/jadx-mcp-plugin/venv/bin/python",
      "args": ["/Users/yourname/jadx-mcp-plugin/fastmcp_adapter.py"]
    }
  }
}

Make sure to restart (Quit) Claude after editing the config. After restart it should look like this:

✅ Usage Flow

  1. Open Jadx with the latest plugin JAR from the releases placed in its plugins/ folder or load it via Plugins -> install plugin.

  2. Load an APK or DEX file

  3. (Optional) You can specify the HTTP interface address by launching Jadx with:

    jadx-gui -Pjadx-mcp.http-interface=http://localhost:8085
    

    This is useful if you want to change the default host/port (http://localhost:8085).

    Note: If you change the interface address here, make sure to also update the corresponding URL in fastmcp_adapter.py to match.

  4. Claude will detect and activate the Jadx MCP Server tools.

  5. You can now list classes, fetch source, inspect methods/fields, and extract code live.


🧪 Tools Provided

Tool Description
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "Jadx MCP Server": { "command": "C:\\Workset\\jadx-mcp-plugin\\venv\\Scripts\\python.exe", "args": ["C:\\Workset\\jadx-mcp-plugin\\fastmcp_adapter.py"] } } }