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
リンク
  • ツールをAIワークフローに接続

    frida-mobile-mcpは、対応するAIクライアントやAIエージェントから利用できる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.

frida-mobile-mcpのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度frida-mobile-mcpに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

frida-mobile-mcpをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. frida-mobile-mcpのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "frida-mobile-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "frida-mobile-mcp"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてfrida-mobile-mcpのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. frida-mobile-mcpのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
frida-mobile-mcpを使ってこのタスクを手伝ってもらえますか?
frida-mobile-mcp
はい、読みました。
frida-mobile-mcpで調べた結果をお伝えします。

よくある質問

frida-mobile-mcp MCPサーバーは何に使いますか?

frida-mobile-mcpは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでfrida-mobile-mcp MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでfrida-mobile-mcpを利用できます。

TypingMindでfrida-mobile-mcp MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。frida-mobile-mcpを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

frida-mobile-mcp MCPをTypingMindに接続するにはどうすればよいですか?

frida-mobile-mcpはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでfrida-mobile-mcp MCPのどのようなツールを利用できますか?

frida-mobile-mcpは31個のMCPツールを提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

frida-mobile-mcp MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。frida-mobile-mcpで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

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サーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇