DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to let an AI agent look at and operate a phone with Droidline

Connect Claude Code or Cursor to a phone through MCP so it can read the screen and act.

Short answer: Run droidline serve on your PC and pair a phone with droidline pair; then 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. All steps.

Authorization notice. Droidline is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Who it is forA developer who wants an AI coding or assistant agent to check how a mobile app behaves and perform steps on a real phone.

The problemAgents cannot see or touch a phone screen on their own, so checking a mobile flow means doing every step by hand.

The outcomeAn agent that reads the phone's screen tree, takes screenshots, and taps or types through the Droidline MCP tools.

What you need first

  • 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

Steps

  1. Run droidline serve on your PC and pair a phone with droidline pair.
  2. Register the MCP server in Claude Code with claude mcp add droidline -- droidline mcp, or add the mcpServers entry from the README to Cursor.
  3. Add --read-only to the server args if the agent should only observe the screen.
  4. Ask the agent to dump the current screen and describe the elements it sees.
  5. Ask the agent to perform one step, such as touching a named button, then confirm the result with a screenshot.

Prompt for your agent

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.

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.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for KnifeLemon/Droidline and "Let an AI agent look at and operate a phone"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer