
1013503897/jadx-headless-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Android APK 静的解析用のヘッドレスMCPサーバーで、jadx-core上で直接構築されています。JADXのGUIは不要です。
概要
Android APK 静的解析用のヘッドレスMCPサーバーで、jadx-core上で直接構築されています。JADX GUIは不要で、Pythonアダプターもプラグインも不要で、ただSTDIO上でMCPを話すJVMプロセスが1つだけです。 jadxは二つの部分から成り立っています。ひとつはjadx-coreのデコンパイラエンジンで、人間が手でクリックできるGUIです。 有能なLLMがjadxコアに直接アクセスできるようになれば、GUIは存在意義を失います。モデルは同じクラスツリーを歩き、同じxrefを解決し、同じソースを読み込みます—ヘッドレスかつスクリプト可能な状態です。モデルが強化されるにつれて、Java層のリバースエンジニアリングは、リバースエンジニアリングが手動で駆動することなく、モデルからエンドツーエンドで動作することが増えています。 このサーバーはGUIを廃止し、jadx-coreをx26 MCPツールとしてstdio経由で公開します。 出力:build/install/jadx-headless-mcp/bin/jadx-headless-mcp(Windowsでは.bat)。 プリビルドのアーティファクト(fat jar + distribution zip)はすべてのGitHubリリースに紐づいています — そのうちの一つをダウンロードして、MCPの設定を直接向けてください。
概要(AI 翻訳)
英語 |简体中文
Android APK 静的解析用のヘッドレスMCPサーバーで、jadx-coreに直接構築されています。JADX GUIは不要で、Pythonアダプターもプラグインもインストール不要で、ただSTDIO上でMCPを話すJVMプロセスが1つだけです。
なぜ
jadxは二つの部分から成り立っています:jadx-coreのデコンパイラエンジンと、人間が手でクリックできるGUIです。
有能なLLMがjadx-coreに直接アクセスすると、GUIは存在意義を失ってしまいます。モデルは同じクラスツリーを歩き、同じxrefを解決し、同じソースを読み取る—ヘッドレスかつスクリプト可能です。モデルが強化されるにつれて、Javaレイヤーのリバースエンジニアリングは、リバースエンジニアリングが手動で駆動することなく、モデルからエンドツーエンドで動作することが増えています。
このサーバーはGUIを廃止し、jadx-coreをスタンディオ経由で~26個のMCPツールとして公開します。
道具
セッション管理
| 道具 | 説明 |
|---|---|
status |
APKが読み込まれているかどうか;パス、クラス/リソースカウント、ロード時間 |
load_apk |
APK / DEX / JAR(現在のものを置き換える) |
unload_apk |
ロードされたAPKを解放し、メモリを解放 |
静的解析(APKを読み込み必要)
| 道具 | 説明 |
|---|---|
get_app_info |
パッケージ名、バージョン、minSdk/targetSdk、権限 |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
jadx-headless-mcp
English | 简体中文
Headless MCP server for Android APK static analysis, built directly on jadx-core. No JADX GUI required, no Python adapter, no plugin to install — just one JVM process speaking MCP over stdio.
Why
jadx is two parts: the jadx-core decompiler engine, and a GUI wrapped around it for a human to click through by hand.
Give a capable LLM direct access to jadx-core and the GUI loses its reason to exist. The model walks the same class tree, resolves the same xrefs, reads the same source — headless and scriptable. As models get stronger, Java-layer reverse engineering increasingly runs end to end from the model, without a reverse engineer driving it by hand.
So this server drops the GUI and exposes jadx-core as ~26 MCP tools over stdio.
Tools
Session management
| Tool | Description |
|---|---|
status |
Whether an APK is loaded; path, class/resource counts, load duration |
load_apk |
Load an APK / DEX / JAR (replaces any current one) |
unload_apk |
Release the loaded APK and free memory |
Static analysis (require a loaded APK)
| Tool | Description |
|---|---|
get_app_info |
Package name, version, minSdk/targetSdk, permissions |
get_android_manifest |
Full decoded AndroidManifest.xml |
get_main_activity_class |
LAUNCHER activity FQN |
get_main_application_classes_names |
FQNs of classes under the Manifest package — a lightweight “is the right APK loaded” probe |
list_classes |
Paginated class FQN list |
search_classes_by_keyword |
Substring search over class FQNs |
get_class_source |
Decompiled Java source. Auto-falls back to smali when jadx hits anti-decompile stubs (marker // [jadx java-decompile failed → smali]; smali_fallback=false to opt out). Pageable via offset (UTF-8 byte offset into full source); header reports total_bytes/next_offset. Resolves inner/$Companion names. |
get_class_summary |
Class skeleton (method signatures, fields, inner-class names) — no method bodies |
get_smali_of_class |
Smali disassembly. Pageable via offset (byte offset into full smali); header reports total_bytes/next_offset |
get_methods_of_class |
Method signatures |
get_method_by_name |
Java source of a single method; same smali fallback as get_class_source |
get_method_body |
One method as Java-if-possible-else-smali, in a JSON envelope (mode, fell_back, markers); handles overloads |
get_method_smali |
Smali of a single method (all overloads), sliced from the class disassembly |
get_inner_classes |
Inner/nested classes with both dotted full_name and raw $-joined raw_name |
resolve_class |
Resolve an inner/$Companion/fuzzy class name to its exact FQN, or list candidates |
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"jadx-headless": {
"command": "C:/tools/jadx-headless-mcp/bin/jadx-headless-mcp.bat"
}
}
}