{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "knifelemon-droidline--give-an-ai-agent-a-phone",
 "repo": "KnifeLemon/Droidline",
 "repo_url": "https://github.com/KnifeLemon/Droidline",
 "repo_slug": "knifelemon-droidline",
 "title": "Let an AI agent look at and operate a phone",
 "page_title": "How to let an AI agent look at and operate a phone with Droidline",
 "summary": "Connect Claude Code or Cursor to a phone through MCP so it can read the screen and act.",
 "who": "A developer who wants an AI coding or assistant agent to check how a mobile app behaves and perform steps on a real phone.",
 "problem": "Agents cannot see or touch a phone screen on their own, so checking a mobile flow means doing every step by hand.",
 "outcome": "An agent that reads the phone's screen tree, takes screenshots, and taps or types through the Droidline MCP tools.",
 "steps": [
  "Run `droidline serve` on your PC and pair a phone with `droidline pair`.",
  "Register the MCP server in Claude Code with `claude mcp add droidline -- droidline mcp`, or add the mcpServers entry from the README to Cursor.",
  "Add `--read-only` to the server args if the agent should only observe the screen.",
  "Ask the agent to dump the current screen and describe the elements it sees.",
  "Ask the agent to perform one step, such as touching a named button, then confirm the result with a screenshot."
 ],
 "agent_prompt": "Using the Droidline repo at https://github.com/KnifeLemon/Droidline, register its MCP server with the paired phone, then dump the current screen and list every element with its text and id. Verify the list includes <expected element text> and report it back as JSON.",
 "agents": [
  "claude-code",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "An agent with full tool access can act on the phone's real apps, so start with --read-only or a --tools list until you trust what it will do.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "go",
 "requirements": [
  "A PC running Windows, macOS, or Linux",
  "An Android phone running Android 9 or later",
  "The droidline archive for your system from the Releases page",
  "droidline-agent.apk from the same release page, installed on the phone",
  "Python 3.9+ or Node.js 18+ if you want to script, or an MCP-capable agent app"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/knifelemon-droidline/give-an-ai-agent-a-phone/",
 "md": "https://dedupedai.com/use-cases/knifelemon-droidline/give-an-ai-agent-a-phone/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/knifelemon-droidline--give-an-ai-agent-a-phone.json",
 "api_version": "v1"
}
