
Gbox
STDIOSelf-hostable sandbox for AI agents with terminal, browser, and mobile control capabilities
Self-hostable sandbox for AI agents with terminal, browser, and mobile control capabilities
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.
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.
# Install via Homebrew (on MacOS) brew install gbox # Login to gbox.ai gbox login # Export MCP config and merge into Claude Code/Cursor gbox mcp export --merge-to claude-code gbox mcp export --merge-to cursor
Check GBOX CLI Reference for detailed usage.
Check GBOX SDK Reference for detailed usage.
Using GBOX CLI to configure MCP server to your Claude Code/Cursor:
# 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:
{ "mcpServers": { "gbox-android": { "command": "npx", "args": [ "-y", "@gbox.ai/mcp-android-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
Use Case | Demo |
---|---|
Claude Code Develop/Test Android App | ![]() |
Claude Code Compare Prices on eCommerce Apps | ![]() |
Currently, GBOX supports the following environments:
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.
Login to GBOX.AI to get a Linux desktop/browser environment. Best for testing and development.
# Build all components make build # Create distribution package make dist
# MCP Server cd packages/mcp-server && pnpm dev # MCP Inspector cd packages/mcp-server && pnpm inspect
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.
git checkout -b username/feature-name
)git commit -m 'Add some feature'
)git push origin username/feature-name
)This project is licensed under the Apache License 2.0 - see the LICENSE file for details.