Skip to main content
Glama
1193776794

Frida Agent MCP

by 1193776794

spawn_and_inject

Restart Android apps and inject Frida scripts at launch to hook early initialization methods like onCreate and static initializers for dynamic analysis.

Instructions

Kill app, relaunch, connect, and inject script in one step. Use this when you need to hook early initialization (e.g. onCreate, static initializers). Equivalent to: kill_app -> launch_app -> connect -> execute.

Args: package: The app package name (e.g. com.taobao.taobao). script: Frida JavaScript code to inject at startup. Use send() to return data. script_file: Path to a .js file to inject. Use this for large scripts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packageYes
scriptNo
script_fileNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/1193776794/frida-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server