Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyAI, memory and agents

Ghost in the Droid

Lets your AI agent drive a real Android phone or iPhone with 62 MCP tools: read the screen, tap, swipe and type.

413 stars on GitHubby Ghost in the DroidLicense MITUpdated 3 months ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add android-agent -- uvx ghost-in-the-droid

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Open Reddit on my Pixel and read me the top three posts.
Book a table using the phone and tell me when it is done.

What it is

Ghost in the Droid is an open-source framework that gives an AI agent control of a real phone. Android is driven over ADB, and iPhone through Appium and WebDriverAgent. It also offers reusable skills, a web dashboard and a choice of cloud or local AI models.

What it can do

  • 62 MCP tools for phone control
  • Tap, swipe, type, clipboard and screenshots
  • Android ADB shell and intents
  • iPhone control through WebDriverAgent
  • Reusable YAML and Python skills for apps
  • Live phone screen streaming
  • Skill Hub: android-agent skill install tiktok

When to use

  • β€ΊWhen you want an AI agent to operate apps on a real Android phone
  • β€ΊWhen you want to repeat a known phone task cheaply with a saved skill instead of using a model
  • β€ΊWhen you run several phones as a farm with a job queue

What you need

Python 3.10 or later. For Android, a phone with USB debugging and ADB on PATH. For iPhone, a Mac with Xcode, Appium 2 with the XCUITest driver and a trusted iPhone or simulator. Node.js 18 or later for the frontend.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes. The README says MIT, forever.

Which AI models can I use?

Claude Code with your subscription, the Anthropic API, OpenRouter, Ollama, vLLM, or models running on the phone itself.

Which MCP clients work?

Claude Code, Codex, Antigravity, Cursor and Opencode, plus LangChain, LlamaIndex, a CLI, a web dashboard and a REST API.

Do I need to install an app on the phone?

No. A fresh Android install touches nothing on the phone. An optional Portal companion app makes UI reads faster.

Is iPhone support on by default?

No. It is opt-in with GITD_ENABLE_IOS=1, and it needs a Mac.

Do my screenshots leave my network?

With a local or on-device model they do not. With a cloud model, prompts go to that provider.

If it does not work

  • β€ΊRun uvx ghost-in-the-droid doctor for a checklist with fix hints, such as adb missing from PATH.
  • β€ΊMake sure adb devices lists your phone and USB debugging is on.
  • β€ΊFor iPhone, see docs/SETUP_IOS.md for Appium and WebDriverAgent setup.

5 new skills a week. 1 minute to read.