Enables dynamic instrumentation of Android applications, allowing agents to enumerate Java classes, hook methods, find heap instances, and interact with the Java runtime on connected devices.
Provides capabilities for instrumenting iOS apps through Objective-C method hooking, instance searching, and memory analysis on jailbroken devices or via Frida-gadget.
Supports dynamic instrumentation of macOS processes, enabling native function hooking, Objective-C method interception, and instruction-level tracing.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Frida MCP ServerAttach to the Spotify process and trace all calls to its crypto functions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Frida MCP Server
A comprehensive MCP (Model Context Protocol) server that exposes the full power of Frida's dynamic instrumentation toolkit to AI agents.
Features
55 tools covering all major Frida capabilities:
Device & Process Management
frida_list_devices- List all available Frida devicesfrida_get_device_info- Get detailed device informationfrida_list_processes- List running processesfrida_list_applications- List installed applicationsfrida_get_process- Get process details by name/PIDfrida_spawn- Spawn a new process (suspended)frida_resume- Resume a spawned processfrida_kill- Kill a process
Session Management
frida_attach- Attach to a running processfrida_detach- Detach from a session
Script Injection
frida_inject_script- Inject and run JavaScript in a processfrida_unload_script- Unload an injected scriptfrida_rpc_call- Call RPC functions in scriptsfrida_evaluate- Evaluate arbitrary JavaScript
Function Hooking
frida_hook_function- Hook native functionsfrida_intercept_method- Intercept ObjC/Java methodsfrida_trace- Trace function calls with patterns
Memory Operations
frida_memory_scan- Scan memory for patternsfrida_memory_read- Read bytes from memoryfrida_memory_write- Write bytes to memoryfrida_search_strings- Search for strings in memory
Module Enumeration
frida_list_modules- List loaded modulesfrida_list_exports- List module exportsfrida_list_imports- List module importsfrida_resolve_exports- Find functions by pattern (ApiResolver)
Java (Android)
frida_java_enumerate_classes- List Java classesfrida_java_hook_method- Hook Java methodsfrida_java_find_instances- Find class instances on heapfrida_java_call_method- Call Java methods
Objective-C (iOS/macOS)
frida_objc_enumerate_classes- List ObjC classesfrida_objc_hook_method- Hook ObjC methodsfrida_objc_find_instances- Find class instances on heap
Advanced
frida_stalker_trace- Instruction-level tracingfrida_inject_library- Inject shared librariesfrida_enable_spawn_gating- Intercept new processesfrida_disable_spawn_gating- Disable spawn gatingfrida_get_pending_spawn- Get pending spawned processesfrida_get_process_info- Detailed process information
File Operations
frida_pull_file- Download file from devicefrida_push_file- Upload file to device
Installation
Usage
As stdio MCP server
Example MCP configuration
Example Workflows
1. List processes and attach
2. Hook a function
3. Trace SSL/crypto calls
4. Android app analysis
5. Memory forensics
Device Types
local- Local system (default)usb- USB-connected device (Android/iOS with frida-server)remote- Remote frida-server over TCP
Requirements
Python 3.8+
Frida 16.0+ (
pip install frida frida-tools)MCP SDK (
pip install mcp)
For mobile device support:
Android: Install frida-server on the device
iOS: Install frida via jailbreak or use frida-gadget
Security Notes
⚠️ Frida is a powerful tool that can be used for both security research and malicious purposes. Only use on systems you own or have explicit permission to test.
License
MIT
Memory Management (NEW)
frida_memory_alloc- Allocate memory in target processfrida_memory_protect- Change memory page permissionsfrida_enumerate_ranges- List memory ranges/maps
Thread Operations (NEW)
frida_enumerate_threads- List all threads with statefrida_backtrace- Get stack backtrace
Symbol Resolution (NEW)
frida_debug_symbol- Resolve symbols from address/namefrida_list_symbols- List debug symbols from module
Native Calling (NEW)
frida_native_function- Call native functions directlyfrida_cmodule- Compile and load inline C code
ObjC Extended (NEW)
frida_objc_call_method- Call ObjC methods on class/instance
Java Extended (NEW)
frida_java_load_dex- Load DEX files dynamically
Network (NEW)
frida_socket_connect- Create socket connections from process