شعار frida-mobile-mcp

frida-mobile-mcp

المجتمع
monkeywave

Mobile Frida MCP Server — AI-powered mobile app exploration and testing via Frida dynamic instrumentation.

الناشرmonkeywave
المستودعfrida-mobile-mcp
اللغةTypeScript
التفريعات
2
النجوم
11
الأدوات المتاحة
31
نوع نقل البياناتstdio
الفئات
الترخيصMIT
الروابط
  • اربط الأدوات بسير عمل الذكاء الاصطناعي

    يتيح frida-mobile-mcp إمكانات MCP التي يمكن لتطبيقات الذكاء الاصطناعي العميلة ووكلاء الذكاء الاصطناعي المتوافقة استخدامها.

  • الأدوات المتاحة: 31

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم أمثلة إعداد التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات الاهتمام بالمصدر المفتوح

    النجوم: 11، والنسخ المتفرعة: 2 في المستودع المرتبط.

frida-mobile-mcp

npm

Mobile Frida MCP Server — AI-powered mobile app exploration and testing via Frida dynamic instrumentation.

Quick Start

bash
npx frida-mobile-mcp

Claude Desktop Configuration

json
{
  "mcpServers": {
    "frida": {
      "command": "npx",
      "args": ["-y", "frida-mobile-mcp"],
      "env": {
        "FRIDA_DEVICE_ID": "emulator-5554"
      }
    }
  }
}

Features

  • 32 MCP Tools — 16 high-level (Tier 1) + 16 advanced (Tier 2)
  • 8 Pre-built Scripts — SSL bypass, root/jailbreak bypass, crypto monitor, network inspector, and more
  • mobile-mcp Integration — UI automation (screenshots, taps, swipes) via gateway pattern
  • AI-Optimized UX — Structured returns with session_context and suggested_next actions
  • Android + iOS — Full support for both platforms
  • Security Guardrails — Custom scripts disabled by default, memory write protection, audit logging, rate limiting

Prerequisites

  • Node.js 18+ (22+ recommended)
  • Frida server running on target device
    • Android: adb push frida-server /data/local/tmp/ && adb shell "/data/local/tmp/frida-server &"
    • iOS: Install via Cydia/Sileo on jailbroken device
  • mobile-mcp (optional): npm install -g @mobilenext/mobile-mcp

Installation

bash
# Run directly
npx frida-mobile-mcp

# Or install globally
npm install -g frida-mobile-mcp
frida-mobile-mcp

CLI Options

Usage: frida-mobile-mcp [options]

Options:
  --transport <type>       Transport type: stdio (default: "stdio")
  --device <id>            Frida device ID
  --allow-custom-scripts   Allow custom Frida script execution
  --allow-memory-write     Allow memory write operations
  --no-mobile-mcp          Disable mobile-mcp integration
  --debug                  Enable debug logging

Note: HTTP transport (--transport http, --port) is planned but not yet implemented. Use stdio transport (default).

Tool Reference (Tier 1)

ToolDescription
detect_app_technologiesDetect app libraries and recommend scripts
get_statusOverview of devices, sessions, hooks
explore_appLaunch app + enumerate classes/modules
hook_methodOne-call method hooking (Java/ObjC/native)
trace_methodTrace function calls for a duration
execute_scriptRun custom Frida JavaScript
run_prebuilt_scriptRun from built-in script library
bypass_ssl_pinningOne-click SSL pinning bypass
search_classes_and_methodsFind classes/methods by pattern
read_memoryRead process memory
write_memoryWrite process memory (disabled by default)
scan_memorySearch for byte patterns in memory
get_messagesRetrieve script/hook output
stop_instrumentationClean up all hooks/scripts
mobile_actionGateway to mobile-mcp UI tools
frida_helpTopic-based help system

Use frida_help({ topic: "advanced" }) to discover Tier 2 tools.

Pre-built Scripts

ScriptPlatformsDescription
ssl_pinning_bypassAndroid, iOSBypass SSL certificate pinning
root_jailbreak_bypassAndroid, iOSBypass root/jailbreak detection
class_enumerationAndroid, iOSList loaded classes with filter
method_hookAndroid, iOSHook method with arg/retval logging
crypto_monitorAndroid, iOSMonitor crypto API calls
network_inspectorAndroid, iOSMonitor network socket operations
keychain_prefsAndroid, iOSMonitor Keychain/SharedPreferences
filesystem_monitorAndroid, iOSMonitor file I/O operations

mobile-mcp Integration

When mobile-mcp is installed, use the mobile_action gateway:

mobile_action({ action: "mobile_take_screenshot" })
mobile_action({ action: "mobile_click_on_screen_at_coordinates", params: { x: 100, y: 200 } })
mobile_action({ action: "mobile_list_elements_on_screen" })
mobile_action({ action: "mobile_launch_app", params: { appId: "com.example.app" } })

mobile-mcp is lazily spawned on first use. All Frida tools work without it.

Configuration

Config file: ~/.config/frida-mobile-mcp/config.json

json
{
  "allowCustomScripts": false,
  "memoryWriteEnabled": false,
  "allowedDevices": [],
  "maxSessions": 4,
  "sessionTimeoutMinutes": 30,
  "mobileMcp": {
    "enabled": true,
    "command": "npx",
    "args": ["-y", "@mobilenext/mobile-mcp@latest"]
  },
  "rateLimits": {
    "scriptsPerMinute": 10,
    "memoryReadsPerMinute": 60,
    "sessionsPerMinute": 5
  }
}

Environment Variables

  • FRIDA_DEVICE_ID — Default device ID
  • FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS=1 — Enable custom scripts
  • FRIDA_MCP_MEMORY_WRITE=1 — Enable memory writes
  • FRIDA_MCP_DEBUG=1 — Debug logging

Security

  • Custom script execution disabled by default
  • Memory writes disabled by default
  • Device allowlist support
  • Append-only audit log (~/.config/frida-mobile-mcp/audit.jsonl)
  • Rate limiting per tool category
  • Session timeout with auto-cleanup

License

MIT

التثبيت

TypingMind
{
  "mcpServers": {
    "frida-mobile-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "frida-mobile-mcp"
      ]
    }
  }
}

الأدوات المتاحة

  • get_status

    Get an overview of connected devices, active sessions, and hooks. Use this first to understand what is available before starting any instrumentation work.

  • frida_help

    Get help on how to use frida-mobile-mcp tools. Use this to learn about available capabilities, method hooking patterns, script templates, and example workflows. Topics: overview, hooking, tracing, memory, scripts, mobile, examples, advanced.

  • explore_app

    Launch a mobile app and gather comprehensive initial context including loaded classes, modules, and libraries. This is the recommended starting point for any app analysis. The app will be spawned in suspended mode, instrumented, then resumed. Returns: pid, platform, loaded modules, and filtered class list.

  • hook_method

    Hook a method to intercept calls with auto device/session management. Provide the app target and method pattern. Supports Java methods (Android: "com.example.Class.method"), Objective-C methods (iOS: "-[NSURLSession dataTaskWithRequest:]"), and native functions ("libssl.so!SSL_read"). After hooking, use get_messages to retrieve intercepted calls.

  • trace_method

    Trace function calls matching a pattern for a specified duration. Simplified frida-trace equivalent. Supports glob patterns like "com.example.network." for Java, "-[NSURL]" for ObjC, and "libssl.so!SSL_*" for native. Returns all captured invocations after the duration expires.

  • execute_script

    Execute a custom Frida JavaScript script in a target process. Provide either inline source code or a file path. Scripts can use the full Frida JavaScript API including Java.perform(), ObjC, Interceptor, Memory, Module, etc. Results are sent via send() and retrieved with get_messages. Note: custom scripts must be explicitly enabled in config (allowCustomScripts: true).

  • run_prebuilt_script

    Run a pre-built Frida script from the built-in library. Call without script_name to list all available scripts. Available scripts include: ssl_pinning_bypass, root_jailbreak_bypass, class_enumeration, method_hook, crypto_monitor, network_inspector, keychain_prefs, filesystem_monitor.

  • search_classes_and_methods

    Search for classes and their methods by pattern in a running app. Combines class enumeration and method listing. Use regex patterns like "Login", "com.example.auth.*", or "NSURLSession". Returns matching classes with their methods when include_methods is true.

  • read_memory

    Read raw memory from a target process. Requires an active session. Address as hex string (e.g., "0x7fff12345678"). Max 4MB per read. Returns hex-encoded bytes.

  • write_memory

    Write raw bytes to process memory. DISABLED by default for safety - enable via config (memoryWriteEnabled: true). Provide hex-encoded data.

  • scan_memory

    Scan process memory for a byte pattern. Pattern format: "48 89 5c 24 ?? 57" where ?? is a wildcard. Optionally limit scan to a specific module.

  • bypass_ssl_pinning

    One-click SSL certificate pinning bypass for the target app. Auto-detects platform (Android/iOS) and applies the appropriate bypass techniques. On Android: hooks TrustManager, OkHttp CertificatePinner, and Conscrypt. On iOS: hooks SecTrust, ATS, and BoringSSL verification. Returns which bypass methods were successfully installed.

  • get_messages

    Retrieve buffered messages from active scripts and hooks. Messages include hook invocations, trace hits, script output (send() calls), and errors. Use "since" for pagination to get only new messages.

  • stop_instrumentation

    Clean up all hooks, scripts, and traces on a target. The "undo everything" tool. Detaches the Frida session and frees all resources. Use when you are done analyzing an app or want to start fresh.

  • mobile_action

    Gateway to mobile-mcp UI automation tools. Perform screenshots, taps, swipes, text input, app management and more. Common actions: mobile_take_screenshot, mobile_list_elements_on_screen, mobile_click_on_screen_at_coordinates (params: {x, y}), mobile_swipe_on_screen (params: {direction}), mobile_type_keys (params: {text}), mobile_launch_app (params: {appId}), mobile_list_apps. Call without action to see all available actions.

  • list_devices

    Enumerate all Frida-visible devices including local, USB, and remote devices. Equivalent to frida-ls-devices CLI command.

  • select_device

    Explicitly select the active Frida device for subsequent operations.

  • get_device_info

    Get detailed information about a device including OS version, architecture, and system parameters.

  • list_processes

    List running processes on the target device. Equivalent to frida-ps CLI command.

  • list_applications

    List installed and running applications on the target device.

  • get_frontmost_application

    Get the currently foreground application on the device.

  • spawn_process

    Spawn a new process in suspended state for early instrumentation. The process will be paused until resume_process is called.

  • attach_process

    Attach to an already running process by PID or name.

  • resume_process

    Resume a suspended process (after spawn_process).

  • kill_process

    Kill a process on the target device.

  • detach_session

    Detach from a specific Frida session, unloading all scripts.

  • list_sessions

    List all active Frida sessions managed by this server.

  • enumerate_modules

    List loaded modules (shared libraries) in the target process.

  • enumerate_exports

    List exports (functions and variables) of a specific module.

  • hook_function

    Low-level hook with custom onEnter/onLeave JavaScript handlers. For advanced use when hook_method does not provide enough control.

  • unhook_function

    Remove a specific hook by its hook ID.

استخدم MCP الخاص بـ frida-mobile-mcp مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل frida-mobile-mcp، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal والعملية التي تعمل فيها قيد التشغيل أثناء استخدام أدوات MCP.
3

أضف frida-mobile-mcp كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ frida-mobile-mcp.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "frida-mobile-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "frida-mobile-mcp"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ frida-mobile-mcp، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ frida-mobile-mcp.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام frida-mobile-mcp لمساعدتي في هذه المهمة؟
frida-mobile-mcp
بالتأكيد. قرأته.
إليك ما وجدته باستخدام frida-mobile-mcp.

الأسئلة الشائعة

ما استخدامات خادم MCP frida-mobile-mcp؟

frida-mobile-mcp هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP frida-mobile-mcp مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام frida-mobile-mcp مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم موصل MCP frida-mobile-mcp مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل frida-mobile-mcp، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP frida-mobile-mcp بـ TypingMind؟

يعمل frida-mobile-mcp عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP frida-mobile-mcp في TypingMind؟

يتيح frida-mobile-mcp أدوات MCP بعدد 31، يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP frida-mobile-mcp؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويُبقي مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP تحت تحكمك. إذا كان frida-mobile-mcp يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

frida-version
frida-devices
frida-sessions
frida-scripts-catalog
explore_app

Systematic mobile app exploration workflow — discover, map, interact, instrument, and document.

security_audit

Comprehensive mobile app security assessment — transport, storage, crypto, detection bypass, and reporting.

trace_functionality

Reverse engineering workflow — trace how a specific feature is implemented in a mobile app.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇