Agent Device logo

Agent Device

by callstackincubator

Routes MCP requests to agent-device status, setup guidance, help, prompts, and resources for cross-platform app automation.

Install Agent Device

Run the project’s own setup commands, in order.

Setup steps from the project

callstackincubator/agent-device installs with its own commands rather than a config we can generate, so these are copied as-is. Run them in order in a terminal. Source: github.com

  1. 1. Install
    npm install -g agent-device@latest
    

Overview

callstackincubator/agent-device exposes the agent-device CLI’s discovery and guidance functions through MCP. It reports installation status, provides setup instructions, returns help matched to the installed CLI version, and publishes prompts and resources for automation across mobile, TV, desktop, and web targets. Use it when an agent needs to understand or prepare an agent-device environment before controlling apps through the CLI’s broader device automation features. The server runs through the official stdio entry point, using the same execution path as agent-device commands.

Use cases

  • Check an agent-device installation before an automation run
  • Fetch CLI-version-specific guidance for an agent
  • Provide prompts for debugging, replay, or profiling workflows
  • Expose agent-device resources through an MCP-compatible client

Key features

  • Installation and environment status
  • Version-matched CLI help
  • Setup guidance for device automation
  • Reusable workflow prompts
  • MCP resources for agent-device

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

47/47 checks healthy over the last 92d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars5.3kStargazers on the source repository.
Last commitTodayMost recent push to the default branch.
Directory activity8 viewsConfig copies, upvotes, and views on AllMCPs.

How Agent Device works

What callstackincubator/agent-device does

callstackincubator/agent-device acts as an MCP discovery router for the agent-device command-line tool. Its purpose is to help an AI coding agent identify the available device-automation setup and understand how to use it, rather than replacing the full agent-device runtime with a separate execution layer.

The server covers workflows involving iOS, Android, HarmonyOS, tvOS, Android TV, Fire TV, Amazon Vega OS TV, web, macOS, and Linux. Those workflows can involve simulators, emulators, physical devices, or remote device services, depending on the surrounding agent-device setup.

How it works

The MCP entry point is started with the agent-device mcp command. It communicates over standard input and output and exposes the installed agent-device commands as structured MCP tools. This lets compatible coding agents use MCP rather than manually constructing shell commands, while retaining the CLI’s execution path and session model.

The router provides status information, installation guidance, help selected for the installed agent-device version, reusable prompts, and resources. Version-matched help is useful when command behavior or available options depend on the locally installed CLI. The resulting guidance can direct an agent toward workflows such as debugging, replay, profiling, or device setup.

Agent-device itself represents device state through sessions. Its wider command set can inspect accessibility snapshots, interact with visible controls, capture screenshots and video, collect logs and traces, gather performance or crash data, and save repeatable workflows. The MCP server provides the discovery surface for those capabilities; the CLI and its related APIs provide the underlying operations.

Setup and configuration

Install the agent-device package globally with npm, then verify the environment before connecting an MCP client:

Terminal
npm install -g agent-device@latest
agent-device doctor
agent-device mcp

An MCP client can launch the server with a configuration equivalent to:

config.json
{
  "mcpServers": {
    "agent-device": {
      "command": "agent-device",
      "args": ["mcp"]
    }
  }
}

Node.js 22.12 or newer is required. Web automation requires Node.js 24 or newer. The agent-device doctor command should be run before handing the environment to an agent, because device targets and platform tooling need to be available separately.

Tools and capabilities

The discovery surface includes:

  • Status checks for the agent-device installation and environment.
  • Installation and setup guidance for supported automation targets.
  • Help content selected for the installed CLI version.
  • Prompts that describe common debugging, replay, and profiling workflows.
  • Resources that provide agent-device guidance and workflow references.
  • MCP access to the installed command path through the official stdio server.

The broader agent-device toolset can be used to inspect accessibility trees, act through refs and selectors, fill fields, press controls, wait for UI state, capture evidence, and save replay scripts. Accessibility refs are tied to the latest command output, so an agent should use updated refs after settled interactions.

Limitations and notes

This server is most useful when the agent-device CLI and its platform-specific dependencies are installed and reachable from the MCP process. Device access, application builds, simulators, emulators, physical devices, and remote clouds remain environmental concerns rather than resources supplied by the MCP router.

The quality of UI inspection depends on the application’s accessibility tree, labels, roles, and test identifiers. Screenshots or video may be needed when accessibility data is incomplete. Available commands and evidence types can vary by target platform. The package is licensed under MIT.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Agent Device

callstackincubator/agent-device is an MCP server that connects AI coding agents to the agent-device CLI and its cross-platform app-automation workflows. Its main tools provide installation status, setup guidance, version-matched help, prompts, and resources for iOS, Android, TV, web, macOS, and Linux targets.

Install the agent-device package with npm, verify it with `agent-device doctor`, and configure your MCP client to run `agent-device mcp`. Node.js 22.12 or newer is required; web automation requires Node.js 24 or newer.

Yes, callstackincubator/agent-device works with Cursor through its standard MCP setup. The server can also be used by Claude Code, Codex, Windsurf, Cline, and agents that can run a CLI or connect over MCP.

It provides guidance for workflows involving iOS, Android, HarmonyOS, tvOS, Android TV, Fire TV, Amazon Vega OS TV, web, macOS, and Linux. The available device operations depend on the target and its local or remote environment.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAgent Device AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/callstackincubator-agent-device?style=directory)](https://allmcps.com/mcp/callstackincubator-agent-device)
HTML Embed
<a href="https://allmcps.com/mcp/callstackincubator-agent-device"><img src="https://allmcps.com/api/badge/callstackincubator-agent-device?style=directory" alt="Agent Device on AllMCPs" /></a>