box
iOS and Android builds and tests for your coding agent, from any machine. Claude Code, Codex, Cursor or any MCP client runs box build, box test or box screenshot from Linux, WSL or macOS; the iOS job runs in Xcode on a real Mac, the Android job on an emulator, and the result comes back to the agent: compile errors as file:line, one line per test, screenshots, and a running app it can read, tap, type into and swipe.
Set up
The quickest way: paste this into your agent
Set up box with https://xenoci.com/setup
Or pick your client:
Claude Code (plugin: skill + MCP tools)
claude plugin marketplace add Xeno-CI/box-cli
claude plugin install box@xenoci
Codex (plugin: skill), with the box CLI installed (below):
codex plugin marketplace add Xeno-CI/box-cli
codex plugin add box@xenoci
Any MCP client (Cursor, Claude Desktop, VS Code, Codex, ...), with Node 18+:
{
"mcpServers": {
"box": { "command": "npx", "args": ["-y", "@xenoci/box", "mcp"] }
}
}
The CLI (Linux x86_64 and arm64, WSL, macOS on Apple silicon):
curl -fsSL https://xenoci.com/install.sh | sh
box login # GitHub sign-in; your first sign-in comes with $10 of credit
box setup # box notes in CLAUDE.md / AGENTS.md, the skill for Claude Code and Codex, a Cursor rule
Just the skill (Claude Code, Codex, Cursor, Gemini CLI, OpenCode and more):
npx skills add Xeno-CI/box-cli
If the CLI is not installed yet, the skill tells your agent how to install it.
Sign in with box login (or the MCP login tool), or set BOX_API_KEY as a secret in a cloud agent.
What your agent gets
| MCP tool |
CLI |
What it does |
build |
box build |
build for the simulator or emulator (--device-build: unsigned Release build) |
test |
box test |
build and run tests on a fresh simulator or emulator |
screenshot |
box screenshot |
launch the app and return a picture (dark mode, other languages, video, compare with the last run) |
run |
box run |
build and keep the app open |
describe, tap, type, swipe, press_button, look |
box ui ... |
use the running app like a person |
debug |
box debug |
launch under LLDB and return the stack and variables at breakpoints (iOS) |
exec |
box exec |
run a shell command in the project folder on the selected platform |
why |
box why |
where, why and fix for a failed job |
logs, stop |
box logs, box cancel |
a job's output, stop a job or the open app |
status, usage, topup |
box status, box usage, box topup |
balance and running jobs, charges, the top-up link |
login |
box login |
GitHub sign-in |
report_problem |
box feedback |
tell us when something on our side is wrong |
box --help and box <command> --help list every option. --json prints machine-readable output. Exit codes: 0 ok, 1 your build or tests failed, 2 bad usage or a local problem, 3 our side or your account.
How it works
box sends the project folder (changed files only, .gitignore respected, .env never sent) to our machines and runs the job there: Xcode on a real Mac for iOS, an emulator on Linux for Android. Results are saved under .box/out/<job>/ in your project. When a command fails, box sends a short error report (command, exit code, timings, version, OS, error code; no code, file contents, paths or environment values); turn it off with box telemetry off, BOX_TELEMETRY=0 or DO_NOT_TRACK=1.
Pricing
Prepaid USD balance; only the time a build or test runs is charged, per started minute. box status shows your balance and the current per-minute rates, and https://xenoci.com lists the prices. Your first GitHub sign-in comes with $10.
This repository
The open parts of box: the Claude Code plugin (.claude-plugin/, skills/, .mcp.json), the Codex plugin (.codex-plugin/, .agents/plugins/), the @xenoci/box npm package (npm/, which downloads the CLI from xenoci.com/download and checks it against the published SHA256SUMS), the MCP Registry entry (server.json) and install.sh. The CLI source and the service are not published here.
Report bugs and ask questions in Issues, or run box feedback "<note>" to send a note with your last job attached. By using box you agree to the Terms and Privacy Policy. box is made by IDEALAB. MIT licensed.
Apple, Mac, macOS, iPhone, Xcode, Swift and SwiftUI are trademarks of Apple Inc., registered in the U.S. and other countries and regions. box is an independent service and is not affiliated with, sponsored or endorsed by Apple Inc.