frida-mobile-mcp logo

frida-mobile-mcp

Community
monkeywave

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

Publishermonkeywave
Repositoryfrida-mobile-mcp
LanguageTypeScript
Forks
2
Stars
11
Available tools
31
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    frida-mobile-mcp exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 31 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    11 stars and 2 forks from the linked repository.

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

Installation

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

Available Tools

  • 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.

Use frida-mobile-mcp MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once frida-mobile-mcp is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add frida-mobile-mcp as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the frida-mobile-mcp MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "frida-mobile-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "frida-mobile-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the frida-mobile-mcp MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the frida-mobile-mcp MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use frida-mobile-mcp to help me with this task?
frida-mobile-mcp
Sure. I read it.
Here is what I found using frida-mobile-mcp.

Frequently asked questions

What is the frida-mobile-mcp MCP server used for?

frida-mobile-mcp is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use frida-mobile-mcp MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use frida-mobile-mcp with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use frida-mobile-mcp MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With frida-mobile-mcp connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect frida-mobile-mcp MCP to TypingMind?

frida-mobile-mcp runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does frida-mobile-mcp MCP provide in TypingMind?

frida-mobile-mcp exposes 31 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use frida-mobile-mcp MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If frida-mobile-mcp requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

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.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇