tapp
Enables automated QA testing of iOS apps on the simulator, including building, installing, exploring the accessibility tree, and generating ship/no-ship verdicts with evidence.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tappRun qa on my app - is it ship-ready?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
tapp — ship with proof
Tapp is the release-contract and evidence layer for teams shipping agent-authored applications. It turns a repository and real product into an observed UI Map, a compact reviewed deterministic suite, and an inspectable merge decision.
Coding agents can write the code, and (with Playwright & friends) they can even drive the app.
What nobody gives them is proof it works. tapp explores your app like a user — no test code,
no app changes — and surfaces what's broken, with evidence. Then a deterministic gate applies
versioned policy to that evidence — the findings and coverage, any selected deterministic suites
(Flows/Scenarios/contracts), and, when available, a target-scoped baseline — and returns a merge
decision your queue can trust: pass, fail, or inconclusive. Exploration observes; the gate
judges — never a soft "ship-ready" guess.
Three platforms, one observe-and-gate engine:
iOS — the missing Playwright for iOS. tapp is hands and eyes: a generic XCUITest harness drives any app on the simulator via the accessibility surface. Native — no Appium, no WebDriverAgent.
Android — black-box native driving through ADB + UIAutomator. Install an APK, target its application id, and run the same exploration, committed Flows, evidence, and regression gate. The app does not link a Tapp SDK.
Web (beta) — built on Playwright. Your agent already has browser hands; tapp adds the autonomous exploration, the deterministic detectors (uncaught exceptions, failed requests, dead buttons, broken links, placeholder
href="#"links, error pages), and the same gate.
Give Tapp to your coding agent
After setup, the whole user prompt is:
Use Tapp to test this app.
The official skill teaches the agent to choose the smallest useful operation, handle repositories with multiple app targets, inspect visual evidence, and keep exploration observations separate from release judgment.
Claude Code, Codex, Cursor, Copilot, and other Agent Skills clients — skill only (recommended):
npx -y skills add aarwitz/tapp --skill tappThis installs the open Agent Skills workflow into the current project and lets the agent run the npm
CLI directly; no MCP server, plugin, account, API key, global Tapp install, or pasted prompt block is
required. Add -g for a user-wide install, or --agent claude-code, --agent codex, and similar
selectors to constrain the clients. Start or restart the agent from the application repository and
use the short prompt above.
Claude Code — optional enhanced skill and MCP tools:
claude plugin marketplace add aarwitz/tapp
claude plugin install tapp@tappThe plugin bundles the same tapp Agent Skill with the matching npm-backed MCP server. Use it when
you want inline screenshot tool results and a persistent interactive tap/read/type session; it is
not required for the core skill-to-CLI workflow.
No agent integration: run the npm package directly from an app repository:
npx -y @aarwitz/tapp@latest init . --exploreVS Code: install Tapp from the Marketplace. It contributes the same cross-platform Agent Skill to Copilot plus focused iOS simulator tools and a live simulator panel. Android and web remain available through the skill's CLI/MCP workflow.
you: "Add a logout button to the settings screen"
agent: *writes the Swift*
agent: *tapp: builds, opens the app, navigates to Settings, screenshots it*
agent: "Done — and here it is working on the simulator: [screenshot]"Related MCP server: Mobile Testing AI Agent MCP Server
npm CLI quickstart
Requirements: Node ≥ 18. iOS needs macOS + Xcode; Android needs adb plus a connected
emulator/device; web needs Playwright + Chromium.
From the app repository, let the agent see the current screen and then explore it:
npx -y @aarwitz/tapp@latest open # builds/launches as needed; prints a screenshot path + screen summary
npx -y @aarwitz/tapp@latest explore # explores the real app; prints findings + evidence (an observation, not a gate)Claude Code can read the saved image with its file-reading tool; Codex can open it with
view_image. The agent should report what the screenshot proves, relay the exploration findings
as-is (an observation, not a merge decision — tapp ci gates that), and link the HTML evidence
report. No server, account, config file, test code, API key, or bundle id is required for this loop.
The product, executable, and package leaf are all Tapp: npm distributes it as
@aarwitz/tapp, while the installed command remains tapp.
To bootstrap maintained release infrastructure, preview the repository model and grounded plan before Tapp writes anything:
npx -y @aarwitz/tapp@latest init . --dry-run --json-out /tmp/tapp-init.json
# Build/start the detected web target, ground the first UI Map, then stop it.
npx -y @aarwitz/tapp@latest init . --explore --platform web
# Or build/install the detected Xcode target, ground the map, and persist the validated scheme.
npx -y @aarwitz/tapp@latest init . --explore --platform ios --target .
# Or connect to an already-running owned URL:
npx -y @aarwitz/tapp@latest init . --explore --platform web --url http://127.0.0.1:4173
# If the app has roles/accounts, bind names once; values stay in local/CI secrets.
npx -y @aarwitz/tapp@latest actor set alice . --role member --session isolated \
--credential email=ALICE_EMAIL --credential password=ALICE_PASSWORD
# Review-only path: tapp init . → tapp plan show → tapp plan review --approve ...
# After approved drafts replay and are promoted, establish the selected target's baseline
# through the ordinary full gate, then generate the reviewable GitHub workflow.
npx -y @aarwitz/tapp@latest baseline create . --platform web
npx -y @aarwitz/tapp@latest ci install .In a repository containing multiple apps (for example, iOS plus web),
tapp init . --explore without an explicit target does not guess from detection order—even when a
prior choice is recorded. A human terminal gets a numbered
selector; a non-interactive CLI prints exact target-selection commands, while MCP also returns
structured choices. Neither builds or writes before the choice. After you choose one, the model
retains every detected target and records the choice as the default for the next bare tapp explore;
explicit init --explore continues to ask because it is the onboarding/refresh operation. Setup gaps
belonging only to unselected targets are shown as informational, not as failures of the selected run.
The baseline command writes only after exploration and every selected deterministic suite pass
conclusively. It stores .tapp/baselines/<platform>/<target-id>.json; the generated workflow
uses that exact target identity so two apps on the same platform never share a baseline. ci install writes .github/workflows/tapp.yml plus .tapp/ci.json, refuses unresolved build
configuration and existing-file collisions, and never commits, pushes, enables branch protection,
or creates GitHub resources. Review and pin the generated Tapp release reference to its immutable
commit SHA before production.
Every verb takes whatever you have: nothing (auto-detects the repo you're in, or the app
already on the simulator), a repo directory, a path/to/App.app, or a bundle id:
npx -y @aarwitz/tapp@latest open [target] # launch the app → screen summary + screenshot file
npx -y @aarwitz/tapp@latest tree [target] # accessibility tree of the current screen
npx -y @aarwitz/tapp@latest shot # screenshot the booted simulator
npx -y @aarwitz/tapp@latest apps # what's installed on the simulator (names + bundle ids)
npx -y @aarwitz/tapp@latest build [dir] # just build + install (scheme auto-detected)Web (beta): npx -y @aarwitz/tapp@latest explore http://localhost:3000 (one-time setup:
npm i -g playwright && npx playwright install chromium). Add --watch to open Tapp's controlled,
isolated Chromium window and follow its clicks with an on-page pointer/action label. Tapp hides that
watch UI from saved evidence screenshots and does not automate your personal/default browser profile.
Focused web inspection waits briefly for loading states to settle. If a consent or location modal blocks the screen, dismiss it and wait for the content you care about in the same package-only call:
npx -y @aarwitz/tapp@latest open https://example.com --tap "Not now" --wait-for "Dashboard"
npx -y @aarwitz/tapp@latest tree https://example.com --tap "Not now" --wait-for "Dashboard" --jsonAndroid:
npx -y @aarwitz/tapp@latest explore path/to/app-debug.apk --platform android --app-id com.acme.app
npx -y @aarwitz/tapp@latest open com.acme.app --platform androidOptional but recommended (prebuilds the test harness so the first run is fast):
npx -y @aarwitz/tapp@latest install # ~2 min, one time
npx -y @aarwitz/tapp@latest doctor # verify Xcode / simulators / toolchainOptional browser workspace
npx -y @aarwitz/tapp@latest app . opens a local Release Studio for people who want visual repository
onboarding, release-plan review, and CI preparation. It is not required for the coding-agent
open/explore workflow.
MCP hookup (optional)
The MCP server adds the two things a CLI can't do: screenshots inline in your agent's context (the model literally sees the screen) and the interactive session loop (tap → read tree → type, with the app staying open between actions).
Claude Code:
claude mcp add tapp -- npx -y @aarwitz/tapp@latest mcpCursor / VS Code (Copilot) — add to ~/.cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code):
{
"servers": {
"tapp": { "type": "stdio", "command": "npx", "args": ["-y", "@aarwitz/tapp@latest", "mcp"] }
}
}Codex CLI — add to ~/.codex/config.toml:
[mcp_servers.tapp]
command = "npx"
args = ["-y", "@aarwitz/tapp@latest", "mcp"]Any other MCP client: stdio command npx -y @aarwitz/tapp@latest mcp.
Then ask your agent:
"Explore my app and show me what breaks." "Open com.mycompany.app on the simulator and screenshot the home screen." "Log in with test@example.com, drive to checkout, and record it as a replayable test."
What the agent gets
Tool | What it does | |
👁 |
| See a screen — launch the app, return screenshot + accessibility tree. Seconds. |
📸 |
| Whatever's on the sim right now, as an inline image. |
🌳 |
| The accessibility tree of the current screen (ids, labels, hittability). |
🕹 |
| Interactive driving — the Playwright loop. App launches once; each act (tap/type/swipe/back/wait) returns the fresh tree. |
🔭 |
| Autonomous exploration — explores with no authored test, returns an observation |
🧭 |
| Repository import — detect targets; optionally explore a real surface; persist the shared UI Map; construct the evidence-classified model and grounded release plan. |
👤 |
| Actor/session setup — store roles, isolation/provisioning, and environment-variable names without accepting or persisting credential values. |
✅ |
| Release-plan lifecycle — inspect, approve/reject/defer, generate, real-target validate, and explicitly promote proposed guarantees without silent test edits. |
🚦 |
| Baseline and CI setup — import a conclusive target baseline or render/install the same reviewable target-aware workflow as the CLI. |
🗺️ |
| Persistent UI Map — build, inspect, merge, and diff observed states, controls, transitions, provenance, and coverage. |
🧩 |
| Reusable deterministic Tasks — validate and compile shared actions such as |
📜 |
| Business-level release contracts — validate, compile, or run typed guarantees composed from Tasks and named actors. |
📋 |
| PR-aware evolution — select reviewed contracts, schedule bounded changed-surface exploration, and explicitly adopt observed coverage proposals without silent rewrites. |
🔁 |
| Deterministic E2E execution (Flows) — raw steps or reusable Task calls replay with exact assertions. |
👥 |
| Multi-actor system tests — isolated named browser sessions verify cross-account state with deterministic assertions. No AI at replay time. |
📱 |
| Simulator + app management. |
🩺 |
| Diagnostics and capture history. |
Canonical installable skill: skills/tapp/SKILL.md. Full low-level tool
reference: AGENTS.md. Both ship inside the npm package; installing the Claude plugin
or Agent Skill is what makes the workflow discoverable without pasting instructions.
Application-model and import contract: docs/application-model.md.
The desktop Coverage view reads the same .tapp/application-model.json,
.tapp/release-plan.json, and .tapp/ui-map.json, including explicit proposal review; it
does not maintain a separate product model. Map nodes identify both the real launch entry and the
deterministic per-platform navigation root used for bounded changed-surface replay.
Observation you can read, judgment you can trust
Exploration observes; the gate judges. Exploration is adaptive — two runs may traverse different
paths — and it produces an observation, never a ship verdict: findings + coverage + evidence. The
gate is deterministic: the same evidence trace, contracts, and baseline always produce the same
outcome — pass, fail, or inconclusive — with no LLM in the decision loop. PR gating keys on the
regression diff (stable finding signatures vs. a baseline), so it reacts to what changed, not to
run-to-run path variance. For critical user journeys, committed Tasks and Flows provide the stable
CI suite: reusable semantic actions, exact assertions, condition-based waits, fresh launch state,
bounded timeouts, and evidence on failure. We call this flake-resistant, not magically flake-free —
backend outages, unstable test data, and poorly identified controls can still make any E2E test fail.
No scores, no soft verdicts. Exploration reports deterministic findings, advisory budget-capped control probes, and concrete coverage — never a 0–100 number or a "ready/ship" label a shallow crawl can't honestly earn. The merge decision comes only from the gate: reviewed contracts, committed Flows/Scenarios, and baseline regressions.
tapp_explore explores like a user — accessibility surfaces on iOS/Android and a real browser on web
— and detects crashes, failed sign-ins, dead buttons, stuck loading screens, error surfaces,
navigation loops, and dead ends (plus, on web: uncaught JS exceptions, failed/5xx requests, broken
links and assets, and visible placeholder links with no destination). The observation is honest about
its limits:
It surfaces findings; it does not pronounce "ready." A shallow run is never a pass — if the app crashed on launch or a login wall blocked exploration, you get
inconclusive: true, not a false green. Absence of findings is not a pass.The gate turns findings + coverage + your reviewed contracts + a baseline into
pass/fail/inconclusive(inconclusivefails closed). Deterministic — no LLM in the run loop.An exploratory crawl explicitly excludes content/claim accuracy, privacy and API data minimization, brand/SEO consistency, and subjective visual credibility. Those require reviewed contracts, privacy review, or human/vision judgment; a crawl must not imply they were validated.
For a business guarantee such as “every coach is insured,” use a deterministic app-owned verifier endpoint that returns success only when the invariant holds, then require that status and the customer-visible claim in a release contract. The current DSL does not yet read arbitrary JSON response bodies or compare a cross-origin API payload directly with page copy; use a verifier or an explicit CI preflight rather than assuming exploration inferred the guarantee.
Apps behind a login? Pass testEmail/testPassword (typed into the login form automatically),
appLaunchArgs (e.g. ["--uitesting"] if your app supports a bypass), or explicit loginSteps
for custom login UIs.
CI gate
The same engine runs as a merge gate — explore on every PR, replay committed release contracts, Flows, and multi-actor Scenarios, diff findings against the last conclusive default-branch run, fail on regressions, post a sticky PR comment, and upload screenshots, the recording, and machine-readable JSON:
# .github/workflows/tapp.yml
name: Tapp release gate
on:
pull_request:
push:
branches: [main] # refreshes the automatic baseline after merges
permissions:
actions: read
contents: read
pull-requests: write
concurrency:
group: tapp-${{ github.ref }}
cancel-in-progress: true
jobs:
tapp:
runs-on: macos-15
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: aarwitz/tapp@main # pin to the newest release tag for production
with:
project: MyApp.xcodeproj # or MyApp.xcworkspace
scheme: MyAppOn pull requests, the Action automatically reads the complete changed-file set from GitHub,
retaining old and new paths for renames. It always runs critical/policy.always contracts, adds
contracts related through reviewed source ownership, the UI Map, and transitive Task composition,
and records skipped contracts and coverage gaps in tapp-pr-plan.json. A selected contract that
does not execute blocks the merge. Set pr-selection: "false" only when intentionally running the
full contract set.
Changed weakly covered surfaces are not limited to direct web URLs. Reviewed Task source ownership can compile one bounded native target (or up to five web targets) through observed UI Map edges, with condition waits and stable target evidence. Missing or failed targets make the run inconclusive; Tapp does not guess a path from a screen name.
The first successful, conclusive run on main seeds a repository-scoped Actions cache and a
90-day baseline artifact. Both are keyed by platform and stable application-model target id. Pull requests automatically restore it and fail only on new
high/critical findings or broken Flows—not pre-existing debt. No baseline commit or PAT is required.
If you prefer a reviewed, durable baseline, run tapp baseline create and commit the generated
.tapp/baselines/<platform>/<target-id>.json; tapp ci install wires its explicit path into the
corresponding job. The legacy .tapp/baseline.json is still recognized. Automatic baseline restore and the PR comment need actions: read and
pull-requests: write as shown above. Secrets are unavailable to workflows from forks, so
auth-gated apps should either use a non-secret UI-testing launch argument or skip the gate for
untrusted forks.
Already build the simulator app in another job, or use another CI provider? The portable command
accepts that .app, detects its bundle id, writes report artifacts, and exits non-zero when the
gate fails:
npx -y @aarwitz/tapp@latest ci --app path/to/MyApp.app \
--project-dir . --pr-base origin/main --pr-head HEAD \
--target-key target_ios_myapp \
--pr-plan-out tapp-pr-plan.json \
--baseline path/to/last-main-report.json \
--json-out tapp-report.json --md-out tapp-report.mdSee the self-test at .github/workflows/tapp-gate-example.yml for Flows, auth inputs, and other controls. GitHub-hosted iOS runs require a macOS runner; the first run also builds the XCUITest harness, so budget roughly 5–10 minutes depending on app size.
Android CI runs on Linux with an emulator/device already connected. The Action can build the APK or accept a prebuilt one:
- uses: aarwitz/tapp@main
with:
platform: android
android-app-id: com.acme.app
android-project: android
android-task: :app:assembleDebug
flows: android/.tapp/flows/*.ymlFor web, pass platform: web plus web-target: and Tapp uses the application model to run its
lockfile-backed install/build, start a detected package script or read-only static server, wait for
readiness, gate it, and stop it even on failure. Pass url: instead for an already-running owned
environment. Add
scenarios: .tapp/scenarios/*.yml to gate isolated cross-account journeys; see
docs/scenarios.md. Automatic
baselines are isolated by platform and target, so two same-platform apps are never compared.
The hosted service is under development and is not currently offered for customer repositories. Do not upload private code or credentials to an old preview. The retained cloud prototype is not the production SaaS boundary. Use the local Release Studio and the portable GitHub Action in infrastructure you control until the new account, tenant authorization, private evidence, and isolated-worker boundary passes security review.
Make your repo agent-verified
Drop this into your repo's AGENTS.md (read by Codex, Cursor, Copilot, Devin, Zed, …) so
your agent proves its UI work instead of claiming it:
## Verifying UI changes
This repo uses tapp (https://github.com/aarwitz/tapp) to verify UI work on a real app surface
(iOS simulator, Android emulator/device, or a browser for web). After any UI change, run `npx -y @aarwitz/tapp@latest open` from the
repo root (it finds and builds the Xcode project itself) and look at the screenshot it saves as
proof. Before declaring a feature done, run `npx -y @aarwitz/tapp@latest explore` (or `explore <url>` for web)
and report the findings + evidence. A change is not "done" until it has been seen working.
(If the tapp MCP server is connected, the tapp_* tools do the same with inline screenshots —
tapp_build builds + installs the app and returns the bundle id for tapp_explore.)How it works
Every driver speaks one protocol: structured OCQA_* markers (state, actions, issues,
transitions) that the engine parses into trees, screenshots, findings, coverage, and the gate outcome.
On iOS, a generic XCUITest harness attaches to any app by bundle id — no SDK or app code
changes — and acts through the accessibility tree. On Android, ADB + UIAutomator provide the
same black-box driver contract. On web (beta), a deterministic Playwright crawler does the
same in a real browser. Same detectors' spirit,
same dedup, same regression gate, same honest pass/fail/inconclusive outcome. Core exploration,
evidence collection, and gate evaluation run entirely locally — no telemetry, nothing phones home. Optional AI
features are explicit: finding enrichment requires TAPP_ENABLE_REMOTE_AI=1 (an ambient
API key alone never changes data handling), and AI flow generation / assert_ai only run
when you invoke them; these send selected metadata (screen names, finding titles) to your
configured model provider. Runtime configuration uses TAPP_* environment variables. Repository
artifacts live under .tapp/, and desktop run configuration uses .tapp.yml. These are the only
names Tapp reads: the pre-rename .autotap/, .autotap.yml, and AUTOTAP_* inputs are no longer
supported. If you still have an old directory or config, rename it to the .tapp names in a
reviewed change—no secrets or evidence formats need to be rewritten.
Committed Flow replay, recording a driven session, autonomous exploration, exact assertions,
regression comparison, and CI gating require no API key and no coding agent at runtime. AI is
only an optional authoring/enrichment layer (tapp_flow_generate, assert_ai, finding enrichment).
The first tool call builds the harness once (~2 min, cached in ~/.tapp; rebuilt automatically
if you switch simulators). All captures land in ~/.tapp/captures/.
Desktop status
The macOS cockpit is frozen as a supported native interface and parity floor; it still reads the canonical Application Model, release plan, and UI Map in Coverage. Its older import/build path is not yet a thin client of the shared product-operation layer, so new product work is converging in the browser without deleting or reducing the desktop experience.
License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceAI-powered exploratory QA agent. Explores web apps like a real user — 18 MCP tools for clicking, filling forms, and navigating. Automatically verifies that actions persist (fake deletes, failed edits). Runs 16 detection types including dead links, SEO, accessibility, and performance checks.292MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI-driven mobile test automation through planning, generation, and self-healing agents for Android and iOS, exposed as callable MCP tools.9
- AlicenseNot gradedqualityDmaintenanceGives AI agents the ability to interact with iOS simulators through 21+ tools for mobile app testing.21,781MIT
- AlicenseNot gradedqualityBmaintenanceEnables autonomous web QA by exposing Playwright browser control as MCP tools for navigation, accessibility snapshotting, interaction, and bug detection.3MIT
Related MCP Connectors
Website QA for your coding agent: audit SEO, performance, security, accessibility over MCP.
Browser-backed QA with evidence and fix-ready reports for coding agents.
Screenshot, diff, audit and sitemap-capture any web page — 5 MCP tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aarwitz/tapp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server