
zhizhuodemao/frida-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Zhizhuodemao/Frida-MCP는 [[T0]에서 가져온 MCP 서버 후보입니다.
개요
Zhizhuodemao/Frida-MCP는 [[T0]에서 가져온 MCP 서버 후보입니다.
개요(AI 번역)
영어 | 中文
영어
AI 모델이 Frida를 사용해 안드로이드 동적 분석을 수행할 수 있도록 하는 모델 컨텍스트 프로토콜(MCP) 서버입니다.
프로젝트 구조
핵심 파일
frida_mcp.py: Frida 통합 기능이 있는 메인 MCP 서버pyproject.toml: 최신 파이썬 프로젝트 구성 (권장)requirements.txt: 전통적인 의존성 파일config.json: frida-server 설정을 위한 선택적 구성
설치
MCP 구성
MCP 클라이언트 설정(예: Claude Desktop config file)에 추가하세요:
Windows (%APPDATA%\Claude\claude_desktop_config.json):
macOS/Linux (~/.config/claude/claude_desktop_config.json):
구성 (선택 사항)
config.json 파일에는 선택적으로 사용할 수 있는 Frida 서버 구성이 포함되어 있습니다:
server_path: 안드로이드 기기에서 frida-server를 위한 커스텀 경로server_name: 커스텀 frida-server 바이너리 이름server_port: Frida 서버 통신용 포트device_id: 특정 장치 ID (자동 감지용 null)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"
}
}
}