Skip to main content
Glama

enumerate_processes

Lists all running processes on a system with their IDs and names for monitoring and analysis using Frida's dynamic instrumentation capabilities.

Instructions

List all processes running on the system.

Returns: A list of process information dictionaries containing: - pid: Process ID - name: Process name

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_idNoOptional ID of the device to enumerate processes from. Uses smart selection when omitted.

Implementation Reference

  • The handler function for the 'enumerate_processes' tool. It resolves the specified device (or default), enumerates processes using Frida's API, and returns a list of dictionaries containing pid and name for each process. The @mcp.tool() decorator registers it as an MCP tool, and the parameter Field provides input schema.
    @mcp.tool() def enumerate_processes( device_id: Optional[str] = Field( default=None, description="Optional ID of the device to enumerate processes from. Uses smart selection when omitted.", ), ) -> List[Dict[str, Any]]: """List all processes running on the system. Returns: A list of process information dictionaries containing: - pid: Process ID - name: Process name """ device = _resolve_device_or_raise(device_id) processes = device.enumerate_processes() return [{"pid": process.pid, "name": process.name} for process in processes]

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