
BabelCloud/Gbox 是一个从 https://github.com/babelcloud/gbox. 导入的 MCP 服务器候选。
概览
BabelCloud/Gbox 是一个从 https://github.com/babelcloud/gbox. 导入的 MCP 服务器候选。
概述(AI 翻译)
GBOX 为 AI 代理提供操作计算机和移动设备的环境。
移动场景: 你的代理可以使用 GBOX 开发/测试安卓应用,或者在安卓上运行应用完成各种任务(移动自动化)。
桌面场景: 你的代理可以使用 GBOX 来操作桌面应用,比如浏览器、终端、VSCode 等(桌面自动化)。
MCP: 你也可以将GBOX MCP连接到任何你喜欢的代理,比如光标、Claude代码。这些代理将立即获得操作电脑和移动设备的能力。
安装
系统需求
- MacOS
- 版本:10.15或更高版本
- 自制内容
注:在其他平台上使用 gbox,请查看 npm package @gbox.ai/cli 获取安装说明。您也可以登录 GBOX。AI 可使用基于网页的仪表盘。
安装步骤
快速安装(推荐)
选项1:仅安装GBOX CLI
这只安装了GBOX CLI。额外的依赖(如ADB、frpc、Appium)会在需要时自动安装,或者你可以以后使用以下方式安装:
选项2:安装所有依赖(一步步设置)
这样可以一次性安装所有内容:
- GBOX CLI
- Node.js 和 NPM(如果不存在)
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
GBOX
GBOX provides environments for AI Agents to operate computer and mobile devices.
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
- Version: 10.15 or later
- Homebrew
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
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:
gbox setup
Option 2: Install with all dependencies (one-step setup)
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:
# 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):
brew install gbox
Via npm (Linux/Windows):
npm install -g @gbox.ai/cli
Setup Dependencies
If you installed GBOX CLI only, you can install all command dependencies anytime:
gbox setup
Or install them interactively:
gbox setup -y
Update GBOX CLI
Keep your GBOX CLI up to date:
Using the install script:
# 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):
安装
npx -y @gbox.ai/mcp-server@latest配置
{
"mcpServers": {
"gbox-android": {
"command": "npx",
"args": [
"-y",
"@gbox.ai/mcp-server@latest"
]
}
}
}