Repository navigation
Troubleshooting
arrteann edited this page Nov 14, 2026
·
1 revision
If multiple JADX windows are open or another service occupies port 8650, jadx-mcp.auto-port-fallback (enabled by default) automatically binds to the next free port (8651, 8652, ...).
Use Plugins → Copy MCP Server Config inside jadx-gui to copy the configuration with the active port for that window.
- Check Preferences → Plugins → JADX MCP Server →
jadx-mcp.token. - Ensure your MCP client sends
"Authorization": "Bearer <your-token>", or clearjadx-mcp.tokenif you want unauthenticated local access on127.0.0.1.
jadx-mcp blocks non-loopback Host or Origin headers to prevent DNS rebinding attacks. Make sure your client connects via 127.0.0.1 or localhost.
jadx-mcp requires JADX 1.5.x nightly/dev builds or newer containing the jadx-core API additions from JADX PR #3062 (decompileWithMode, getSuperClass, getInterfaces, getShortId). Update JADX to a recent nightly/dev build if you encounter NoSuchMethodError.
-
get_class_sourceautomatically falls back toget_class_outlinewhen decompiled output exceedsmaxChars(default32000). Useget_method_sourceorstartLine/endLineto inspect specific parts. -
search_strings,search_code, andsearch_resourcesenforce atimeLimitMsbudget and settimedOut: truein the JSON response if reached. Narrow the scope withexcludeLibraries=true,excludeGenerated=true, ornameFilter.