Frida

Provides a Frida-based MCP server to perform Android dynamic analysis via scripted interactions.
  • python

39

GitHub Stars

python

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "zhizhuodemao-frida-mcp": {
      "command": "python",
      "args": [
        "C:\\Users\\YourName\\frida-mcp\\frida_mcp.py"
      ]
    }
  }
}

You can run a Frida-based MCP Server to empower AI models to perform Android dynamic analysis. It integrates Frida with the MCP protocol, allowing scripted interactions with Android applications from your MCP client.

How to use

You will run the MCP server locally and connect your MCP client to it using stdio transport. The server starts Python-based processes that orchestrate Frida, enabling you to spawn or attach to Android apps, inspect runtime behavior, and hook APIs as part of your AI-driven analysis workflow. Use the server to inject scripts, monitor output, and extract answers from hooked processes in real time.

How to install

Prerequisites you need before starting: Python 3.8 or newer and an Android device with Frida-server available. You will install Python dependencies, place the Frida MCP server script on your machine, and set up Frida-server on the Android device.

# Clone the project
git clone http://git.dev.sh.ctripcorp.com/octopus/frida-mcp.git
cd frida-mcp

# Install dependencies (choose one method)
# Method 1: Using pip + requirements.txt
pip install -r requirements.txt

# Method 2: Using pip + pyproject.toml (recommended)
pip install -e .

# Set up frida-server on the Android device
adb push frida-server /data/local/tmp/
adb shell "chmod 755 /data/local/tmp/frida-server"
adb shell "su -c /data/local/tmp/frida-server &"

Configuration options

{
  "server_path": "/data/local/myfr",
  "server_name": "aaabbb", 
  "server_port": 27042,
  "device_id": null,
  "adb_path": "adb"
}

Available tools

spawn

Start an Android application with an optional initial JavaScript script injected, with control over wait time and maximum output messages.

attach

Attach to a running process with an optional initial script, allowing you to inject code and observe behavior.

get_frontmost_application

Retrieve the currently active application on the device.

list_applications

List all installed applications on the device.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational