Skip to content

About

Plugin for JADX to integrate MCP server

Topics

Resources

Stars

23 stars

Watchers

0 watching

Forks

ย 
ย 

Latest commit

ย 

History

511 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

JADX-AI-MCP

๐Ÿ”ฑ Fork of zinja-coder/jadx-ai-mcp

โšก Let AI directly analyze Android APKs and Java JARs via JADX + MCP protocol.

Latest release Java 11+ Python 3.10+ License

Buy Me A Coffee

็ฎ€ไฝ“ไธญๆ–‡ | ๐Ÿ“– Documentation


๐ŸŒŸ What Makes This Fork Different?

This fork provides major enhancements over the original project:

Feature Description
๐Ÿš€ Smart Batch Optimization 4-tier strategy avoids 60-120s wasted decompilation. Auto-chunks large responses (>8KB).
๐Ÿ”„ Transfer API Bypass MCP's ~16KB limit via HTTP download. Tested with 322K classes.
๐Ÿ’ผ Full JVM Support APK, JAR, AAR, DEX all supported. 5 JAR-specific tools (manifest, entry points, dependencies, services, bytecode).
โšก ClassCacheManager 10-50x faster repeated analysis with background caching and auto-invalidation.
๐Ÿณ All-in-One Docker One command deploys GUI + AI server. Multi-platform (amd64/arm64).

๐Ÿ“š 30+ bilingual guides covering deployment, tools, troubleshooting, and AI testing prompts.


โšก Quick Start

Prerequisites: Docker installed and running.

Step 1: Start the server

docker run -d --name jadx -p 6080:6080 -p 8651:8651 -v ~/apks:/apks xjoker/jadx-ai-mcp:latest

Verify the server is healthy:

curl http://localhost:8651/health
# Expected: {"status": "ok", ...}

Step 2: Load a file

Open http://localhost:6080 in your browser. Put your APK/JAR in ~/apks/ and open it in JADX.

๐Ÿ’ก Auto-load: Name your file target.apk, target.jar, target.aar, or target.dex โ€” JADX loads it automatically on startup.

โš ๏ธ You MUST load a file in JADX before AI can connect. The plugin only initializes after loading a file.

Step 3: Connect your AI client

The default MCP authentication token is admin-secret-token.

Claude Code (one command)
claude mcp add --transport http jadx http://localhost:8651/mcp \
  --header "Authorization:Bearer admin-secret-token"
OpenAI Codex CLI

Add to ~/.codex/config.toml:

[mcp_servers.jadx]
url = "http://localhost:8651/mcp"
http_headers = { Authorization = "Bearer admin-secret-token" }

Verify: codex mcp list

Claude Desktop

Add to your config file:

{
  "mcpServers": {
    "jadx": {
      "type": "http",
      "url": "http://localhost:8651/mcp",
      "headers": {
        "Authorization": "Bearer admin-secret-token"
      }
    }
  }
}
Cursor / Other MCP Clients

Add to .cursor/mcp.json or your client's MCP config:

{
  "mcpServers": {
    "jadx": {
      "type": "http",
      "url": "http://localhost:8651/mcp",
      "headers": {
        "Authorization": "Bearer admin-secret-token"
      }
    }
  }
}

See AI Client Configuration for full details.

โš ๏ธ Default Credentials โ€” change before production use! See Security Policy.

Token Default Value
MCP Admin Token admin-secret-token
JADX Plugin Token jadx-plugin-secret-token

Override via environment variables or jadx-config.toml.


๐Ÿ“– Documentation

๐Ÿš€ Getting Started

Document Description
Introduction Understand core concepts, capabilities, use cases
System Architecture Three-tier design, port reference, component communication
5-Minute Quick Start One-command Docker deployment

๐Ÿณ Deployment Guides

Document Description
Docker Complete Guide Single container, multi-container, standalone MCP Server
Docker Compose Multi-instance setup (team collaboration, version comparison)
Local Installation Without Docker

๐Ÿ”ง Configuration & Integration

Document Description
AI Client Configuration Claude, Cursor, Continue, etc.
Multi-Instance Management Parallel analysis of multiple APKs
AI Testing Prompts Automated testing templates

๐Ÿ“š Reference

Document Description
Tools Reference Complete 39 MCP tools matrix
Configuration Reference All configuration options
Security Policy Authentication, permissions, SSRF protection

๐Ÿ› ๏ธ Troubleshooting

Document Description
Common Issues FAQ + Windows/Linux/macOS specific issues
Changelog Version history

๐Ÿง  AI Skills

Install specialized analysis skills for Claude Code, Cursor, and other AI assistants:

# Install all skills
npx skills add xjoker/jadx-ai-mcp

# Install specific skill
npx skills add xjoker/jadx-ai-mcp --skill security-audit

6 available skills: quickstart, logic-tracing, security-audit, crypto-analysis, frida-hooks, refactoring

See Introduction - AI Skills System for details.


๐Ÿ™ Credits


๐Ÿ“œ License

Apache 2.0 - See LICENSE


Note: Source files keep development placeholder versions. GitHub Actions injects the release version into build artifacts, pom.xml, the Java banner, and the Python server banner during release builds.

About

Plugin for JADX to integrate MCP server

Topics

Resources

Stars

23 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages