FridaSAFE
一个用于frida动态调试的mcp工具,支持自定义frida路径和名称端口,自动管理frida
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
English | 中文
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 integration
- `pyproject.toml`: Modern Python project configuration (recommended)
- `requirements.txt`: Traditional dependency file
- `config.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 config
2985a6f3705dOBSERVED · 2026-10-07Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add frida-mcp -- uvx frida-mcp
{
"mcpServers": {
"frida-mcp": {
"command": "uvx",
"args": [
"frida-mcp"
]
}
}
}Exposed tools (8)
6 read · 2 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
attach | read | |
check_frida_status | read | |
get_frontmost_application | read | |
get_messages | read | |
list_applications | read | |
spawn | read | |
start_frida_server | write | |
stop_frida_server | write |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (2)
mcp, pydantic
Gates applied: no_behavioural_pass, no_license.
2985a6f3705dfull audit observations/trust-audit/mcp-server/zhizhuodemao__frida-1.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | 2985a6f3705d | SAFE | B | 89 | first audit |
Questions
What is the Frida MCP server?
一个用于frida动态调试的mcp工具,支持自定义frida路径和名称端口,自动管理frida
What tools does Frida expose?
8 in total: 6 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Frida safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Frida need?
No credential environment variables were found in its source, so it appears to need none.
How current is this page?
The grade is for one exact copy of the source (2985a6f3705d), read on 2026-10-07. The repository is watched and re-audited when it changes.