# phonedriver

> Let AI agents read and control Android and iOS devices.

- **URL**: https://followmcp.com/en/servers/phonedriver
- **Category**: Dev Tools
- **Origin**: Community
- **Stars**: 456
- **FMRS Score**: 60/100 (Grade C)
- **Source**: https://github.com/hridaya423/phonedriver
- **Transports**: stdio (local process)
- **Runtimes**: Node.js
- **Auth**: No credential needed

## Overview
phonedriver is an MCP server over stdio and a CLI that lets AI agents read phone screens as text and control Android phones and emulators, the iOS Simulator, and configured iPhones and iPads. Its capabilities include device and app discovery, screen reading, touch and text input, settings, logs, and replaying saved steps. By default, taps on buttons for payments, purchases, orders, subscriptions, or account deletion require human approval. In clients that cannot display an approval prompt, the agent must ask the user in chat.

## Best for
- Developers and testers who need AI agents to operate Android phones or emulators.
- Teams automating the iOS Simulator or configured iPhones and iPads from a Mac.
- Engineers who want to save and repeat mobile workflows.

## Not for
- Users who only need browser, cloud service, or desktop application automation.
- Users who need to control an iPhone without configuring its developer tools.
- Workflows that require bypassing a phone lock, entering its passcode, or passing Face ID or fingerprint checks on a real device.

## Required permissions
- Android requires adb; physical Android devices require USB debugging.
- The iOS Simulator requires a Mac and Xcode; physical iOS devices require Developer Mode and setup to sign and install the XCTest runner.
- Screen reading and device control can reach content that a user could access through the device screen; payment and account deletion buttons require approval by default.
- Sensitive text should be entered with secret; it is kept out of logs and traces.

## Risks
- An agent can perform actions available to a user through touch; app scope is not a security sandbox.
- Approval protection for payments, purchases, subscriptions, and account deletion relies on recognized button text; icon-only buttons or unsupported languages may not be detected. Users can configure autonomous operation or turn the guard off.
- Screenshots may be black for apps that block screen capture.
- A free Apple ID signature for a real iPhone lasts 7 days and must be renewed after it expires.

## Client config (JSON)
```json
{"mcpServers":{"phonedriver":{"command":"npx","args":["-y","phonedriver","mcp"]}}}
```

## Tools (21)
- `devices`: List available devices.
- `apps`: List apps on a device.
- `snapshot`: Read the screen as text; can also read web page content.
- `screenshot`: Capture a screen image.
- `tap`: Tap a screen element or a specified path.
- `type`: Enter text; sensitive text must use secret.
- `swipe`: Swipe the screen.
- `scroll`: Scroll the screen.
- `press`: Press a device key or trigger a supported device action.
- `launch`: Launch an app.
- `wait`: Wait for a screen or device state change.
- `batch`: Run multiple operations.
- `set`: Set a supported device state or parameter.
- `checkpoint`: Create or inspect a checkpoint in an operation sequence.
- `clipboard`: Access the clipboard.
- `files`: Perform supported device file operations.
- `shell`: Run supported shell operations on a device.
- `setting`: Read or change supported system settings.
- `logs`: Read logs.
- `network`: Read network information.
- `replay`: Replay saved operation steps.
