longarm Android Automation

In-app purchases
Content rating
Everyone
10+
Downloads
Content rating
Everyone
Learn more
Screenshot image
Screenshot image
Screenshot image
Screenshot image

About this app

longarm turns an Android phone or tablet into a local automation endpoint for developers, QA testers, and AI agents. Run the built-in HTTP API or streamable HTTP MCP server on your device, then control a real Android screen from another computer on the same network.

Use longarm to automate app flows, test on physical Android devices, collect screenshots, operate a phone from a desktop tool, or connect an MCP-compatible agent to a real mobile screen instead of relying on emulator-only workflows.

ANDROID AUTOMATION OVER HTTP
- Start a local HTTP API server on your Android phone or tablet
- Send tap, swipe, long-press, pinch, rotate, and two-finger swipe commands
- Target exact screen coordinates for repeatable automation
- Launch any installed app by package name, or fire a custom Android intent (open a URL, deep link, or activity)
- Capture PNG screenshots from the current screen
- Query screen width, height, and density for reliable scripts
- Show a floating overlay with optional live coordinates

BATCH TASKS: SAVE AND REPLAY MULTI-STEP FLOWS
Chain taps, swipes, screenshots, app launches, and intents into a single named batch task instead of firing one-off commands. Add delays, repeat steps or whole tasks, and use loop blocks (count, range, foreach, or while) with variables to drive the same steps over different values. Build and run batch tasks right from the Batch tab, or create, update, and trigger them remotely over the same REST API and MCP server — so an agent can script an entire flow in one call instead of many round-trips.

MCP SERVER FOR AI AGENTS
longarm includes a streamable HTTP MCP server so compatible AI agents and developer tools can call Android control tools directly. Agents can inspect screen information, tap, long-press, open installed apps, launch Android intents, save and run batch tasks, and, with Plus, use advanced gestures such as swipes, pinches, two-finger swipes, and rotation.

REST API FOR REAL-DEVICE AUTOMATION
longarm includes over 20 documented endpoints for practical Android automation, including app and intent launching and full batch-task CRUD and execution. The Docs tab shows live parameters and lets you copy the full API as Markdown, ready to paste into a script, test harness, desktop tool, or AI agent prompt.

NO ROOT, LOCAL NETWORK CONTROL
longarm runs on your LAN and does not require root. Configure HTTP and MCP bind addresses and ports, require a bearer token, keep the screen awake, auto-start the server on launch, and use the live request log to debug REST requests and MCP tool calls as they happen.

FOR DEVELOPERS, TESTERS, AND AI AGENTS
Use longarm when you need:
- Android automation and remote control from another machine
- Real-device testing without a heavy automation stack
- Scriptable taps, swipes, gestures, and screenshots
- REST API and MCP server access for mobile automation
- LAN-only control of a physical phone or tablet

longarm uses Android Accessibility Services to perform gestures and screenshots only in response to your remote commands. It is designed for controlled Android automation workflows on devices you manage.
Updated on
Jul 1, 2026

Data safety

Safety starts with understanding how developers collect and share your data. Data privacy and security practices may vary based on your use, region, and age. The developer provided this information and may update it over time.
No data shared with third parties
Learn more about how developers declare sharing
No data collected
Learn more about how developers declare collection