android-phone-control-mcp
by alikhanpkfhg
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ADB_BIN | No | Path to the adb binary to use. | |
| LOG_FILE | No | Path to the MCP server log file. | |
| MCP_HOST | No | Host 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_PORT | No | Port the MCP Streamable HTTP server listens on. Must not equal the bridge port. | 8787 |
| BRIDGE_URL | No | URL of the local phone bridge used for screenshots and (optionally) input. | http://127.0.0.1:8766 |
| TOKEN_FILE | No | Path to the file containing the bearer token used to authenticate /mcp requests. | ~/.android-phone-control-mcp/token |
| BRIDGE_INPUT | No | How input is sent to the phone: auto, adb, or bridge. | auto |
| ADB_TIMEOUT_MS | No | Timeout in milliseconds for adb invocations. | |
| PHONE_MCP_HOME | No | Home directory for the server's runtime data. | |
| MAX_TEXT_LENGTH | No | Maximum number of characters accepted by phone_type_text. | |
| BRIDGE_TIMEOUT_MS | No | Timeout in milliseconds for bridge requests. | |
| PHONE_MCP_CONFIRM | No | Server-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_BYTES | No | Maximum request body size in bytes (default 2 MB). | 2097152 |
| CLOUDFLARED_PROTOCOL | No | Protocol used by cloudflared when establishing the tunnel. | http2 |
| PHONE_MCP_ALLOW_REMOTE_BIND | No | Set 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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues