连接能力
Frida MCP 为 AI Agent 提供什么
来源目录未提供结构化功能列表,请在使用前阅读源仓库文档。
安全
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。
README
仓库文档
A Model Context Protocol (MCP) implementation for Frida dynamic instrumentation toolkit.
This package provides an MCP-compliant server for Frida, enabling AI systems to interact with mobile and desktop applications through Frida's dynamic instrumentation capabilities. It uses the official MCP Python SDK to enable seamless integration with AI applications.
frida-mcp.mov
- Built with the official MCP Python SDK
- Comprehensive Frida tools exposed through MCP:
- Process management (list, attach, spawn, resume, kill)
- Device management (USB, remote devices)
- Interactive JavaScript REPL with real-time execution
- Script injection with progress tracking
- Process and device monitoring
- Resources for providing Frida data to models
- Prompts for guided Frida analysis workflows
- Progress tracking for long-running operations
- Full support for all MCP transport methods
- Python 3.8 or later
- pip package manager
- Frida 16.0.0 or later
pip install frida-mcp# Clone the repository
git clone https://github.com/yourusername/frida-mcp.git
cd frida-mcp
# Install in development mode with extra tools
pip install -e ".[dev]"To use Frida MCP with Claude Desktop, you'll need to update your Claude configuration file:
-
Locate your Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
- macOS:
-
Add the following to your configuration file:
{
"mcpServers": {
"frida": {
"command": "frida-mcp"
}
}
}Once installed, you can use Frida MCP directly from Claude Desktop. The server provides the following capabilities:
- List all running processes
- Attach to specific processes
- Spawn new processes
- Resume suspended processes
- Kill processes
- List all connected devices (USB, remote)
- Get device information
- Connect to specific devices
- Create interactive sessions with processes
- Execute JavaScript code in real-time
- Monitor process state and memory
- Hook functions and intercept calls
- Capture console.log output
- Handle errors and exceptions gracefully
- Inject custom JavaScript scripts
- Track injection progress
- Handle script errors and exceptions
- Get Frida version information
- Access process list in human-readable format
- Access device list in human-readable format
# Clone repository
git clone https://github.com/yourusername/frida-mcp.git
cd frida-mcp
# Install development dependencies
pip install -e ".[dev]"MIT
社区