Android Tester MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
npm install
npm run build
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add -e "GBOX_API_KEY=${GBOX_API_KEY}" android-tester -- node "<FULL_PATH_TO_ANDROID_TESTER_MCP>/dist/index.js"

Replace <FULL_PATH_TO_ANDROID_TESTER_MCP>/dist/index.js with the actual folder you prepared in step 1.

Required:GBOX_API_KEY
README.md

Automate Android devices using the Gbox SDK via MCP

Android Tester MCP

A Model Context Protocol (MCP) plugin for automating Android devices using the Gbox SDK. This plugin provides tools for creating Android boxes, taking screenshots, performing AI-powered UI actions, and managing applications.

Features

  • Create Android Boxes: Spin up virtual or physical Android devices
  • Screenshot Capture: Take screenshots of the current display
  • AI-Powered Actions: Perform UI actions using natural language instructions
  • App Management: Install, uninstall, and launch Android applications
  • Box Management: List and get information about your Android boxes

Setup

  1. Install Dependencies

    npm install
    
  2. Set Environment Variables

    Create a .env file in the project root:

    GBOX_API_KEY=your_gbox_api_key_here
    
  3. Build the Project

    npm run build
    

Usage

This is an MCP server that provides tools for Android automation. Once running, you can use the following tools:

Config in Cursor

{
  "mcpServers": {
    "gbox-android": {
      "command": "node",
      "args": ["/YOU_PATH_TO_THIS_REPO/android-tester-mcp/dist/index.js"],
      "env": {
        "GBOX_API_KEY": "YOUR API KEY"
      }
    }
  }
}

Available Tools

  • create_android_box: Create a new Android box with specified configuration
  • list_boxes: List all current boxes belonging to your API key
  • get_box: Get detailed information about a specific box
  • get_screenshot: Take a screenshot of the Android device
  • ai_action: Perform UI actions using natural language (e.g., "click the login button")
  • install_apk: Install an APK file from local path or URL
  • uninstall_apk: Uninstall an app by package name
  • open_app: Launch an installed application

Requirements

  • Node.js and npm
  • Valid Gbox API key
  • TypeScript (for development)

Sample Prompts in Cursor

Test the apk of this project like a user, just create an android environment on gbox, and install it and test it by instructing the MCP tool ai_action. Keep developing and testing until all requirements are met.

Tools (8)

create_android_boxCreate a new Android box with specified configuration
list_boxesList all current boxes belonging to your API key
get_boxGet detailed information about a specific box
get_screenshotTake a screenshot of the Android device
ai_actionPerform UI actions using natural language
install_apkInstall an APK file from local path or URL
uninstall_apkUninstall an app by package name
open_appLaunch an installed application

Environment Variables

GBOX_API_KEYrequiredAPI key for accessing Gbox SDK services

Configuration

claude_desktop_config.json
{"mcpServers": {"gbox-android": {"command": "node", "args": ["/YOU_PATH_TO_THIS_REPO/android-tester-mcp/dist/index.js"], "env": {"GBOX_API_KEY": "YOUR API KEY"}}}}

Try it

Create a new Android box environment for testing.
Install the APK located at /path/to/app.apk on my Android box.
Take a screenshot of the current device screen.
Use ai_action to click the login button on the screen.
List all my currently running Android boxes.

Frequently Asked Questions

What are the key features of Android Tester?

Create and manage virtual or physical Android devices. Capture screenshots of the Android display. Perform AI-powered UI actions via natural language. Install, uninstall, and launch Android applications. Retrieve detailed information about Android boxes.

What can I use Android Tester for?

Automated testing of Android application UI flows. Remote management of Android test environments. AI-driven interaction with mobile app interfaces. Rapid deployment and testing of APK files.

How do I install Android Tester?

Install Android Tester by running: npm install && npm run build

What MCP clients work with Android Tester?

Android Tester works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Android Tester docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare