pitbox
Runs, drives, and debugs Android apps on configured emulators and physical devices, including launching apps, taking text snapshots, and executing flows.
Runs, drives, and debugs Apple apps on simulators, using configured bundle IDs for launching, snapshots, and flow-based checks.
Helps manage Docker-backed app services in the local test stand, including starting/stopping Docker Compose services and checking Docker container health.
Supports Metro as a dev-server adapter for React Native projects, with configurable root and bytecode settings.
Provides extra instrumentation inside React Native apps, including React render visibility, network logs, console access, eval, logpoints, and hot updates.
Provides a Swift connect library for integrating Swift apps with pitbox so they can be driven and debugged on Apple platforms.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
pitbox
Run, drive and debug apps on emulators, simulators and devices from one MCP server — fast and token-lean.
pitbox gives a coding agent (and you) one tool for the whole local loop: the stand your app talks to, the devices it runs on, and the checks that tell you what is broken. It works with any framework; React Native gets extra reach inside the app.
Phones, foldables, tablets, TVs, watches, XR headsets, glasses and cars — Android emulators and devices, Apple simulators, and web apps in a browser, behind the same tools.
Answers an agent can afford — the screen as short lines with refs, actions that wait for the UI to settle and reply with what changed, images only on request.
Flows — a line-per-step script run by the daemon: a whole pass in one call, one verdict.
Checks instead of screenshots — is the video playing, does the screen match its baseline, can the D-pad reach everything, which function made the frame janky.
The stand — services, mocks and backend states started from one config and kept warm between sessions.
Inside a React Native app with no app code — fresh code or stale, the network log and rules, the console,
evaland logpoints, hot updates, React renders.
Quick start
yarn add -D @veksa/pitbox
npx pitbox init # writes pitbox.config.ts from what it finds in the projectAdd the MCP server to the project's .mcp.json:
{"mcpServers": {"pitbox": {"command": "npx", "args": ["pitbox", "mcp"]}}}Or drive it from the shell:
pitbox up # the stand: services, dev server
pitbox boot # the configured emulator, ports forwarded
pitbox open # launch the app
pitbox snapshot # the screen as text
pitbox run smoke # flows/smoke.flow, one verdictA config by hand:
// pitbox.config.ts
import {defineConfig} from '@veksa/pitbox';
export default defineConfig({
app: {android: 'com.example.app', apple: 'com.example.app'},
android: {avd: 'Pixel_8'},
services: {
db: {start: 'docker compose up -d db', stop: 'docker compose stop db', health: 'docker:db'},
api: {start: 'yarn --cwd server start', health: 'http://localhost:3000/health', expose: 3000, dependsOn: ['db']},
},
devserver: {adapter: 'metro', root: 'mobile', bytecode: true},
});Related MCP server: vibeview
Documentation
requirements, the MCP server, connect libraries for React Native, Swift and Android | |
everything pitbox does, by area | |
every field of | |
the flow language: steps, selectors, recording | |
how an agent gets the most out of the tools | |
what pitbox measures and how | |
sample Android, Apple and React Native apps with their flows |
Contributing
See CONTRIBUTING.md.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Cloud iOS simulators and Android emulators your agent can create, drive, and throw away.
Drive real devices from your AI Coding tool. Embed a client SDK (Unity, Godot, Flutter, iOS/macOS, Android, React Native, Web) in your app, then capture screenshots, traverse the UI tree, inject taps and key events, and run automated test tasks on the physical device over a secure relay.
Agents that test your web and mobile app like real users, on every pull request.
Drive and test your React Native and Expo apps end-to-end on iOS and Android. Supports real devices, simulators, and emulators. Snapshots, taps, typing, swipes, screenshots, deep links, reloads, builds and runtime errors.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables agents to author, validate, and execute browser/API test plans with parallel drivers, assertions, and captured evidence such as screenshots and network logs.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to verify work on live cloud devices by uploading builds, starting sessions, driving UI through UI-tree refs, reading logs, and taking screenshots on iOS, Android, Apple TV, and Android TV.4MIT
- AlicenseNot gradedqualityCmaintenanceEnables local, air-gapped automation of Android and iOS devices and emulators, letting AI agents inspect UI hierarchies, tap, swipe, type, manage apps, capture screenshots, and pull device logs and crash reports. Bundles banking-grade safeguards such as automatic PII and secret redaction, PCI-DSS-style log sanitization, and configurable screenshot-blocking DLP policies.Apache 2.0

agentlaneofficial
AlicenseNot gradedqualityCmaintenanceEnables AI coding agents to drive and inspect isolated app instances across web, iOS, and Android, with tools for reading screens, running interactions, and capturing screenshots or evidence.11 npm2MIT