Server facts
jadx-mcp-server
GitHub stars
859
Last commit
Oct 19, 2026
Runtime
python
License
Apache-2.0
Project
- Author
- zinja-coder
- Repository
- github.com/zinja-coder/jadx-mcp-server
- License
- Apache-2.0
- Category
- Security & Reverse Engineering
Tech
- Runtime
- python
- Transports
- stdiohttp
- Remote access
- No
- Authentication
- None (localhost / trusted network only)
Activity
- GitHub stars
- 859
- Last commit
- Data as of
Tags
- Mcp Servers
- Python
- Reverse Engineering
- ai
- android hacking
- android reverse engineering
- application security
- llm
- mcp
- mcp server
- mobile security
- model context protocol
- model context protocol server
- vapt
Overview
Mobile security researchers looking up jadx mcp setup want LLMs to inspect decompiled Android APKs interactively instead of manually pasting massive Java or Smali files into chat. This standalone Apache-2.0 Python server (built with FastMCP and `httpx`) acts as the MCP layer paired with the Java `jadx-ai-mcp` plugin running inside `jadx-gui`. When an assistant invokes a tool, `jadx-mcp-server` sends an HTTP request to the plugin on `127.0.0.1:8650` by default, pulls live decompiled classes, Android manifests, `strings.xml`, cross-references, or active debugger state, and strips bulky Kotlin `@Metadata`/`@DebugMetadata` annotations by default (`slim=True`, saving 25%–50% of Kotlin output while preserving exact line numbers).
Tested primarily with Claude Desktop over stdio, it also supports HTTP mode (`uv run jadx_mcp_server.py --http`, listening on `127.0.0.1:8651`) plus `--jadx-host` and `--jadx-port` flags for WSL, Docker, or remote VM setups, alongside an `examples/openai_compatible_client.py` adapter for OpenAI, OpenRouter, LiteLLM, vLLM, and Ollama models. No API keys are needed between the server and plugin, so avoid binding `--host 0.0.0.0` on untrusted networks—the HTTP transport carries no authentication or TLS and permits code reading, renaming, and comment injection.
Install & configure
Requirements
- Java 11+ and `jadx-gui` with the companion `jadx-ai-mcp` plugin JAR installed from GitHub releases
- Python 3.10+ and `uv` to run `jadx_mcp_server.py` (FastMCP + `httpx`)
- Authorized APK target loaded in `jadx-gui` and an MCP client (tested on Claude Desktop) or OpenAI-compatible client adapter
uv run jadx_mcp_server.py --httpInstall the companion `jadx-ai-mcp` plugin into JADX-GUI (listens on `127.0.0.1:8650`), then run `jadx-mcp-server` over stdio or launch HTTP mode via `uv run jadx_mcp_server.py --http` (default `127.0.0.1:8651`). Use `--jadx-host` / `--jadx-port` when JADX-GUI runs on another machine.
Tools
Source: repository README. Tool descriptions are a documented snapshot, not a live capability check.
| Tool | What it does |
|---|---|
| fetch_current_class | Retrieves the name and decompiled source code of the class currently selected in JADX-GUI (Kotlin metadata stripped by default). |
| get_selected_text | Returns the exact snippet currently highlighted by the analyst inside JADX-GUI. |
| get_all_classes | Enumerates every class loaded in the active JADX project. |
| get_class_source | Fetches full decompiled source for a named class, with optional `with_line_numbers=True` for line-anchored comments. |
| get_method_by_name | Extracts the decompiled implementation of a specific method. |
| search_method_by_name | Finds matching method definitions across all classes in the APK. |
| search_classes_by_keyword | Searches decompiled class source for a target keyword with paginated results. |
| get_smali_of_class | Retrieves low-level Smali bytecode representation for a specified class. |
| get_main_activity_class | Fetches the main launcher activity declared in `AndroidManifest.xml`. |
| get_main_application_classes_code | Retrieves source code for application classes belonging to the manifest package name. |
| get_android_manifest | Returns the complete decoded `AndroidManifest.xml` file for permission and component auditing. |
| get_manifest_component | Extracts a single targeted manifest component instead of dumping the entire manifest. |
| get_strings | Reads the application's `strings.xml` resource entries. |
| get_resource_file | Fetches the contents of a specific APK resource file discovered via `get_all_resource_file_names`. |
| rename_variable | Renames an obfuscated variable within a method directly inside the JADX project. |
| add_comment | Attaches, updates, or clears persistent analysis comments on classes, methods, fields, or exact line numbers in JADX-GUI. |
| debug_get_stack_frames | Pulls active stack frames from the live JADX debugger session. |
| debug_get_variables | Inspects runtime variable states from the JADX debugger to trace execution and security issues. |
| xrefs_to_class | Finds paginated class-level and method-level cross-references pointing to a target class. |
| xrefs_to_method | Locates paginated callers and override-related cross-references for a target method. |
Use cases
- Audit `AndroidManifest.xml`, exported components, and permissions in authorized Android VAPT engagements directly from Claude.
- Deobfuscate unfamiliar APK classes by tracing cross-references (`xrefs_to_class`, `xrefs_to_method`), renaming variables, and persisting line comments back into JADX-GUI.
- Analyze live JADX debugger stack frames, threads, and variable values to map runtime execution flows and spot insecure API usage.
- Connect local Ollama, vLLM, or OpenRouter models to JADX via the bundled `examples/openai_compatible_client.py` HTTP adapter.
Strengths
- Exposes deep live JADX-GUI integration spanning Java source, Smali, manifests, resources, xrefs, variable renaming, persistent comments, and debugger state.
- Strips Kotlin `@Metadata`/`@DebugMetadata` by default (`slim=True`), cutting 25%–50% of noisy Kotlin output without breaking line numbers.
- Separates `--host`/`--port` from `--jadx-host`/`--jadx-port`, enabling split WSL, Docker, or remote-VM reverse-engineering setups.
- Includes a reference OpenAI-compatible client script with `--max-steps` and `--max-tool-chars` bounds for non-MCP model providers.
Limitations
- Requires running a companion Java plugin (`jadx-ai-mcp`) inside `jadx-gui`; the Python MCP server cannot decompile APKs standalone.
- HTTP transport (`--http`) has no built-in authentication or TLS, creating severe exposure if bound to `0.0.0.0` outside an isolated network or SSH tunnel.
- Tested primarily on Claude Desktop; the README notes early-stage development caveats and future roadmap items such as Docker packaging and React Native Hermes support.