Skip to main content
Glama
0xhackerfren

Frida Game Hacking MCP

by 0xhackerfren

resume

Resume a paused process to continue execution. Use this tool to restart suspended game processes for debugging or modification purposes.

Instructions

Resume a spawned process.

Returns:
    Resume status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'resume' tool. Resumes a spawned process by calling Frida's device.resume(pid). Checks if session is attached and spawned.
    @mcp.tool()
    def resume() -> Dict[str, Any]:
        """
        Resume a spawned process.
        
        Returns:
            Resume status.
        """
        global _session
        
        if not _session.is_attached():
            return {"error": "No active session. Use spawn() first."}
        
        if not _session.spawned:
            return {"error": "Process was not spawned."}
        
        try:
            device = get_device()
            device.resume(_session.pid)
            return {"success": True, "message": f"Resumed {_session.process_name}"}
        
        except Exception as e:
            return {"error": f"Failed to resume: {str(e)}"}
  • The 'resume' tool is listed under process_management category in the list_capabilities tool response, indicating its registration in the toolset.
    "process_management": [
        "list_processes", "attach", "detach", "spawn", "resume", "get_session_info"
    ],
  • Helper function get_device() used by resume() to obtain the Frida device instance needed for resuming the process.
    def get_device() -> Any:
        """Get the local Frida device."""
        global _session
        if _session.device is None:
            _session.device = frida.get_local_device()
        return _session.device

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/0xhackerfren/frida-game-hacking-mcp'

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