Back to browse
GitHub Repository

control android from cli or mcp with fine-grained permissions

1 starsKotlin

Mimic: control Android from CLI or MCP with fine-grained permissions

by khimaros·Jun 23, 2026·2 points·0 comments

AI Analysis

●●●BangerWizardryBig BrainZero to One

Accessibility service repurposed for automation beats adb uiautomation on screen content access.

Strengths
  • Three independent surfaces (intents, HTTP, MCP) with separate token gating per client.
  • On-device tree filtering means agents receive minimal context, not full screen dumps.
  • MCP integration enables AI agents like Claude to control phones over VPN.
Weaknesses
  • Requires Android 8.0+ and accessibility service permission, which some users may distrust.
  • No iOS support, limiting cross-platform automation workflows.
Target Audience

Android developers, automation enthusiasts, AI agent builders

Similar To

Tasker · AutoInput · adb

Post Description

because it registers as an accessibility service, it has access to screen contents which `adb uiautomation` doesn't.

i'm using this with termux + pi.dev to control my phone for routine automation tasks, but it can be configured to bind to other interfaces for control via claude over a VPN for example.

Similar Projects