v1.0.2 · OPEN SOURCE · MIT

MCP SERVER · ANDROID OVER ADB

A real phone.
Driven by your agents.

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.

  • No root
  • No app on the phone
  • No internet relay

Works with

  • Claude
  • Codex
  • Antigravity
A foldable Android phone whose numbered elements are linked to three AI agents
nexus-android
  1. look()
  2. [1] Search · field
  3. [2] Title · text
  4. [3] Message · row
  5. [4] Validate · button
  6. act(steps=[…])
  7. tap [4] effect read back
  8. type “display” sent, not verified
  9. tap “Delete” refused without confirm=true
Illustration of an exchange: look numbers the elements, act reports on every gesture.
MCPADBSCRCPYC# .NET 10WINDOWSUSB · LOCAL WI-FIMIT

01 / WHAT IT DOES

Eighteen tools.
One server.

The same server for all three agents: one ADB access to maintain, one shared lock and the same safeguards.

01 / AT A GLANCE

It installs itself.
And guides the first connection.

The essentials, in a few lines.

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.

A guided first connection

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.

Claude Desktop, VS Code and Cursor

An extension to open for Claude Desktop, x64 or ARM64; VS Code and Cursor are declared by hand, as the README shows.

Up to date, and local

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.

An honest device list

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

A native program

One self-contained C# program, x64 and ARM64: no Python or .NET to install.

And also

A map of every setting

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.

Instant gestures

Gestures go through scrcpy’s control channel: a tap leaves in under a millisecond instead of about 150 ms, measured on the Fold.

Zoom and drag and drop

Pinch to zoom on a map or a photo, move an icon, a file or a list item.

Reading screens with no text

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.

Reading web pages

The page open in Chrome on the phone is read in full, even what is off screen, without scrolling or touching the screen.

Apps’ own actions

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.

Shared routines

A sequence that worked is saved under a name. All three agents can then replay it, and every safeguard applies again.

Managing apps

Info, force stop, clearing data, installing, uninstalling, with your agreement. A system app is only hidden and can come back.

A snapshot of the phone

Settings, apps, permissions, Bluetooth devices: the phone’s state is recorded, then compared with the previous one to see what changed. Identifiers are masked.

Fast reads

Conversation list: 0.07 s instead of 35 s. Screen read: about 0.2 s instead of 2.9 s. Measured on the Fold.

As fast, and safer

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.

Text first

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.

A shared log

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.

Its own log, read by the AI

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

Ten minutes.
Three agents ready.

  1. Requirements

    • A Windows 10 or 11 PC, x64 or ARM64
    • An Android phone and a USB data cable
  2. Prepare the phone

    • Settings > About phone (Samsung: > Software information) > tap Build number 7 times;
    • Settings > Developer options > turn on USB debugging (Android guide).
  3. Ask your AI

    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.md
  4. Or the NexusSystem app

    Free on the Microsoft Store, no account: it shows your AIs and installs NexusAndroid with one button.

    Get it from Microsoft
  5. Connect the phone

    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).

  6. Restart your AI

    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.

  7. Try it

    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.

Or by hand, from the release

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.ps1

Every release file carries a GitHub build provenance attestation. To update, run get.ps1 again or let NexusSystem do it. Details: repository README.

Or the whole Nexus pack, at once

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.md

Code, documentation and installer: NexusAndroid GitHub repository.

Independent project, not affiliated with Microsoft, Anthropic, OpenAI, Google, Samsung or Genymobile.

Version
1.0.2
Licence
MIT
Requirements
Windows 10 or 11 PC, x64 or ARM64; adb is downloaded if needed
Link
USB cable or local Wi-Fi (wireless debugging)

03 / NEXUS ECOSYSTEM

On its own, it works.
Together, it does more.

NexusAndroid installs on its own, or with the other Nexus tools, each on its own.

NexusSystem

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 NexusSystem

04 / SECURITY

The agent acts.
You stay in control.

The rules live in the tool itself, not only in the agent’s instructions.

An accord for every send

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.

Nothing irreversible without you

Delete for good, uninstall, reset: refused without confirm=true, which is set only after your yes.

Money stays yours

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.

Sensitive data masked

Codes received by SMS, bank card numbers and IBANs are masked in everything the agent reads, and codes are blacked out on images.

Video erased if the bank shows up

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.

Every gesture checked

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.

Your phone stays yours

Locked phone: no gesture, never a code. No gesture either while you are holding the phone.

One agent at a time, one phone

A shared lock keeps two agents from acting at once. Only the owner’s phone, recognised by its serial number, is driven.

Text read is data

What appears on screen or arrives by message is never an instruction for the agent.

The screen is handed back

Kept awake while working, then handed back and turned off two minutes after the last gesture: the phone locks again.

05 / GOOD TO KNOW

Visible.
Local. Nothing added.

The real screen

Gestures go through the phone’s screen: you watch the agent work.

No companion app

Nothing to install on the phone: ADB is enough, over a USB cable or the local Wi-Fi with wireless debugging.

No internet relay

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.

Compatibility

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 systemStatus
Samsung Galaxy Fold SM-F971B, One UI, Android 17, USB and wireless debuggingTested (real-phone scenarios)
Windows 11 PCTested
Other Samsung phones (One UI)Expected: same system and apps as the tested phone
Pixel, Motorola, Nothing, OnePlus, Sony, Fairphone and other near-stock AndroidExpected, 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 olderExpected over USB only (wireless debugging arrived with Android 11); app functions need Android 16
Tablets and other foldablesExpected; the folded or unfolded posture is tracked as on the Fold
Phones managed by an employer (USB debugging blocked)Not possible
iPhone, iPadNot supported (no ADB)
Android emulatorsIgnored unless named with NEXUS_ANDROID_SERIAL (for tests)
NexusAndroid icon: a phone linked to three agents

06 / LINKS

Read the code.
Plug in your phone.

The code, documentation and installer are on GitHub, under the MIT licence.