Skip to main content
Glama

ADB MCP Server

by richard0913

adb_press_key

Simulate key presses on Android devices using the ADB MCP Server. Specify the key code (e.g., BACK, HOME) to automate device interactions for testing or remote management.

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