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
- Run
droidline serveon your PC and pair a phone withdroidline 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-onlyto 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.
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
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer