Skip to content

ShellMCP 0.2.0

Latest

Choose a tag to compare

@xnet-admin-1 xnet-admin-1 released this 03 Dec 05:51

ShellMCP 0.2.0

Lean, element-aware tool surface (9 tools). Dedicated tools exist only where they save context or return non-text; everything else is a shell_exec recipe documented in the README.

New

  • ui — element-aware interaction: find / tap_element / tap_and_wait / scroll_to over the parsed uiautomator tree. Compact JSON with element centers — agents stop guessing pixel coordinates and raw XML never floods the context window.
  • ui_dump — compact JSON node list by default (raw XML opt-in).
  • press_key — named keys: home, back, recents, enter, tab, del, dpad_, power, volume_, menu, search, camera, space, escape + raw keycodes.
  • device_info — compact JSON: model, Android, SDK, ABI, serial, display, battery, memory, current window.
  • file_read — PII redaction option (emails, phones, IPs, MACs, SSNs, cards) redacted on-device before text leaves the device.
  • shell_exec — output capped at ~96 KB so a stray dump can't blow the context window.

Fixed

  • file_write double-base64-decode bug from v0.1 that corrupted non-base64 content.

Removed from the tool registry (now README shell_exec recipes — less schema overhead): file_list, file_delete, list_packages, launch_app, force_stop, install_apk, logcat suite, battery/display/wifi/bt/cell/network info, screenrecord, pm ops.

Signed with the XNet key and 16 KB page aligned.

SHA-256: c6e547d87b3e9bdddfd67ad522cb2fd9e3dfad7c28aa8a333525090d87095c46