adbmcp
by yhuangsh
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ADB_PATH | No | Path to the adb binary. Must match the version of any running adb server. | adb |
| ADBMCP_TIMEOUT_MS | No | Default subprocess timeout (timeout_ms per call overrides it). | 30000 |
| ADBMCP_ALLOWED_DEVICES | No | Comma-separated serial allowlist. Operations on other serials are refused. Unset means all devices are allowed. | |
| ADBMCP_MAX_OUTPUT_BYTES | No | Head+tail byte cap per call; the dropped middle is reported inline. | 65536 |
| ADBMCP_PUSH_ALLOWED_ROOTS | No | Remote roots push_file may write to. | /sdcard,/storage/emulated/0,/data/local/tmp |
| ADBMCP_LOGCAT_BUFFER_BYTES | No | Ring-buffer cap per logcat stream; overflow is reported as dropped_bytes. | 1048576 |
| ADBMCP_CLEAR_ALLOWED_PACKAGES | No | Comma-separated package allowlist for clear_app_data. There is no allow-all mode: unset or empty refuses every clear. | |
| ADBMCP_SHELL_ALLOWED_PREFIXES | No | When set, a shell command must start with one of these comma-separated prefixes. Unset means no prefix restriction. | |
| ADBMCP_SHELL_BLOCKED_PATTERNS | No | Comma-separated JavaScript regex sources tested against the whole shell command. Overriding replaces the defaults. | reboot,su,rm -rf /,mkfs,wipe |
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