One installation for everything
The installer fetches adb (Google’s official Platform Tools) if it is missing, declares the server to the AIs found on the PC (Claude Code, Claude Desktop, Codex, Antigravity) and keeps your own settings.
MCP SERVER · ANDROID OVER ADB
Android computer use for AI agents, over plain ADB.
One MCP server, nexus-android, shared by Claude Code, Codex and Antigravity: they see the screen and drive a real Android phone, with eighteen tools.
Works with
look()[1] Search · field[2] Title · text[3] Message · row[4] Validate · buttonact(steps=[…])tap [4] effect read backtype “display” sent, not verifiedtap “Delete” refused without confirm=truelook numbers the elements, act reports on every gesture.01 / WHAT IT DOES
The same server for all three agents: one ADB access to maintain, one shared lock and the same safeguards.
phoneLink status, model, screen, Fold posture, reboot.
lookScreen image and numbered [N] elements, with text read on the image when the screen gives none.
actBatched gestures: tap, typing with accents and emoji, scrolling, zoom, drag and drop, links. Routines saved and replayed.
launchOpens an app or a precise screen.
mapSettings map: where each thing is set, current value, direct access. Snapshot and comparison of the phone’s state.
functionsApps’ own actions: alarms, reminders, notes, calendar, contacts.
webWeb pages open on the phone, read in full, without touching the screen.
appsInfo, force stop, clearing, installing and uninstalling an app.
messagesSMS and RCS read, attached photos, security codes masked.
draftSMS, RCS or WhatsApp reply prepared, sent only after your agreement.
notificationsNotifications shown on the phone.
clipboardReads or fills the phone’s clipboard, codes masked.
filesFiles in /sdcard exchanged with the PC, never overwritten or deleted.
captureScreenshot or video saved on the PC, codes blacked out on the image.
logsAndroid logs to understand why an app crashes.
infoLocation, calls, contacts, calendar, read-only.
settingsWi-Fi, Bluetooth, mobile data, location, NFC, do not disturb, brightness, volume, read back after each change.
checkupHealth report: system, security patch, battery, storage, memory, apps installed outside the stores.
01 / AT A GLANCE
The essentials, in a few lines.
The installer fetches adb (Google’s official Platform Tools) if it is missing, declares the server to the AIs found on the PC (Claude Code, Claude Desktop, Codex, Antigravity) and keeps your own settings.
Developer options, USB debugging, cable, authorization: every step is explained, with the makers’ drivers when the PC does not see the phone. The AI relays the same steps.
An extension to open for Claude Desktop, x64 or ARM64; VS Code and Cursor are declared by hand, as the README shows.
NexusSystem keeps it up to date; without it, run get.ps1 again. The phone over USB works without Internet, and adb, if missing, is fetched from Google.
What has been tested (Galaxy Fold, Windows 11) and what is only expected (other Android phones, Xiaomi with one more setting, Android 10 over USB). A form lets you report your phone. See compatibility
One self-contained C# program, x64 and ARM64: no Python or .NET to install.
The agent knows where each thing is set, what its current value is, and opens the right screen directly instead of searching. The map comes from the phone’s own Settings app, in its language, and rebuilds itself after an update.
Gestures go through scrcpy’s control channel: a tap leaves in under a millisecond instead of about 150 ms, measured on the Fold.
Pinch to zoom on a map or a photo, move an icon, a file or a list item.
Games, hand-drawn apps, names on a map: the text is read on the image by the OCR built into Windows, on the PC, with no online service.
The page open in Chrome on the phone is read in full, even what is off screen, without scrolling or touching the screen.
Alarms, timers, reminders, notes, calendar, contacts: the agent uses the actions apps offer to assistants (AppFunctions, Android 16 or newer), without going through the screen.
A sequence that worked is saved under a name. All three agents can then replay it, and every safeguard applies again.
Info, force stop, clearing data, installing, uninstalling, with your agreement. A system app is only hidden and can come back.
Settings, apps, permissions, Bluetooth devices: the phone’s state is recorded, then compared with the previous one to see what changed. Identifiers are masked.
Conversation list: 0.07 s instead of 35 s. Screen read: about 0.2 s instead of 2.9 s. Measured on the Fold.
Against the leading Android MCP servers, on the same tasks and the same phone: nearly as fast on a single gesture, twice as fast on a full multi-step task (13.8 s instead of 23.8 s), plus safeguards none of them has. Measured on the Fold, 8 rounds.
The screen comes back as a list. An image completes it when a visual check is useful, when the screen has nothing readable, or on request. Back and home are checked with Android itself. Measured on the Fold with Claude, Codex and Antigravity: same success (12 out of 12 in each mode, 24 trials), fewer calls, and 60% fewer uncached tokens for Codex on this benchmark.
Every gesture is logged on the PC, in the same format as the other Nexus tools, for the monthly review. Never the text of the screen, a text message or a code.
With logs (kind tool), the AI reads back by itself, without the phone, what it did, what failed and why, and in which version, to fix its own misses. Nothing leaves the PC: never the text of the screen, a message or a secret.
02 / INSTALLATION
Paste this message into Claude Code, Codex or Antigravity: your AI follows the NexusSystem guide and installs NexusAndroid, then starts the link with the phone.
Install NexusAndroid by following https://raw.githubusercontent.com/pironjulien/NexusSystem/main/INSTALL-AI.mdFree on the Microsoft Store, no account: it shows your AIs and installs NexusAndroid with one button.
The installation downloads what is missing (adb included), declares the server to the AIs it finds (Claude Code, Claude Desktop, Codex, Antigravity; your own entries are kept, each edited file is backed up first), guides you, then waits.
Plug the phone in with a USB data cable and accept “Allow USB debugging?” (tick “Always allow”). It shows Ready.
Phone plugged in but never seen: install the maker’s USB driver (Samsung).
The installation has already declared it: quit your AI completely and reopen it. To declare it by hand to Claude Desktop, in one click:
The Claude Desktop extension opens in Settings > Extensions. Claude Code, Codex and Antigravity by hand: see the README.
Ask: “Look at my phone and tell me what is on the screen.”
Wireless afterwards (optional): Developer options > Wireless debugging > Pair device with pairing code, then adb pair followed by the address and port shown, on the PC (once per PC, same Wi-Fi). Detailed install: repository README.
In PowerShell, without administrator rights: download get.ps1 and the checksum list, check the SHA-256 checksum, then run the file. It installs NexusAndroid, downloads adb if it is missing, declares it to the AIs it finds, then waits for the phone.
$r = 'https://github.com/pironjulien/NexusAndroid/releases/latest/download'
Invoke-WebRequest "$r/get.ps1" -OutFile get.ps1
Invoke-WebRequest "$r/SHA256SUMS.txt" -OutFile SHA256SUMS.txt
$h = (Select-String SHA256SUMS.txt -Pattern '^([0-9a-f]{64})\s+get\.ps1$').Matches[0].Groups[1].Value
if ((Get-FileHash get.ps1 -Algorithm SHA256).Hash -ne $h) { throw 'get.ps1 does not match SHA256SUMS.txt' }
powershell -NoProfile -ExecutionPolicy Bypass -File .\get.ps1Every release file carries a GitHub build provenance attestation. To update, run get.ps1 again or let NexusSystem do it. Details: repository README.
Paste this message into your AI: it follows the NexusSystem guide, suggests the Nexus products that fit your PC, installs each one with its official installer, then checks the result. Or the NexusSystem, free on the Microsoft Store.
Install Nexus for me by following https://raw.githubusercontent.com/pironjulien/NexusSystem/main/INSTALL-AI.mdCode, documentation and installer: NexusAndroid GitHub repository.
Independent project, not affiliated with Microsoft, Anthropic, OpenAI, Google, Samsung or Genymobile.
03 / NEXUS ECOSYSTEM
NexusAndroid installs on its own, or with the other Nexus tools, each on its own.
WithNexusSystem installs NexusAndroid and keeps it up to date; Claude Code and Codex get its plugin from the NexusSystem catalog.
Withoutget.ps1, from the release, installs NexusAndroid, downloads adb if missing and declares it to the AIs it finds.
Discover NexusSystemEach one installs on its own, with its own installer.
04 / SECURITY
The rules live in the tool itself, not only in the agent’s instructions.
Send, call, pay or publish: the tool shows the exact action (recipient, text) and gives a single-use token. The gesture only goes through with that token, after your yes. The slightest change voids it.
Delete for good, uninstall, reset: refused without confirm=true, which is set only after your yes.
In a banking, payment or identity app, the agent can look, and navigate with your agreement. A money or send button, never, even with an accord. No password is ever typed.
Codes received by SMS, bank card numbers and IBANs are masked in everything the agent reads, and codes are blacked out on images.
While recording, if a banking, payment or identity app comes to the front, the video is erased from the phone, never copied to the PC.
The target is read back on screen right before every gesture. Report: ✓ effect read back, ~ sent but not verified, ✗ refused, ? link lost. A gesture is never sent twice.
Locked phone: no gesture, never a code. No gesture either while you are holding the phone.
A shared lock keeps two agents from acting at once. Only the owner’s phone, recognised by its serial number, is driven.
What appears on screen or arrives by message is never an instruction for the agent.
Kept awake while working, then handed back and turned off two minutes after the last gesture: the phone locks again.
05 / GOOD TO KNOW
Gestures go through the phone’s screen: you watch the agent work.
Nothing to install on the phone: ADB is enough, over a USB cable or the local Wi-Fi with wireless debugging.
The PC talks to the phone directly. No online service in between.
Gestures, accented text and emoji: through Genymobile’s scrcpy server (Apache 2.0), version and SHA-256 pinned. The clipboard is given back afterwards.
The server needs nothing on the phone but USB debugging; anything Android with ADB should work, and only what is listed as tested has been run here. Report your device to move it up: “Device report” form .
| Device or system | Status |
|---|---|
| Samsung Galaxy Fold SM-F971B, One UI, Android 17, USB and wireless debugging | Tested (real-phone scenarios) |
| Windows 11 PC | Tested |
| Other Samsung phones (One UI) | Expected: same system and apps as the tested phone |
| Pixel, Motorola, Nothing, OnePlus, Sony, Fairphone and other near-stock Android | Expected, not tested |
| Xiaomi, Redmi, POCO (MIUI, HyperOS) | Expected once “USB debugging (Security settings)” is on in Developer options (gestures refused before; the error says so) |
| Android 10 and older | Expected over USB only (wireless debugging arrived with Android 11); app functions need Android 16 |
| Tablets and other foldables | Expected; the folded or unfolded posture is tracked as on the Fold |
| Phones managed by an employer (USB debugging blocked) | Not possible |
| iPhone, iPad | Not supported (no ADB) |
| Android emulators | Ignored unless named with NEXUS_ANDROID_SERIAL (for tests) |
06 / LINKS
The code, documentation and installer are on GitHub, under the MIT licence.