Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-monkeywave-frida-mobile-mcp": {
"command": "npx",
"args": [
"-y",
"frida-mobile-mcp"
],
"env": {
"FRIDA_DEVICE_ID": "first USB device",
"FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS": "0",
"FRIDA_MCP_MEMORY_WRITE": "0",
"FRIDA_MCP_ALLOW_NATIVE_INJECTION": "0",
"FRIDA_MCP_ALLOW_ADB_SHELL": "0",
"FRIDA_MCP_SNAPSHOTS": "0",
"FRIDA_MCP_EVIDENCE": "1",
"FRIDA_MCP_EVIDENCE_PATH": "<VALUE>",
"FRIDA_MCP_EVIDENCE_MAX_MB": "200",
"FRIDA_MCP_REMOTE": "<VALUE>",
"FRIDA_MCP_REMOTE_TOKEN": "<YOUR_VALUE>",
"FRIDA_MCP_REMOTE_CERT": "<VALUE>",
"FRIDA_MCP_SCHEMA_PROFILE": "full",
"FRIDA_MCP_TOOL_PROFILE": "full",
"FRIDA_MCP_TOOLS_EXCLUDE": "<VALUE>",
"FRIDA_MCP_MAX_RESPONSE_CHARS": "25000",
"FRIDA_MCP_HTTP_TOKEN": "<YOUR_VALUE>",
"FRIDA_MCP_RUNTIME": "Frida default",
"FRIDA_MCP_DEBUG": "0",
"FRIDA_MCP_BRIDGES_DIR": "dist/bridges",
"FRIDA_MCP_COMPILER_PROJECT_DIR": "$TMPDIR/frida-mobile-mcp/compiler-project",
"FRITAP_AGENT_PATH": "<VALUE>",
"FRITAP_VERSION": "v2.5.2",
"FRITAP_AGENT_SHA256": "<VALUE>"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-monkeywave-frida-mobile-mcp": {
"command": "npx",
"args": [
"-y",
"frida-mobile-mcp"
],
"env": {
"FRIDA_DEVICE_ID": "first USB device",
"FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS": "0",
"FRIDA_MCP_MEMORY_WRITE": "0",
"FRIDA_MCP_ALLOW_NATIVE_INJECTION": "0",
"FRIDA_MCP_ALLOW_ADB_SHELL": "0",
"FRIDA_MCP_SNAPSHOTS": "0",
"FRIDA_MCP_EVIDENCE": "1",
"FRIDA_MCP_EVIDENCE_PATH": "<VALUE>",
"FRIDA_MCP_EVIDENCE_MAX_MB": "200",
"FRIDA_MCP_REMOTE": "<VALUE>",
"FRIDA_MCP_REMOTE_TOKEN": "<YOUR_VALUE>",
"FRIDA_MCP_REMOTE_CERT": "<VALUE>",
"FRIDA_MCP_SCHEMA_PROFILE": "full",
"FRIDA_MCP_TOOL_PROFILE": "full",
"FRIDA_MCP_TOOLS_EXCLUDE": "<VALUE>",
"FRIDA_MCP_MAX_RESPONSE_CHARS": "25000",
"FRIDA_MCP_HTTP_TOKEN": "<YOUR_VALUE>",
"FRIDA_MCP_RUNTIME": "Frida default",
"FRIDA_MCP_DEBUG": "0",
"FRIDA_MCP_BRIDGES_DIR": "dist/bridges",
"FRIDA_MCP_COMPILER_PROJECT_DIR": "$TMPDIR/frida-mobile-mcp/compiler-project",
"FRITAP_AGENT_PATH": "<VALUE>",
"FRITAP_VERSION": "v2.5.2",
"FRITAP_AGENT_SHA256": "<VALUE>"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-monkeywave-frida-mobile-mcp": {
"command": "npx",
"args": [
"-y",
"frida-mobile-mcp"
],
"env": {
"FRIDA_DEVICE_ID": "first USB device",
"FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS": "0",
"FRIDA_MCP_MEMORY_WRITE": "0",
"FRIDA_MCP_ALLOW_NATIVE_INJECTION": "0",
"FRIDA_MCP_ALLOW_ADB_SHELL": "0",
"FRIDA_MCP_SNAPSHOTS": "0",
"FRIDA_MCP_EVIDENCE": "1",
"FRIDA_MCP_EVIDENCE_PATH": "<VALUE>",
"FRIDA_MCP_EVIDENCE_MAX_MB": "200",
"FRIDA_MCP_REMOTE": "<VALUE>",
"FRIDA_MCP_REMOTE_TOKEN": "<YOUR_VALUE>",
"FRIDA_MCP_REMOTE_CERT": "<VALUE>",
"FRIDA_MCP_SCHEMA_PROFILE": "full",
"FRIDA_MCP_TOOL_PROFILE": "full",
"FRIDA_MCP_TOOLS_EXCLUDE": "<VALUE>",
"FRIDA_MCP_MAX_RESPONSE_CHARS": "25000",
"FRIDA_MCP_HTTP_TOKEN": "<YOUR_VALUE>",
"FRIDA_MCP_RUNTIME": "Frida default",
"FRIDA_MCP_DEBUG": "0",
"FRIDA_MCP_BRIDGES_DIR": "dist/bridges",
"FRIDA_MCP_COMPILER_PROJECT_DIR": "$TMPDIR/frida-mobile-mcp/compiler-project",
"FRITAP_AGENT_PATH": "<VALUE>",
"FRITAP_VERSION": "v2.5.2",
"FRITAP_AGENT_SHA256": "<VALUE>"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-monkeywave-frida-mobile-mcp": {
"command": "npx",
"args": [
"-y",
"frida-mobile-mcp"
],
"env": {
"FRIDA_DEVICE_ID": "first USB device",
"FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS": "0",
"FRIDA_MCP_MEMORY_WRITE": "0",
"FRIDA_MCP_ALLOW_NATIVE_INJECTION": "0",
"FRIDA_MCP_ALLOW_ADB_SHELL": "0",
"FRIDA_MCP_SNAPSHOTS": "0",
"FRIDA_MCP_EVIDENCE": "1",
"FRIDA_MCP_EVIDENCE_PATH": "<VALUE>",
"FRIDA_MCP_EVIDENCE_MAX_MB": "200",
"FRIDA_MCP_REMOTE": "<VALUE>",
"FRIDA_MCP_REMOTE_TOKEN": "<YOUR_VALUE>",
"FRIDA_MCP_REMOTE_CERT": "<VALUE>",
"FRIDA_MCP_SCHEMA_PROFILE": "full",
"FRIDA_MCP_TOOL_PROFILE": "full",
"FRIDA_MCP_TOOLS_EXCLUDE": "<VALUE>",
"FRIDA_MCP_MAX_RESPONSE_CHARS": "25000",
"FRIDA_MCP_HTTP_TOKEN": "<YOUR_VALUE>",
"FRIDA_MCP_RUNTIME": "Frida default",
"FRIDA_MCP_DEBUG": "0",
"FRIDA_MCP_BRIDGES_DIR": "dist/bridges",
"FRIDA_MCP_COMPILER_PROJECT_DIR": "$TMPDIR/frida-mobile-mcp/compiler-project",
"FRITAP_AGENT_PATH": "<VALUE>",
"FRITAP_VERSION": "v2.5.2",
"FRITAP_AGENT_SHA256": "<VALUE>"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-monkeywave-frida-mobile-mcp": {
"command": "npx",
"args": [
"-y",
"frida-mobile-mcp"
],
"env": {
"FRIDA_DEVICE_ID": "first USB device",
"FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS": "0",
"FRIDA_MCP_MEMORY_WRITE": "0",
"FRIDA_MCP_ALLOW_NATIVE_INJECTION": "0",
"FRIDA_MCP_ALLOW_ADB_SHELL": "0",
"FRIDA_MCP_SNAPSHOTS": "0",
"FRIDA_MCP_EVIDENCE": "1",
"FRIDA_MCP_EVIDENCE_PATH": "<VALUE>",
"FRIDA_MCP_EVIDENCE_MAX_MB": "200",
"FRIDA_MCP_REMOTE": "<VALUE>",
"FRIDA_MCP_REMOTE_TOKEN": "<YOUR_VALUE>",
"FRIDA_MCP_REMOTE_CERT": "<VALUE>",
"FRIDA_MCP_SCHEMA_PROFILE": "full",
"FRIDA_MCP_TOOL_PROFILE": "full",
"FRIDA_MCP_TOOLS_EXCLUDE": "<VALUE>",
"FRIDA_MCP_MAX_RESPONSE_CHARS": "25000",
"FRIDA_MCP_HTTP_TOKEN": "<YOUR_VALUE>",
"FRIDA_MCP_RUNTIME": "Frida default",
"FRIDA_MCP_DEBUG": "0",
"FRIDA_MCP_BRIDGES_DIR": "dist/bridges",
"FRIDA_MCP_COMPILER_PROJECT_DIR": "$TMPDIR/frida-mobile-mcp/compiler-project",
"FRITAP_AGENT_PATH": "<VALUE>",
"FRITAP_VERSION": "v2.5.2",
"FRITAP_AGENT_SHA256": "<VALUE>"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-monkeywave-frida-mobile-mcp": {
"command": "npx",
"args": [
"-y",
"frida-mobile-mcp"
],
"env": {
"FRIDA_DEVICE_ID": "first USB device",
"FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS": "0",
"FRIDA_MCP_MEMORY_WRITE": "0",
"FRIDA_MCP_ALLOW_NATIVE_INJECTION": "0",
"FRIDA_MCP_ALLOW_ADB_SHELL": "0",
"FRIDA_MCP_SNAPSHOTS": "0",
"FRIDA_MCP_EVIDENCE": "1",
"FRIDA_MCP_EVIDENCE_PATH": "<VALUE>",
"FRIDA_MCP_EVIDENCE_MAX_MB": "200",
"FRIDA_MCP_REMOTE": "<VALUE>",
"FRIDA_MCP_REMOTE_TOKEN": "<YOUR_VALUE>",
"FRIDA_MCP_REMOTE_CERT": "<VALUE>",
"FRIDA_MCP_SCHEMA_PROFILE": "full",
"FRIDA_MCP_TOOL_PROFILE": "full",
"FRIDA_MCP_TOOLS_EXCLUDE": "<VALUE>",
"FRIDA_MCP_MAX_RESPONSE_CHARS": "25000",
"FRIDA_MCP_HTTP_TOKEN": "<YOUR_VALUE>",
"FRIDA_MCP_RUNTIME": "Frida default",
"FRIDA_MCP_DEBUG": "0",
"FRIDA_MCP_BRIDGES_DIR": "dist/bridges",
"FRIDA_MCP_COMPILER_PROJECT_DIR": "$TMPDIR/frida-mobile-mcp/compiler-project",
"FRITAP_AGENT_PATH": "<VALUE>",
"FRITAP_VERSION": "v2.5.2",
"FRITAP_AGENT_SHA256": "<VALUE>"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| FRIDA_DEVICE_ID | No | Device to use; same as --device Default: first USB device |
| FRIDA_MCP_ALLOW_CUSTOM_SCRIPTS | No | Set to 1 or true to enable execute_script and custom hook_function bodies; same as --allow-custom-scripts Default: 0 |
| FRIDA_MCP_MEMORY_WRITE | No | Set to 1 or true to enable write_memory; same as --allow-memory-write Default: 0 |
| FRIDA_MCP_ALLOW_NATIVE_INJECTION | No | Set to "1" to enable the inject_library tool (loads a native .so/.dylib into the target via Frida's injector). Disabled by default. Default: 0 |
| FRIDA_MCP_ALLOW_ADB_SHELL | No | Set to "1" to enable the adb_shell tool (arbitrary shell commands on an Android device via adb). Disabled by default. Default: 0 |
| FRIDA_MCP_SNAPSHOTS | No | Set to "1" to use V8 script-runtime snapshots to speed up repeated script loads (requires FRIDA_MCP_RUNTIME=v8). Disabled by default. Default: 0 |
| FRIDA_MCP_EVIDENCE | No | Set to "0" to stop persisting every tool result (params, status, structured result) to the evidence store; "1" forces it on. Enabled by default. Default: 1 |
| FRIDA_MCP_EVIDENCE_PATH | No | Directory of the evidence store (records at <path>/YYYY-MM-DD/<evidence_id>.json plus index.jsonl, mode 0600). Defaults to ~/.config/frida-mobile-mcp/evidence. |
| FRIDA_MCP_EVIDENCE_MAX_MB | No | Size cap of the evidence store in MB; oldest records are pruned beyond it. Defaults to 200. Default: 200 |
| FRIDA_MCP_REMOTE | No | host[:port] of a frida-server added as a remote device at startup; port defaults to 27042 |
| FRIDA_MCP_REMOTE_TOKEN secret | No | Auth token of the remote frida-server in FRIDA_MCP_REMOTE (frida-server --token). |
| FRIDA_MCP_REMOTE_CERT | No | Path to the PEM certificate of a TLS remote frida-server in FRIDA_MCP_REMOTE (frida-server --certificate). |
| FRIDA_MCP_SCHEMA_PROFILE | No | Set to compact to shorten tool schemas for small context windows Default: full |
| FRIDA_MCP_TOOL_PROFILE | No | Tool exposure profile. "core" registers only 32 core tools to keep the tool catalog small next to other MCP servers. Default: full |
| FRIDA_MCP_TOOLS_EXCLUDE | No | Comma-separated tool-name globs that are never registered, e.g. "adb_*,frida_server_*". |
| FRIDA_MCP_MAX_RESPONSE_CHARS | No | Truncation limit for a single tool response Default: 25000 |
| FRIDA_MCP_HTTP_TOKEN secret | No | Bearer token for the HTTP transport; same as --http-token |
| FRIDA_MCP_RUNTIME | No | qjs or v8 script runtime for injected agents Default: Frida default |
| FRIDA_MCP_DEBUG | No | Set to 1 to enable debug logging on stderr; same as --debug Default: 0 |
| FRIDA_MCP_BRIDGES_DIR | No | Directory with the bundled java.js/objc.js bridges Default: dist/bridges |
| FRIDA_MCP_COMPILER_PROJECT_DIR | No | Project directory the Frida Compiler uses for ES module scripts Default: $TMPDIR/frida-mobile-mcp/compiler-project |
| FRITAP_AGENT_PATH | No | Path to a fritap_agent.js bundle for capture_tls |
| FRITAP_VERSION | No | friTap tag to download when no local agent is found Default: v2.5.2 |
| FRITAP_AGENT_SHA256 | No | Bare sha256 of the downloaded friTap agent for the selected FRITAP_VERSION tag. v2.6.5 is pinned in the package; set this for other tags. |