Логотип 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 и выполните её в терминале. Не останавливайте процесс, пока используете MCP.

  1. Скопируйте команду настройки, показанную в TypingMind.
  2. Откройте «Терминал» в macOS или Windows Terminal в Windows.
  3. Вставьте и выполните команду.
  4. Подтвердите установку пакета, если терминал запросит разрешение продолжить.
  5. Не закрывайте окно терминала и не останавливайте процесс, пока используете инструменты 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 — один из лучших интерфейсов для чата с LLM: он объединяет разные ИИ-модели, промпты, плагины, ИИ-агентов, ключи 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 и использовать в чате или назначить ИИ-агентам.

Нужно ли передавать TypingMind свои ключи API для использования сервера 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

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇