Skip to main content
Glama

get_process_by_name

Locate running processes on mobile or desktop systems by name using Frida's dynamic instrumentation for analysis and reverse engineering tasks.

Instructions

Find a process by name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_idNoOptional ID of the device to search the process on. Uses smart selection when omitted.
nameYesThe name (or part of the name) of the process to find. Case-insensitive.

Implementation Reference

  • The handler function implementing the 'get_process_by_name' tool. It uses Frida to resolve a device, enumerate processes, and return the first matching process by partial case-insensitive name match, or an error if not found.
    @mcp.tool() def get_process_by_name( name: str = Field( description="The name (or part of the name) of the process to find. Case-insensitive." ), device_id: Optional[str] = Field( default=None, description="Optional ID of the device to search the process on. Uses smart selection when omitted.", ), ) -> dict: """Find a process by name.""" device = _resolve_device_or_raise(device_id) for proc in device.enumerate_processes(): if name.lower() in proc.name.lower(): return {"pid": proc.pid, "name": proc.name, "found": True} return {"found": False, "error": f"Process '{name}' not found"}

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/rmorgans/frida-mcp'

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