By edimuj
MCP server for controlling iOS simulators and Android emulators via agent-device accessibility tree
MCP server that wraps Callstack's agent-device for controlling iOS simulators and Android emulators. Uses the accessibility tree for structured, parseable interaction instead of screenshot-based coordinate tapping.
Ships as a Claude Code plugin — install it in any project and get 14 MCP tools for device interaction.
agent-device reads the accessibility tree, which gives you structured data: element types, labels, refs, and values. That means:
@e31), not coordinates| Tool | Purpose |
|---|---|
device_ping | Health check |
device_list | List simulators/emulators |
device_boot | Boot device by name |
device_open | Open app session |
device_close | Close session |
device_interact | Messages + choices in one call |
device_messages | Visible messages (parsed from a11y labels) |
device_choices | Tappable buttons with refs |
device_click | Tap by ref or coordinates |
device_fill | Fill text field |
device_snapshot | Full accessibility tree |
device_screenshot | Capture screenshot |
device_swipe | Swipe in direction |
device_wait | Wait N seconds |
device_appstate | App/session state |
Install agent-device on the machine with your simulators/emulators:
npm install -g agent-device
claude plugin marketplace add <your-github-user>/agent-device-mcp
claude plugin install agent-device-mcp@agent-device-mcp
Add to your .mcp.json or Claude Code settings:
{
"mcpServers": {
"agent-device": {
"type": "stdio",
"command": "node",
"args": ["/path/to/agent-device-mcp/plugin/dist/server.js"],
"env": {
"AGENT_DEVICE_HOST": "user@remote-mac"
}
}
}
}
All configuration is via environment variables:
| Variable | Default | Description |
|---|---|---|
AGENT_DEVICE_HOST | (empty = local) | SSH host for remote device. Leave empty to run agent-device locally |
AGENT_DEVICE_BIN | agent-device | Path to the agent-device binary |
AGENT_DEVICE_PATH_PREFIX | (empty) | Prepend to PATH (useful for remote: /opt/homebrew/bin) |
AGENT_DEVICE_MIN_SPACING_MS | 1000 | Minimum ms between commands (avoids XCTest daemon timeouts) |
AGENT_DEVICE_RETRY_MAX | 3 | Max retries on transient failures |
AGENT_DEVICE_RETRY_INITIAL_DELAY_MS | 1000 | Initial retry delay (doubles each attempt) |
AGENT_DEVICE_HOST empty or localhost): runs agent-device directly on the same machineAGENT_DEVICE_HOST=user@hostname): runs agent-device over SSH — for setups where your dev machine and simulator host are separateWhen installed as a Claude Code plugin, set env vars in the plugin's .mcp.json. The plugin directory is at the installed location — or override via project-level .mcp.json:
{
"mcpServers": {
"agent-device": {
"env": {
"AGENT_DEVICE_HOST": "admin@my-mac-mini",
"AGENT_DEVICE_PATH_PREFIX": "/opt/homebrew/bin"
}
}
}
}
device_ping → verify connection
device_open { bundleId: "com.example.myapp" } → open app
device_interact → read screen state
device_click { target: "@e31" } → tap a button
device_interact → see result
device_close → end session
MIT
Admin access level
Server config contains admin-level keywords
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub edimuj/agent-device-mcp --plugin agent-device-mcpGenerate beautiful terminal screenshots for documentation and READMEs. Creates polished macOS-style terminal mockups with syntax highlighting.
Smart terminal configuration for Claude Code. Extends /terminal-setup to support terminals like Tabby, Hyper, and others that Claude Code doesn't configure natively.
Automatic session memory for Claude Code — every session picks up where the last one left off
Evidence-gated AI coding workflow: scan → analyze → plan → TDD → execute → fix → verify → review, powered by Codebase Memory MCP >= 0.9.0 with optional Serena LSP intelligence. Includes blast-radius planning, test/cycle gates, independent review, and Windows Git Bash hook auto-resolution.
Permanent coding companion for Claude Code — survives any update. MCP-based terminal pet with ASCII art, stats, reactions, and personality.
Complete Claude Code configs for mobile development - Android, iOS, and Kotlin Multiplatform
The definitive Claude Code companion for .NET developers. 45 skills (including 14 slash-command workflows), 10 agents, 10 rules, 5 templates, 15 MCP tools, and automation hooks for modern .NET 10 / C# 14.
Open-source, local-first Claude Code plugin for token reduction, context compression, and cost optimization using hybrid RAG retrieval (BM25 + vector search), reranking, AST-aware chunking, and compact context packets.
Full video production pipeline for Remotion — gives Claude eyes (video analysis), voice (TTS/voiceover), ears (music/SFX), stock footage, AI image/video generation, TikTok captions, 3D content, and more. By Dojo Coding Labs.