GBOX logo

GBOX

Organization
babelcloud

Cli and MCP for gbox. Enable AI agents to operate Android/Browser/Desktop like human.

Publisherbabelcloud
Repositorygbox
LanguageGo
Forks
49
Stars
180
Available tools
0
Transport typestdio
Categories
LicenseApache-2.0
Links
  • Connect tools to AI workflows

    GBOX exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    180 stars and 49 forks from the linked repository.

GBOX

GBOX Animation

GBOX provides environments for AI Agents to operate computer and mobile devices.

GBOX Introduction

Mobile Scenario: Your agents can use GBOX to develop/test android apps, or run apps on the Android to complete various tasks(mobile automation).

Desktop Scenario: Your agents can use GBOX to operate desktop apps such as browser, terminal, VSCode, etc(desktop automation).

MCP: You can also plug GBOX MCP to any Agent you like, such as Cursor, Claude Code. These agents will instantly get the ability to operate computer and mobile devices.

Installation

System Requirements

  • MacOS

Note: Using gbox on other platforms, please check npm package @gbox.ai/cli for installation instructions. You can also login to GBOX.AI to use web-based dashboard.

Installation Steps

Quick Install (Recommended)

Option 1: Install GBOX CLI only

bash
curl -fsSL https://raw.githubusercontent.com/babelcloud/gbox/main/install.sh | bash

This installs just the GBOX CLI. Additional dependencies (like ADB, frpc, Appium) will be automatically installed when needed, or you can install them later using:

bash
gbox setup

Option 2: Install with all dependencies (one-step setup)

bash
curl -fsSL https://raw.githubusercontent.com/babelcloud/gbox/main/install.sh | bash -s -- --with-deps

This installs everything at once:

  • GBOX CLI
  • Node.js and npm (if not present)
  • Android Debug Bridge (ADB)
  • FRP client (frpc)
  • Appium server, drivers and plugins

Non-Interactive Mode:

bash
# CLI only
curl -fsSL https://raw.githubusercontent.com/babelcloud/gbox/main/install.sh | bash -s -- -y

# With all dependencies
curl -fsSL https://raw.githubusercontent.com/babelcloud/gbox/main/install.sh | bash -s -- -y --with-deps

Alternative Installation Methods

Via Homebrew (macOS):

bash
brew install gbox

Via npm (Linux/Windows):

bash
npm install -g @gbox.ai/cli

Setup Dependencies

If you installed GBOX CLI only, you can install all command dependencies anytime:

bash
gbox setup

Or install them interactively:

bash
gbox setup -y

Update GBOX CLI

Keep your GBOX CLI up to date:

Using the install script:

bash
# Interactive update (will prompt if already installed)
curl -fsSL https://raw.githubusercontent.com/babelcloud/gbox/main/install.sh | bash

# Force update without prompt
curl -fsSL https://raw.githubusercontent.com/babelcloud/gbox/main/install.sh | bash -s -- --update

# Skip update even if newer version available
curl -fsSL https://raw.githubusercontent.com/babelcloud/gbox/main/install.sh | bash -s -- --update=false

Using Homebrew (macOS):

bash
brew upgrade gbox

Using npm (Linux/Windows):

bash
npm update -g @gbox.ai/cli

Get Started

bash
# Login to gbox.ai
gbox login

# Connect your Android device (dependencies will be installed automatically if missing)
gbox device-connect

# Export MCP config and merge into Claude Code/Cursor
gbox mcp export --merge-to claude-code
gbox mcp export --merge-to cursor

Command Line Usage

Check GBOX CLI Reference for detailed usage.

SDK Usage

Check GBOX SDK Reference for detailed usage.

Use GBOX as a MCP Server(Login required)

Using GBOX CLI to configure MCP server to your Claude Code/Cursor:

bash
# Export MCP config for Cursor
gbox mcp export --merge-to cursor

# Export MCP config for Claude Code
gbox mcp export --merge-to claude-code --scope project

Or copy paste the following content into your Claude Code/Cursor MCP config:

json
{
  "mcpServers": {
    "gbox-android": {
      "command": "npx",
      "args": [
        "-y",
        "@gbox.ai/mcp-server@latest"
      ]
    }
  }
}

Note:

  • Currently, GBOX MCP can only control Android environments.
  • If you need Cursor/Claude Code to control your local Android device, please check Register Local Device

Android MCP Use Cases

Use CaseDemo
Claude Code Develop/Test Android AppClaude Code Develop/Test Android App
Claude Code Compare Prices on eCommerce AppsClaude Code Compare Prices on eCommerce Apps

Environments

Currently, GBOX supports the following environments:

  • Android
  • Linux Desktop/Browser

Android Environment

There are three types of Android environments, you can choose based on your needs:

1. Cloud Virtual Device:

Login to GBOX.AI to get a cloud virtual device. Best for testing and development.

2. Cloud Physical Device:

Login to GBOX.AI to get a cloud physical device. Cloud physical device is a real Android phone that you can use for production scenarios.

3. Local Physical Device:

Use your own physical device Register Local Device. Your local device can be any Android device that have Developer Mode enabled. Best for production scenarios and personal use.

Linux Desktop/Browser Environment

Login to GBOX.AI to get a Linux desktop/browser environment. Best for testing and development.

Develop gbox

Prerequisites

  • Go 1.21 or later
  • Make
  • pnpm (via corepack)
  • Node.js 16.13 or later

Build

bash
# Build for current platform
make build

# Build for all platforms
make build-all

# Create distribution package
make dist

Running Services

bash
# MCP Server
cd packages/mcp-server && pnpm dev

# MCP Inspector
cd packages/mcp-server && pnpm inspect

Contributing

We welcome contributions! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

  1. Fork the repository
  2. Create your feature branch (git checkout -b username/feature-name)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin username/feature-name)
  5. Open a Pull Request

Things to Know about Dev and Debug Locally

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Installation

TypingMind
{
  "mcpServers": {
    "gbox": {
      "command": "npx",
      "args": [
        "-y",
        "@gbox.ai/mcp-server@latest"
      ]
    }
  }
}

Use GBOX MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once GBOX is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add GBOX as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the GBOX MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "gbox": {
      "command": "npx",
      "args": [
        "-y",
        "@gbox.ai/cli"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the GBOX MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the GBOX MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use GBOX to help me with this task?
GBOX
Sure. I read it.
Here is what I found using GBOX.

Frequently asked questions

What is the GBOX MCP server used for?

GBOX is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use GBOX MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use GBOX with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use GBOX MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With GBOX connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect GBOX MCP to TypingMind?

GBOX runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does GBOX MCP provide in TypingMind?

GBOX exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use GBOX MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If GBOX requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇