# appdyno [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/fatihcimen/appdyno  
**GitHub Stars:** 2  
**npm Downloads (last month):** 4972  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/appdyno

## Description
MCP server, command line and TypeScript library that test, drive and measure iOS and Android apps on simulators, emulators and real phones.

## Tools
Capabilities this server exposes over MCP:

- **list_devices** — List connected phones, simulators and emulators. Returns each one's serial, state, model, whether this server may drive it, who holds it, what blocks it and the fix. selected: true gives only the device in use, with OS, screen, agent version and the app in front. To pick one: use_device; one not running: manage_simulator.
- **use_device** — Select the device later calls drive, by a serial list_devices gives, or pool:ios or pool:android: a free pool device, waited for; app: the app id under test. Not needed with one device connected. as: a name to hold it by, beside the selected one (up to 4), for a tool's device. A device another process holds is refused, naming it; share: true drives it anyway. Its conditions: set_device. Returns what is selected.
- **manage_simulator** — Start or stop an iOS simulator or Android emulator, only on request. list: what can be started; boot (name: id or name); create (name: an iOS model, android or a system; boots and selects it); shutdown (name; none: those this tool started); systems: iOS runtimes and Android images here and to download, sizes; download (name: a system; again: progress). Connected devices: list_devices. Returns the device.
- **set_device** — Read or set a device condition: dark mode, orientation (landscape), GPS location, clipboard, Face ID, fingerprint, memory warning, shake, text size, locale, slow network, airplane mode and the rest name lists. No value reads it. App permissions: manage_app; photos: transfer_files; the device to drive: use_device. Returns the value; orientation the screen too. What it sets is put back at the session's end or by restore, except the clipboard.
- **read_screen** — Read the screen as text. Returns each element of the accessibility tree as ref role "label" x,y flags; views: the native view hierarchy instead, a Flutter debug build's widgets too, or with selector one view and its constraints. selector: only its matches, with state, value and bounds. Assert: check_element; pixels: take_screenshot; audits, visual diffs: check_screen; inside web views: inspect_app. Rows alike fold under a header; refs hold across scrolls. raw: every node as data.
- **take_screenshot** — An image of the screen, for a visual judgement only: read_screen is cheaper and gives refs. Returns it (at most 800 px unless width) with its scale to tap units; points: 1 pixel is 1 unit. watchMs: no image, what moved (way, speed, jumps); strip: 8 timed frames. file: full size to a .png, .jpg or folder; inline: false hides it; overwrite. ref: crop to it; marks: refs drawn. An unchanged screen gets no second image. Visual diffs: check_screen; video: record_session.
- **check_element** — Assert or wait for an element, touching nothing: check exists, absent, text (equals), enabled, checked, selected, focused, moves; expect: false negates. timeoutMs (at most 15000) waits till it holds. Returns one line, or CHECK_FAILED saying what it found. Whole screen: check_screen; look only: read_screen.
- **check_screen** — Check the whole screen. accessibility: an accessibility audit of contrast, touch targets, labels, reading order (types, maxIssues). visual: a visual regression test against the image name in dir, failing with CHECK_FAILED and a diff image past tolerance (percent of pixels); masks are left out. visual_baseline saves it. One element: check_element; pixels: take_screenshot. Returns the issues or the diff.
- **tap_screen** — Tap a target in place: ref, else selector, else x,y. count: 2 is a double tap; holdMs: a long press. A moving finger: swipe_screen; a system alert: answer_alert. Returns the screen after. Several matches refuse, listing refs; no match waits briefly, then refuses with the nearest labels.
- **swipe_screen** — Move a finger: swipe, scroll to an element, drag or pinch. direction: a swipe, from a target if given; up moves content up. until: swipes until that selector shows (maxSwipes, 10), in the list at x,y. to: drags the target there, no flick; holdMs first lifts a row. scale: pinch, > 1 zooms in. pointers: paths, one per finger, t in ms. exact: content moves distance (tap units) and stops. durationMs: how long. In place: tap_screen. Returns the screen after.
- **type_text** — Type up to 500 characters of Unicode into the focused field, or a target, tapped and focused first. replace: the field's text; submit: then enter. One key or button: press_key. Returns the screen after.
- **press_key** — Press a key or button: back, home, enter, delete, tab, escape, space, arrow_up/down/left/right, app_switch, volume_up/down, mute, siri, power, lock; a letter or digit, held keys first: command+a (Android: Ctrl). hide_keyboard closes the on-screen keyboard. control_center, notification_center, spotlight open those; home closes them. A watch: crown, crown_up/down. Words: type_text. Returns the screen after.
- **run_steps** — Run several actions as one call: at most 30, each { tool: a tool's name, ...its arguments }, as { tool: tap_screen, selector: { text: OK } } or { tool: wait, ms }; any tool but itself and run_flow. Each step acts as its tool would; the first failure stops the run, saying why. Returns each answer, images too; a step reads the screen only with its read, or the last. A test to replay later: run_flow.
- **answer_alert** — Read or answer the open system alert, such as a permission prompt; an app's own dialog: tap_screen. With no answer it returns the alert's text and buttons, or says none is open. answer: a button's label to touch, or allow (least: once, else while using) or deny, in any language. Returns the screen after; NOT_FOUND when an answer finds no alert or no button, AMBIGUOUS when several match.
- **ask_person** — Ask your person to do what no tool can (Face ID, a passcode) and wait until they say done or, with no window, the screen changes. A system alert: answer_alert. On this Mac: a banner and a sound in the live window, else a sound and a notification of reason. Returns when done; refuses at timeoutS.
- **show_mirror** — Open a live screen mirror window on this Mac for your person, who can watch and touch it as you drive. open, close; status: what stands in its way, the fix; stats: true frame rates. It shows you nothing: see the screen by read_screen or take_screenshot, video by record_session. Returns its state.
- **launch_app** — Launch an app by its id or the name manage_app list gives, to the front on the screen it was on if it runs. restart: start it fresh, as args (Android: key=value extras), env and language (tr, pt-BR; en-XA long, ar-XB right to left) do. probe: true puts in the view probe read_screen views reads. By URL: open_link; to stop it: manage_app. Returns the screen after; NOT_FOUND if not installed.
- **manage_app** — Install and manage apps: list (all: system apps too), state, install (path, fresh; files: an .apk with its .dm or split APKs), uninstall, clear (data), stop (background: as the system ends it, state kept), suspend, resume, signal (args), await_exit, grant, revoke, reset_permission, run_job (Android), build_and_run (path: Xcode project or Gradle folder; scheme or module; configuration or variant; args, env). Starting one: launch_app; its data: transfer_files. Returns what was done.
- **transfer_files** — File transfer between this Mac and the device. pull: download an app's data to the folder path (app: or an App Group, group.…). push: upload the folder path as its data, replacing it (stops the app; asks). media: photos, videos, vCards at path, taken out at the end. list: files, sizes under path, value levels. prefs: preferences; key and value set one, null removes (asks), undone at the end. sql: SQLite tables; value: a SELECT on a copy. An .apk or .ipa: manage_app. Returns what moved or was read.
- **open_link** — Open a deep link, universal link, App Link or web URL, or a Settings page. Give one of url, settings or links. url opens in the selected app if any; an unknown scheme or a call link asks the person first, and restart: true stops the app first, for a cold start. settings opens a Settings page (about, privacy) or an app's own (its id, or app). links, an app's id, lists the links that app opens; verify checks its App Links again. An app by id: launch_app. Returns the screen after, or the links.
- **send_push** — Send the app a push notification: a remote notification, rich notification or Live Activity, by APNs or FCM. No type and no content lists what this device takes and how, sending nothing. Give title, body, image and data, or payload, APNs' or FCM's own JSON, not both; a title or body alone goes as an alert. A type the device cannot take is refused, naming those that work. Returns what was sent, and the screen after.
- **read_logs** — Read the app's log, or with source crashes its crash, ANR and exit reports, or notifications those it posted (Android). The log returns the app's own lines (logcat on Android), newest last, secrets redacted; level, contains, limit (200). The crash source gives a bounded summary and each report's file; limit (5), symbols. Use it when the app misbehaves; its requests: capture_network. Returns the lines or reports.
- **capture_network** — Capture an app's network traffic, mock and throttle it. paths: what each way sees; start (via proxy: appdyno's own or proxy host:port; probe: restarts the app; bodies; strict); read (id: one request whole; contains, method, status; har: an export; save: a .har); check: waits for a request; mock (rules; add; from; unmatched); throttle; release (id, edit): a held one; send (id, edit): again from this Mac; stop. The whole device: set_device network. Returns requests, bounded; installs no certificate.
- **inspect_app** — Reach inside an app where read_screen cannot: a web view, React Native, or an iPhone with no runner. Web view of a debuggable app: web_pages, web_elements (the DOM, at tap coordinates), web_click (selector: CSS), web_eval (runs js in the page); page: id or part of a title or URL. Metro (localhost:8081): rn_targets, rn_logs (the JS console for ms), rn_reload. The iPhone's accessibility service: ax_list, ax_press (name). Returns the listing, or what was done.
- **record_session** — Keep evidence as files: start a kind, then stop it. video: the screen, one per device. report: a test report, index.html of steps, video, logs, crashes, measures, secrets hidden; write too. timeline: timeline.html of the journey's video, touches, frames, requests, log, memory on one clock. flight: the last seconds, kept on a crash or stall; start, stop. measure: spans, crashes, app busy time while tests run anywhere; nothing on the device. One image: take_screenshot; replays: run_flow. Returns the file.
- **measure_performance** — Measure performance by metric. launch: startup time, cold, warm or hot, over repeats; trace: why. scroll: jank and frozen frames of a list (x,y or selector). heap: memory leaks, the heap to a file. frames: why frames were slow, hitches, hangs (what). cpu: top functions over seconds. snapshot: CPU, memory, frames, load and heat now (also). Returns numbers, findings, a trace's path; scenario keeps the run for compare_performance, which judges kept runs.
- **compare_performance** — Gate measure_performance's runs on baseline and budgets in .appdyno/perf/: a performance regression gate. compare fails the last runs on a change statistically and practically significant. baseline keeps them, 3 needed; budget sets a kind's max, min. why replays a regression's flow for its cause, reference its baseline side, restarting the app. functions diffs two cpu runs (from, to). query: read-only sql on a kept trace, bounded. dashboard: a page. prune deletes traces past limitGb. Returns the verdict.
- **run_flow** — Record your calls as a repeatable test, a .flow file replayed with no model: record, then stop to write it to file (save: later). run replays file (from: a step; iterations: per step for compare_performance). test: a file or folder to one verdict, report in to; tags pick flows; retries reruns failures; devices: on several at once, by serial or held name; export: Maestro YAML. params NAME=value: recorded, a value becomes ${NAME}; run fills it. One-off calls: run_steps. Returns the steps, times or verdict.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "appdyno": {
    "command": "npx",
    "args": ["-y","appdyno","mcp"]
  }
}
```

## Documentation

## What appdyno does

appdyno gives an MCP client control of iOS and Android applications running on simulators, emulators, or connected physical phones. An agent can read the current screen as structured elements, locate controls by text, identifier, or reference, and perform actions such as tapping, typing, swiping, scrolling, long pressing, dragging, pinching, or pressing keys.

The server also covers mobile workflows beyond direct UI input. It can send push notifications, open deep links, universal links, and Android App Links, and list links that an installed app opens. Measurement capabilities cover cold launch, scrolling, and memory retention, with launch results usable as a baseline. A reproduced interaction flow can be saved and run as a test, including in CI.

## How it works

The MCP server runs locally on a Mac and communicates with the selected MCP client over a local server connection. It does not require a cloud service and does not send telemetry. The client can work with a simulator, emulator, or phone that is available to the Mac.

Screen actions wait for the interface to settle rather than relying on a fixed sleep. Each response includes the resulting screen and indicates whether the screen settled and whether it changed. A single `run_steps` call can contain up to 30 actions. If an action fails or the application exits, the response includes a refusal or application-status code with a hint where applicable. Crash output can include the failure, the last application log lines, and a path to a diagnostic report; `read_logs` can read crash information in more detail.

The inspected view tree identifies frameworks such as SwiftUI, UIKit, Compose, Flutter, React Native, and web views. The same server supports iOS simulators and Android environments.

## Setup and configuration

Run appdyno on a Mac with Node.js 22 or newer. The installation command is:

```sh
npx -y appdyno install
```

The installer adds appdyno to MCP clients on the Mac and asks which clients to configure. Restart the chosen client afterward, then start a simulator or emulator or connect a phone. The `doctor` command checks what the Mac is missing:

```sh
npx -y appdyno doctor
```

The project also provides a Mac app and a command-line and TypeScript interface, but the MCP installation path is the relevant setup for agent-driven use.

## Tools and capabilities

The documented MCP tools include:

- `read_screen` for screen elements and view information
- `tap_screen`, `type_text`, `swipe_screen`, and `press_key` for direct interaction
- `run_steps` for batching up to 30 actions
- `check_element` for checking an element
- `send_push` for device push notifications
- `read_logs` for application logs and crash reports

Screen interaction can target elements by text, identifier, or reference. Pushes can use a title and body or the platform's own JSON format. Link handling includes deep links, universal links, and App Links. The server can measure cold launch, scrolling, and memory behavior, retain a launch baseline, and reuse a saved flow as a test.

## Limitations and notes

The MCP workflow is designed to run on a Mac and requires Node.js 22 or newer. A usable simulator, emulator, or connected phone is also needed for device actions. Client support varies: Claude Code and Gemini CLI have been tested, while Codex and Cline have been configured and shown the app without a connection test. Claude Desktop, Cursor, VS Code, Windsurf, and Zed are listed as clients that should work with their documented MCP configuration.

The server reports an application crash and its available logs, but the diagnostic detail depends on what the device and application expose. Device interaction is local rather than cloud-hosted, and the project states that it collects no telemetry.

_Full upstream README: https://allmcps.com/mcp/appdyno/readme_

