agent-device

Level ALocal

Open source device layer for AI coding agents: a CLI, MCP server, and typed Node.js API to control mobile, web, TV, and desktop apps on devices and simulators, locally or in the cloud.

Overview

agent-device gives AI coding agents mobile app automation and verification across iOS, Android, and HarmonyOS simulators, emulators, and physical devices, plus tvOS, Android TV, web, macOS, and Linux. Agents read token-efficient accessibility snapshots, act through refs and selectors, and save screenshots, video, and logs as reviewable evidence. It ships as a CLI, built-in MCP server, and typed Node.js API, working with Claude Code, Codex, Cursor, and other agents.

⭐ 5.5kDevelopment ToolsTypeScriptRepo ↗Updated 2026-11-20

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "agent-device": {
      "command": "npx",
      "args": [
        "-y",
        "agent-device",
        "mcp"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/callstack/agent-device

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "agent-device": {
      "command": "npx",
      "args": [
        "-y",
        "agent-device",
        "mcp"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers