Skip to main content
Glama

ADB MCP Server

by richard0913

adb_press_key

Press specific keys on Android devices remotely using key codes like 'BACK', 'HOME', or numeric values. Part of the ADB MCP Server for automating Android device interactions.

Instructions

Press a key on the device

Input Schema

NameRequiredDescriptionDefault
deviceIdNoDevice ID (optional)
keyCodeYesKey code to press (e.g., "BACK", "HOME", "MENU", or numeric code)

Input Schema (JSON Schema)

{ "properties": { "deviceId": { "description": "Device ID (optional)", "type": "string" }, "keyCode": { "description": "Key code to press (e.g., \"BACK\", \"HOME\", \"MENU\", or numeric code)", "type": [ "string", "number" ] } }, "required": [ "keyCode" ], "type": "object" }

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/richard0913/adb-mcp'

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