emulator-tools
Provides tools for listing, booting, and opening Android emulators/AVDs, capturing screenshots, and closing sessions with optional shutdown. Through the returned agent-device command, agents can drive the emulator using accessibility snapshots for taps, text input, screen reading, and app installation.
Provides tools for listing, booting, and opening iOS Simulators, capturing screenshots, and closing sessions with optional shutdown. Through the returned agent-device command, agents can interact with the simulator using accessibility snapshots for tapping, typing, reading the screen, and installing apps.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
emulator-tools
MCP server that lets coding agents use iOS Simulators and Android Emulators. One file, one dependency (agent-device).
The server exposes four tools. Driving the device (tap, type, read the screen,
install) goes through the agent-device CLI, which device_open hands back
already pinned to the device.
Tool | What it does |
| Lists simulators and emulators, booted or not |
| Boots the device if needed; returns the |
| Returns a PNG of the screen |
| Ends the agent session; |
The agent works from accessibility snapshots instead of guessing coordinates:
agent-device open com.android.settings --platform android --serial emulator-5554 --session emulator-tools-emulator-5554
agent-device snapshot -i ... # @e1 [button] "Search settings" ...
agent-device press @e3 --settle ...
agent-device fill @e5 "text" --settle ...Requirements
Node 20+
iOS: macOS with Xcode and at least one simulator
Android: SDK Platform-Tools and Emulator, plus an AVD.
ANDROID_HOMEis used when set, then~/Library/Android/sdk, thenadbonPATH.
Related MCP server: vibeview
Install
git clone https://github.com/mandaputtra/emulator-tools.git
cd emulator-tools
npm installAdd it to Claude Code:
claude mcp add emulator-tools -- node "$PWD/server.mjs"Or to any MCP client config:
{
"mcpServers": {
"emulator-tools": { "command": "node", "args": ["/absolute/path/to/emulator-tools/server.mjs"] }
}
}Try it without an MCP client
node scripts/call.mjs device_list
node scripts/call.mjs device_open '{"deviceId":"Pixel_3a_API_34_Play"}'
node scripts/call.mjs device_screenshot '{"deviceId":"emulator-5554"}' shot.png
node scripts/call.mjs device_close '{"deviceId":"emulator-5554","shutdown":true}'Notes
A stopped Android emulator is listed by its AVD name. After
device_openboots it, its id becomes the adb serial (emulator-5554); the commanddevice_openreturns already uses the new id.The first iOS snapshot builds an XCTest runner, which takes a few minutes once.
iOS screenshots are scaled to 1568px on the long edge to keep them small.
Test
npm testProtocol tests only; they need no device.
The tool design follows the device toolkit in T3 Code.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Cloud iOS simulators and Android emulators your agent can create, drive, and throw away.
Drive real devices from your AI Coding tool. Embed a client SDK (Unity, Godot, Flutter, iOS/macOS, Android, React Native, Web) in your app, then capture screenshots, traverse the UI tree, inject taps and key events, and run automated test tasks on the physical device over a secure relay.
Build, run, and inspect iOS apps in disposable hosted Simulators from cloud coding agents.
Disposable cloud Android emulators for coding agents: run an APK or PR build, tap, type, screenshot.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables driving an iOS Simulator from a model: taking screenshots, reading the UI tree, tapping, swiping, typing, managing app lifecycle and device state such as appearance, permissions, location, and notifications, without code signing or a physical device.25383 npm1MIT
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to verify work on live cloud devices by uploading builds, starting sessions, driving UI through UI-tree refs, reading logs, and taking screenshots on iOS, Android, Apple TV, and Android TV.4MIT
- AlicenseBqualityBmaintenanceEnables AI agents to automate Android and iOS devices, including emulators and physical devices, by capturing screenshots, reading UI accessibility trees, performing touch and text input, and managing app lifecycle and logs.184MIT
- AlicenseBqualityCmaintenanceEnables coding assistants to drive iOS Simulators and Android emulators or USB devices for React Native and Expo work, including taking screenshots, reading app and device logs, opening deep links, installing builds, and launching or relaunching apps. It also supports Android-specific actions such as adb reverse for Metro, opening the dev menu, and tapping or typing on screen.20MIT