|
|
e0c05dc72a
|
Add connectivity and settings mixins (50 → 65 tools)
New mixins:
- connectivity.py: adb_connect, adb_disconnect, adb_tcpip, adb_pair,
device_properties (batch getprop)
- settings.py: settings_get/put, wifi/bluetooth/airplane toggles,
screen_brightness, screen_timeout, notification_list, clipboard_get,
media_control
Also fixes clipboard_set false-positive on devices where
cmd clipboard returns exit 0 but has no implementation.
|
2026-02-11 03:05:27 -07:00 |
|
|
|
7c414f8015
|
Refactor to MCPMixin architecture with injection-safe shell execution
Replaces single-file server with modular mixin architecture:
- 6 domain mixins (devices, input, apps, screenshot, ui, files)
- Injection-safe run_shell_args() using shlex.quote() for all tools
- Persistent developer mode config (~/.config/adb-mcp/config.json)
- Pydantic models for typed responses
- MCP elicitation for destructive operations
- Dynamic screen dimensions for scroll gestures
- Intent flag name resolution for activity_start
- 50 tools, 5 resources, tested on real hardware
|
2026-02-10 18:30:34 -07:00 |
|