Frida Mobile MCP — Claude Code MCP server: what it does
Frida Mobile MCP hands an AI agent dynamic instrumentation for Android and iOS through Frida 17: hooks, call tracing, memory secret hunting, SSL pinning bypass.
MIT ★ 21 updated 2026-10-23
claude mcp add --env FRIDA_DEVICE_ID=<FRIDA_DEVICE_ID> --env FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS=<FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS> --env FRIDA_MCP_MEMORY_WRITE=<FRIDA_MCP_MEMORY_WRITE> --env FRIDA_MCP_REMOTE=<FRIDA_MCP_REMOTE> --env FRIDA_MCP_SCHEMA_PROFILE=<FRIDA_MCP_SCHEMA_PROFILE> --transport stdio frida-mobile-mcp -- npx -y frida-mobile-mcpWhat Frida Mobile MCP does
The server exposes 71 tools on top of Frida 17. High-level calls sort out the device and the session: launch an app suspended, resume it, hook a Java, ObjC or native method, sweep memory for secrets. Underneath sit the primitives — spawn, attach, module and symbol lists, address lookup, memory dumps.
Addresses stay in module+0xoffset form, the notation Ghidra and IDA use, so a finding from a static tool lands in a live process without arithmetic. Results come wrapped in an evidence envelope with evidence_id, limitations and coverage. Frida 17 took the Java and ObjC bridges out of the runtime, so both ship inside the package; validate_script also points out calls that break in 17 and names the replacement.
Node.js 22.12 or newer is the floor, along with a device or emulator on frida-server 17.x. The major version must line up with the bundled frida-node 17.24.3, otherwise attach fails, and frida-mobile-mcp doctor prints both versions and flags a mismatch. pip install friTap is optional for capture_tls; without it the pinned agent is fetched on first use.
What it helps with
- hook a Java method and read its arguments
- pull secrets out of memory and keep them as friTap patterns
- bypass SSL pinning and capture TLS keys
- walk the UI and measure reachability coverage
- carry an address from Ghidra into a running process
Example prompts for the agent
- Launch the app and list the loaded classes with their methods
- Hook
com.example.Login.checkand print the arguments - Dump memory at
libnative.so+0x1a2cand show what is there
How to install Frida Mobile MCP
Platform CLI
claude mcp add --env FRIDA_DEVICE_ID=<FRIDA_DEVICE_ID> --env FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS=<FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS> --env FRIDA_MCP_MEMORY_WRITE=<FRIDA_MCP_MEMORY_WRITE> --env FRIDA_MCP_REMOTE=<FRIDA_MCP_REMOTE> --env FRIDA_MCP_SCHEMA_PROFILE=<FRIDA_MCP_SCHEMA_PROFILE> --transport stdio frida-mobile-mcp -- npx -y frida-mobile-mcpReplace <…> with your own values. 8 more environment variables are in the server README
Platform CLI
codex mcp add frida-mobile-mcp --env FRIDA_DEVICE_ID=<FRIDA_DEVICE_ID> --env FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS=<FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS> --env FRIDA_MCP_MEMORY_WRITE=<FRIDA_MCP_MEMORY_WRITE> --env FRIDA_MCP_REMOTE=<FRIDA_MCP_REMOTE> --env FRIDA_MCP_SCHEMA_PROFILE=<FRIDA_MCP_SCHEMA_PROFILE> -- npx -y frida-mobile-mcpReplace <…> with your own values. 8 more environment variables are in the server README
Config file
{
"mcpServers": {
"frida-mobile-mcp": {
"command": "npx",
"args": [
"-y",
"frida-mobile-mcp"
],
"env": {
"FRIDA_DEVICE_ID": "<FRIDA_DEVICE_ID>",
"FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS": "<FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS>",
"FRIDA_MCP_MEMORY_WRITE": "<FRIDA_MCP_MEMORY_WRITE>",
"FRIDA_MCP_REMOTE": "<FRIDA_MCP_REMOTE>",
"FRIDA_MCP_SCHEMA_PROFILE": "<FRIDA_MCP_SCHEMA_PROFILE>"
}
}
}
}Replace <…> with your own values. 8 more environment variables are in the server README
Config file
{
"servers": {
"frida-mobile-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"frida-mobile-mcp"
],
"env": {
"FRIDA_DEVICE_ID": "<FRIDA_DEVICE_ID>",
"FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS": "<FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS>",
"FRIDA_MCP_MEMORY_WRITE": "<FRIDA_MCP_MEMORY_WRITE>",
"FRIDA_MCP_REMOTE": "<FRIDA_MCP_REMOTE>",
"FRIDA_MCP_SCHEMA_PROFILE": "<FRIDA_MCP_SCHEMA_PROFILE>"
}
}
}
}Replace <…> with your own values. 8 more environment variables are in the server README
Platform CLI
gemini mcp add -e FRIDA_DEVICE_ID=<FRIDA_DEVICE_ID> -e FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS=<FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS> -e FRIDA_MCP_MEMORY_WRITE=<FRIDA_MCP_MEMORY_WRITE> -e FRIDA_MCP_REMOTE=<FRIDA_MCP_REMOTE> -e FRIDA_MCP_SCHEMA_PROFILE=<FRIDA_MCP_SCHEMA_PROFILE> frida-mobile-mcp npx -y frida-mobile-mcpReplace <…> with your own values. 8 more environment variables are in the server README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Frida Mobile MCP
How do I install Frida Mobile MCP in Claude Code?
With one command: claude mcp add frida-mobile-mcp -e FRIDA_MCP_HTTP_TOKEN=<FRIDA_MCP_HTTP_TOKEN> -- npx -y frida-mobile-mcp. The client then starts the server through npx.
What does Frida Mobile MCP do?
It gives the agent Frida tooling for Android and iOS: spawn and attach, hooks, call tracing, memory inspection, SSL pinning bypass.
Does it work next to Ghidra and IDA MCP servers?
Yes. It is built to run alongside REA, ReVa (Ghidra) and IDA MCP, and shares their module+0xoffset address notation, so results move between static and dynamic tools.