Skip to content
CodeDroid
Quickstart

Antigravity

  1. 1

    Install and connect

    Turn on USB debuggingSettings → About phone → tap Build number seven times. Then Settings → System → Developer options → USB debugging., plug your phone into your computer, and run:

    npx -y @codedroid/mcp setup

    It adds CodeDroid to Antigravity and any other coding agents it finds, then installs the app on your phone and connects it.

  2. 2

    Finish on your phone

    Allow USB debugging, sign in with Google, and tap Allow. Once it says Connected, restart Antigravity so it loads CodeDroid. CodeDroid appears under Customizations → Installed, with its tools and skills.

  3. 3

    Ask Antigravity

    • Test the changes on this branch on my phone and fix anything that breaks.

      Builds and installs the app, taps through the screens that changed, and retests after each fix.

    Browse all example prompts

Other ways to connect

Prefer manual setup?

Add this to ~/.gemini/config/mcp_config.json:

{ "mcpServers": { "codedroid": { "command": "npx", "args": ["-y", "@codedroid/mcp"] } } }

In Antigravity, open Customizations → MCP Servers and click Copy Config File Path to find the file. Keep what’s already in the file and add the codedroid entry next to it.

Then ask Antigravity: “Set up my phone.”

No cable?

Run the same command to add CodeDroid to your agents. Get the app, sign in, and turn on its accessibility service when it asks.

In CodeDroid, open Settings → Computers → Pair a computer. Run the command it shows in your terminal, then tap Allow on your phone.

It looks like npx -y @codedroid/mcp pair ABCD-EFGH. Codes expire after 10 minutes and work once.

Already added CodeDroid?

Ask Antigravity: “Set up my phone.” It uses codedroid_setup_phone and asks before installing anything.

Have a pairing code?

Run npx -y @codedroid/mcp setup ABCD-EFGH with your code. It adds CodeDroid to your agents and pairs in one step.

What’s next