π Ύ Hello World β MCP + Codex
Codex operating a real phone over MCP. Different brain, same 62-tool body β Ghost doesnβt care which agent holds the sΓ©ance.
Prerequisites
Section titled βPrerequisitesβ- Ghost installed β or let
uvxfetch it on demand, no clone needed - A phone connected over ADB with USB debugging on (
adb devicesshows it) - Codex CLI installed
Step 1 β Register the MCP server
Section titled βStep 1 β Register the MCP serverβcodex mcp add android-agent -- uvx --from ghost-in-the-droid android-agent-mcpOne command. Codex now sees all 62 Ghost tools β screen reading, tapping, typing, app control, screenshots, skills.
Step 2 β Give it a job
Section titled βStep 2 β Give it a jobβStart Codex and ask it, plain English:
Open the Reddit app on my phone and tell me the top post on r/LocalLLaMA.Codex plans, calls launch_app, reads the UI tree, taps through the app, and reports back β the phone does everything on its own screen, exactly like the video.
Step 3 β Verify
Section titled βStep 3 β VerifyβTake a screenshot and describe what's on screen.If Codex tells you what your phone is showing, youβre wired up.
What next?
Section titled βWhat next?β- MCP Server β tool catalog and architecture
- MCP Clients β the full client matrix
- Skill System β reusable automations the agent can call
- Phone Farm guide β scale from one phone to a fleet
Try another approach β
Section titled βTry another approach ββMCP + Claude Code Β· MCP + Antigravity Β· Ghost CLI Β· LangChain Β· Web Chat Β· On-Device Android Β· On-Device iPhone Β· iPhone Duolingo