Skip to main content
Glama
android-phone-control-mcp

android-phone-control-mcp

by alikhanpkfhg

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ADB_BINNoPath to the adb binary to use.
LOG_FILENoPath to the MCP server log file.
MCP_HOSTNoHost the MCP server binds to. Defaults to loopback; a non-loopback value is refused unless PHONE_MCP_ALLOW_REMOTE_BIND=1 is set.127.0.0.1
MCP_PORTNoPort the MCP Streamable HTTP server listens on. Must not equal the bridge port.8787
BRIDGE_URLNoURL of the local phone bridge used for screenshots and (optionally) input.http://127.0.0.1:8766
TOKEN_FILENoPath to the file containing the bearer token used to authenticate /mcp requests.~/.android-phone-control-mcp/token
BRIDGE_INPUTNoHow input is sent to the phone: auto, adb, or bridge.auto
ADB_TIMEOUT_MSNoTimeout in milliseconds for adb invocations.
PHONE_MCP_HOMENoHome directory for the server's runtime data.
MAX_TEXT_LENGTHNoMaximum number of characters accepted by phone_type_text.
BRIDGE_TIMEOUT_MSNoTimeout in milliseconds for bridge requests.
PHONE_MCP_CONFIRMNoServer-side confirmation gate: auto (type_text and ENTER press_key require confirm), strict (all input tools require confirm), or none (no gate).auto
MCP_MAX_BODY_BYTESNoMaximum request body size in bytes (default 2 MB).2097152
CLOUDFLARED_PROTOCOLNoProtocol used by cloudflared when establishing the tunnel.http2
PHONE_MCP_ALLOW_REMOTE_BINDNoSet to 1 to explicitly allow MCP_HOST to bind to a non-loopback address.0

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources