mcp-server

agent-device: Control Mobile Devices

Control iOS and Android devices for AI agents. Useful for startup founders with 2.7k+ GitHub stars.

From the repo · “Mobile app automation and verification for AI coding agents. CLI, MCP server, and typed Node.js API for iOS, Android, HarmonyOS, TV, web, macOS, and Linux.”

intermediate⏱ 30 minutes💵 Free (self-hosted)
5,097 stars+84★ this week342 forksTypeScriptGuide quality 8/10 · reviewed Jul 1Updated 10/21/2026100% free · open source
What it is

Use the agent-device CLI to control Android and iOS devices for your AI projects.

Real use case example

"A solo developer of an AI-powered mobile app uses the agent-device CLI to automate UI testing on real Android devices. They write a script to open the app, tap through its UI, and capture screenshots. With agent-device, they can speed up their testing process and identify issues earlier, saving them time and effort."

Best insideCodex CLICursorAny AI Client
When to use it
  • •When you need to automate testing of your mobile app on multiple devices
  • •When you want to integrate AI agents with your mobile app for automated interactions
  • •When you need to control multiple mobile devices simultaneously for demo or training purposes
Ready-to-paste prompt
agent-device exec 1234567890 abcdef0123 'adb shell input tap 100 100'
Heads up: You need to have Node.js 14 or higher installed on your system, as well as the necessary dependencies for iOS and Android device control, such as adb for Android devices
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/agent-device && curl -fsSL https://workflowstacks.com/api/skills/agent-device/claude-skill -o ~/.claude/skills/agent-device/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How agent-device: Control Mobile Devices works
Codeflow
Free to inspect

Agent-device: Control Mobile Devices is a very large TypeScript project (~418k lines across 2784 code files, plus 1302 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit this month, MIT license, has a test suite.

Size
Very large codebase
~418k lines · 2784 code files · days to read — use, don't read
Setup
One-command install
Installs like a normal app. Reading the code is optional.
Runs on
Node.js
No API keys detected
TypeScript 94%Swift 4%JavaScript 1%Objective-C 1%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    AGENTS.md
    The instructions the AI actually follows
  3. 3
    src/cli.ts
    Where the program starts running
  4. 4
    package.json
    Dependencies and the commands it exposes
  5. 5
    examples/README.md
    A worked example — copy this to get going
What's in each folder
src/Core code — the actual logic1469 files
skills/Prompts, skills & agent definitions4 files
packages/Sub-packages / plugins1878 files
bin/Command-line entry points1 files
examples/Examples you can copy72 files
docs/Documentation44 files
scripts/Helper scripts445 files
apple/Folder133 files
READMEHas testsDocumentedCI checksExamples includedMIT licenseUpdated this month
Quick Actions
Details
Creator
callstack
Language
TypeScript
Category
mcp-server
Published
1/30/2026

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/agent-device.svg)](https://workflowstacks.com/skills/agent-device?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.

Do this with a working workflow

Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.