Mobile Pentest MCP Server — Extended
Provides comprehensive tools for authorized security testing of Android applications, including APK analysis, runtime instrumentation, and storage inspection.
Scans for Firebase credentials in decompiled code, helping identify misconfigured Firebase instances.
Scans for GitHub API tokens and other secrets in the app's code.
Scans for Slack tokens and webhooks in app code.
Allows querying SQLite databases extracted from the app's data directory for sensitive data.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Mobile Pentest MCP Server — Extendedcheck security flags of com.example.app"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Mobile Pentest MCP Server — Extended
A full-featured MCP server for authorized Android security testing on your own devices/accounts: static analysis (apktool, jadx, manifest, secrets scan), dynamic analysis (Frida SSL/root bypass, intent fuzzing, deep links), storage inspection (shared_prefs, SQLite), logcat, screenshots, traffic interception, and more.
Extends the original scaffold — all original tools are preserved unchanged.
⚠️ Authorization & scope
Use this only against apps where:
You have written authorization (public bug bounty with safe-harbor counts).
The mobile app is explicitly in-scope.
The program permits SSL pinning bypass / runtime instrumentation.
You test only on your own test account(s).
For practice with no permission needed: DVIA-v2, InsecureBankv2, OWASP MSTG crackmes, or your own builds.
Related MCP server: frida-mcp
Components
mobile-pentest-mcp/
├── server.py # MCP server (39 tools)
├── setup_device.sh # one-time emulator + host setup
├── requirements.txt
├── claude_desktop_config.example.json
├── frida_scripts/
│ ├── ssl_pin_bypass.js # TrustManager, OkHttp, Conscrypt, WebView, NSC
│ └── root_bypass.js # File/Runtime/Build/PackageManager/RootBeer
├── apks/ # pulled APKs
├── decoded/ # apktool output
├── jadx_out/ # jadx Java sources
├── appdata/ # pulled /data/data/<pkg>
├── captures/ # mitmproxy flow files
└── screenshots/ # screencaps + recordingsPrerequisites
Python: 3.10+, pip install -r requirements.txt
System binaries (install via your package manager):
Tool | Purpose | Install |
| device control | Android platform-tools |
| runtime instrumentation |
|
| HTTPS intercept | bundled in requirements.txt |
| decode APK resources/smali |
|
| Java decompile |
|
| APK metadata | Android SDK build-tools ( |
| DB queries |
|
setup_device.sh checks each of these and tells you what's missing.
Device: Android Studio emulator with Google-APIs image (NOT Google Play), so
adb root succeeds. Pixel images work well.
One-time setup
pip install -r requirements.txt
# Generate mitmproxy CA (run once, press q to quit)
mitmproxy
# Start your emulator from Android Studio, then:
chmod +x setup_device.sh
./setup_device.sh
# On the emulator: Settings > Security > Install certificate
# -> /sdcard/mitmproxy-ca.cer (install as CA cert)Register with Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (Mac)
or ~/.config/Claude/claude_desktop_config.json (Linux):
{
"mcpServers": {
"mobile-pentest": {
"command": "/full/path/to/venv/bin/python3",
"args": ["/full/path/to/mobile-pentest-mcp/server.py"]
}
}
}Important: use the venv's python, not system python, or mcp/frida-tools
modules won't be found. Restart Claude Desktop fully (Cmd+Q).
For Claude Code:
claude mcp add mobile-pentest /full/path/to/venv/bin/python3 /full/path/to/server.pyTools reference (39 total)
Original — device + Frida + proxy (10)
Tool | Purpose |
| adb devices -l |
| user-installed packages |
| extract installed APK to apks/ |
| install local APK |
| spawn app with SSL pin + root bypass |
| run a custom Frida JS |
| start mitmdump capture |
| stop capture |
| summarize captured HTTPS flows |
| record scope acknowledgement |
Static analysis (8)
Tool | Purpose |
| apktool decode → resources + smali |
| jadx → Java source |
| aapt badging: pkg, version, SDK, native libs |
| parsed AndroidManifest.xml + summary |
| exported activities/services/receivers/providers |
| debuggable, allowBackup, cleartext, NSC presence |
| regex-grep smali/XML for any pattern |
| preset regex pack: AWS, GCP, JWT, Slack, GitHub, HTTP URLs, Firebase |
Dynamic / device (10)
Tool | Purpose |
|
|
| broadcast / start / startservice with action+extras |
| trigger URI scheme handler |
| filtered logcat (level, tag, PID) |
| clear logcat buffers |
| parsed granted permissions + raw dumpsys |
| ps -A on device |
| screencap → screenshots/ |
| screenrecord (N sec, max 180) → mp4 |
| allow-listed adb shell command runner |
App storage (4)
Tool | Purpose |
| full /data/data// (requires root) |
| parse all SharedPreferences XML |
| pull all SQLite DBs |
| run SELECT against pulled DB (read-only) |
Network (3)
Tool | Purpose |
| manifest + NetworkSecurityConfig review |
| adb reverse tcp:X tcp:X |
| ss/netstat on device |
Helpers (4)
Tool | Purpose |
| list scripts in frida_scripts/ |
| write a new Frida JS file |
| kill running frida session |
| dump .state.json |
Typical workflow
1. check_safe_harbor_ack(program, url, in_scope=true, test_account=true)
2. install target via Play Store on emulator (manually)
3. pull_apk(package)
4. decode_apk_apktool(package=...)
5. decompile_apk_jadx(package=...)
6. get_apk_info / get_apk_manifest / list_exported_components
7. check_security_flags / check_cleartext_traffic
8. scan_for_secrets(package)
9. start_proxy(8080) # or run mitmweb separately
10. launch_with_bypass(package)
11. exercise the app on your test account
12. get_captured_flows(filter_host="api.target.com")
13. pull_app_data / read_shared_prefs / pull_databases / query_sqlite
14. get_logcat(package_pid_only=package)
15. start_activity / send_intent / test_deep_link for exported components
16. stop_proxy / stop_fridaNotes & limitations
Pinning bypass ≠ vulnerability. SSL pinning is defense-in-depth. A bug report needs an actual impact (auth bypass, IDOR, exposed PII).
Native pinning (BoringSSL in NDK) won't be caught by the JS bypass.
Frida detection: some apps detect
frida-server— try renaming binary or use a stealth fork.Play Integrity / SafetyNet will fail on rooted emulator. Apps that hard-block on it won't run.
adb_shellis allow-listed (read-ish commands only). For destructive ops, use the specific named tool.query_sqliteonly allows SELECT/PRAGMA — write operations are blocked.pull_app_data,read_shared_prefs,pull_databasesrequire root on the device. Google-APIs emulators supportadb root; Google Play emulators do not.
What this is not
Not a way to attack apps you don't have permission for.
Not a way to bypass auth, scrape other users' data, or distribute modified APKs.
Not a vulnerability scanner — it gives you visibility so you can find issues.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mtsboy01/mobile-pentest-mcp-extended'
If you have feedback or need assistance with the MCP directory API, please join our Discord server