1J

1013503897/jadx-headless-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

178 stars 33 forks 품질 74 트렌드 24NOASSERTION

안드로이드 APK 정적 분석용 헤드리스 MCP 서버, jadx-core 위에 직접 구축됨. JADX GUI가 필요 없음.

개요

안드로이드 APK 정적 분석을 위한 헤드리스 MCP 서버, jadx-core 위에 직접 구축되었습니다. JADX GUI가 필요 없고, Python 어댑터도 필요 없으며, 설치할 플러그인도 없고 — 단 하나의 JVM 프로세스가 stdio를 통해 MCP를 전달합니다. jadx는 두 부분으로 구성되어 있습니다: jadx-core 디컴파일러 엔진과 사람이 손으로 클릭할 수 있도록 감싸는 GUI입니다. 유능한 LLM이 jadx-core에 직접 접근할 수 있게 하면 GUI는 존재할 이유를 잃게 됩니다. 모델은 같은 클래스 트리를 걷고, 같은 xrefs를 해결하며, 같은 소스를 읽습니다 — 헤드리스와 스크립팅 가능 모두 포함됩니다. 모델이 강해질수록, 자바 계층 역공학은 점점 더 수작업으로 리버스 엔지니어링하지 않고 모델에서 끝까지 실행됩니다. 그래서 이 서버는 GUI를 버리고 jadx-core를 stdio를 통해 ~26 MCP 도구로 노출합니다. 출력: 빌드/설치/jadx-headless-mcp/bin/jadx-headless-mcp (그리고 Windows에서는 .bat. 미리 만들어진 아티팩트(fat jar + 배포판 zip)는 모든 GitHub Release에 첨부되어 있으니, 하나를 다운로드하고 MCP 설정을 직접 그곳에 입력하세요.

개요(AI 번역)

영어 | 简体中文

Android APK 정적 분석용 헤드리스 MCP 서버, jadx-core 위에 직접 구축됨. JADX GUI가 필요 없고, Python 어댑터도 필요 없으며, 설치할 플러그인도 없으며, 단지 MCP를 stdio에서 말하는 JVM 프로세스 하나만 있으면 됩니다.

왜

jadx는 두 부분으로 구성되어 있습니다: jadx-core 디컴파일러 엔진과 그 위에 감싸여 있는 GUI, 사용자가 손으로 클릭할 수 있습니다.

jadx-core에 직접 접근할 수 있는 LLM을 부여하면 GUI는 존재할 이유를 잃게 됩니다. 모델은 같은 클래스 트리를 걷고, 같은 xrefs를 해결하며, 같은 소스를 읽습니다 — 헤드리스와 스크립팅 가능합니다. 모델이 강해질수록 자바 계층 역설계는 점점 더 모델을 원단에서 끝까지 실행하며, 리버스 엔지니어링이 직접 조작하지 않습니다.

그래서 이 서버는 GUI를 없애고 jadx-core를 x26개의 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
GitHub에서 전체 README 보기

설치

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