
zhizhuodemao/frida-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Zhizhuodemao/Frida-MCPは、[[T0]からインポートされたMCPサーバー候補です。
概要
Zhizhuodemao/Frida-MCPは、[[T0]からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
英語 |中文
英語
Fridaを用いてAIモデルがAndroid動的解析を行うことを可能にするモデルコンテキストプロトコル(MCP)サーバーです。
プロジェクト構造
コアファイル
frida_mcp.py:Frida統合を持つメインMCPサーバーpyproject.toml: モダンPythonプロジェクト構成(推奨)requirements.txt: 従来型依存ファイルconfig.json: fridaサーバー設定のオプション設定
就任
MCP構成
MCPクライアントの設定(例:Claude Desktopの設定ファイル)に追加してください:
Windows(%APPDATA%\Claude\claude_desktop_config.json):
macOS/Linux (~/.config/claude/claude_desktop_config.json):
設定(任意)
config.json ファイルにはオプションのFridaサーバー構成が含まれています:
server_path:Androidデバイス上のfridaサーバーのカスタムパスserver_name:カスタムfridaサーバーバイナリ名server_port:Fridaサーバー通信用のポートdevice_id:特定のデバイスID(自動検出は無効)adb_path:ADB実行ファイルへのパス
利用可能なツール
spawn(package_name, initial_script?, wait_seconds?, max_output_messages?)
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Frida MCP Server | Frida MCP 服务器
English
A Model Context Protocol (MCP) server that enables AI models to perform Android dynamic analysis using Frida.
Project Structure
frida-mcp/
├── frida_mcp.py # Core MCP server implementation
├── pyproject.toml # Project dependencies and configuration
├── requirements.txt # Alternative dependency file
├── config.json # Optional Frida server configuration
├── README.md # Documentation
└── .gitignore # Git ignore rules
Core Files
frida_mcp.py: Main MCP server with Frida integrationpyproject.toml: Modern Python project configuration (recommended)requirements.txt: Traditional dependency fileconfig.json: Optional configuration for frida-server settings
Installation
# Clone repository
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 .
# Setup frida-server on 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 &"
MCP Configuration
Add to your MCP client configuration (e.g., Claude Desktop config file):
Windows (%APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"frida": {
"command": "python",
"args": ["C:\\Users\\YourName\\frida-mcp\\frida_mcp.py"],
"transport": "stdio"
}
}
}
macOS/Linux (~/.config/claude/claude_desktop_config.json):
{
"mcpServers": {
"frida": {
"command": "python",
"args": ["/home/username/frida-mcp/frida_mcp.py"],
"transport": "stdio"
}
}
}
Configuration (Optional)
The config.json file contains optional Frida server configuration:
{
"server_path": "/data/local/myfr",
"server_name": "aaabbb",
"server_port": 27042,
"device_id": null,
"adb_path": "adb"
}
server_path: Custom path for frida-server on Android deviceserver_name: Custom frida-server binary nameserver_port: Port for Frida server communicationdevice_id: Specific device ID (null for auto-detection)adb_path: Path to ADB executable
Available Tools
spawn(package_name, initial_script?, wait_seconds?, max_output_messages?)
Start an Android application with optional script injection.
attach(target, initial_script?, wait_seconds?, max_output_messages?)
Attach to a running process with optional script injection.
get_frontmost_application()
Get the currently active application.
list_applications()
List all installed applications.
Example Usage
// Hook HashMap operations
Java.perform(function() {
var HashMap = Java.use("java.util.HashMap");
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"frida": {
"command": "python",
"args": ["C:\\Users\\YourName\\frida-mcp\\frida_mcp.py"],
"transport": "stdio"
}
}
}