> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xenoci.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP tools

> The 26 tools of box mcp

`box mcp` runs XenoCI Box as a local MCP server over stdio. `box setup` registers it for Claude Code and Codex; any other client starts it with

```bash theme={"system"}
box mcp
npx -y @xenoci/box mcp
```

<video controls muted loop playsInline autoPlay preload="metadata" poster="/media/docs/agents-poster.webp" src="https://mintcdn.com/xenoci/ZFKGlbE4Q2bw14Om/media/docs/agents.mp4?fit=max&auto=format&n=ZFKGlbE4Q2bw14Om&q=85&s=e5cbc900e1ea5a0063d506f92f4be202" width="1280" height="778" />

Claude Code asked to build the app and show a screenshot: it calls box build and box screenshot over MCP

## The tools

What `box mcp` 0.1.46 answered to `tools/list`, in that order, with the first line of each description

| Tool | What it does |
| - | - |
| `build` | Build an iOS project on a Mac or an Android project on Linux. |
| `test` | Build and run tests on the selected platform's simulator or emulator. |
| `screenshot` | Build, launch on a simulator and return a screenshot (PNG). |
| `run` | Build the app and keep it open on a simulator for this folder (no separate build before it). |
| `debug` | Build and launch the app on a simulator under LLDB, stop at the breakpoints and return the stack and variables at each stop. |
| `web` | Open a web page in Safari on a Mac and in Safari on an iPhone simulator and return both pictures (safari-mac.png, safari-ios.png) with the page's JavaScript errors, console.error lines and failed requests (web.json). |
| `devices` | The simulators (iOS: name, runtime, udid) or emulator profiles (Android) a build machine has, for the device argument of test, run, screenshot and web. |
| `exec` | Run a shell command in the project folder on the selected platform (bash). |
| `describe` | List the elements on the simulator screen, one short line each: role, label, value and the ref that tap's id takes. |
| `find` | Print the one element whose label, value or ref contains text, in the same line describe prints. |
| `tap` | Tap an element by id or label, or a point x,y. |
| `type` | Type text into the focused field (any language, Korean included). |
| `swipe` | Swipe from one point to another. |
| `press_button` | Press a hardware button: home, lock, side or siri. |
| `look` | A picture of the simulator screen right now (PNG). |
| `stop` | Stop a job or the open app session (default: the last job). |
| `report_problem` | Tell the box team about a problem with box itself (not your app), with a job attached (default: the last job). |
| `report_job` | Report one job for a refund. |
| `claims` | Your job reports and their results: open, refunded with the amount, or declined with the reason. |
| `status` | Balance in US dollars, iOS and Android build minutes left at the configured per-started-minute rates, minutes used today, running and queued jobs, the open simulator session of each folder, and the last job. |
| `why` | Why a failed job failed (default: the last job): three lines, where (file:line), why and fix, read by AI from what only the Mac has (crash reports symbolicated with the build's dSYM, failing tests with their locations, the log). |
| `ai` | box AI for this account: state on, off or status (default status). |
| `logs` | The log of a job (default: the last one) as text. |
| `usage` | Usage rows for a date range (YYYY-MM-DD). |
| `login` | Sign in. |
| `topup` | The top-up link for the account wallet (opens nothing; give it to the user). |

Job tools take `platform` (ios or android) like `--platform`. `topup` only makes a link: the tool tells the agent to ask you first

![A picture the screenshot tool returned: Hello from box with a counter](https://mintcdn.com/xenoci/ZFKGlbE4Q2bw14Om/images/docs-agents-screen.png?fit=max\&auto=format\&n=ZFKGlbE4Q2bw14Om\&q=85\&s=57a2bab0b30da73118373c050fedae7c)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.