Skip to main content
Glama

stop_screen_record

Stop screen recordings on Android devices during development, testing, or debugging sessions to capture and analyze device activity.

Instructions

Stop any ongoing screen recording

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_serialNo

Implementation Reference

  • The stop_screen_record tool is implemented as a FastMCP tool handler. It stops any ongoing screen recording by sending SIGINT to the screenrecord process using ADB shell pkill.
    @mcp.tool() def stop_screen_record(device_serial: str | None = None) -> str: """Stop any ongoing screen recording""" run_adb(["shell", "pkill", "-l", "SIGINT", "screenrecord"], device_serial) return "Screen recording stopped. Files are saved on device at /sdcard/"
  • The tool is registered via the @mcp.tool() decorator on the handler function.
    @mcp.tool()

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/rahulkr/r_adb_mcp_server'

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