Drive Android & iOS mobile-app automation from your AI agent on locally connected devices.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
The Quash MCP server lets an AI agent (Claude Code, Claude Desktop, Cursor, β¦) drive real mobile-app automation on a connected device: run natural-language test tasks, generate test cases from prompts/docs/repos, manage apps & builds, and pull back streamed runs and reports β all powered by the Quash (mahoraga) automation engine.
This guide covers installing it on macOS or Windows, wiring it into your agent, generating an API token, preparing a device, and using every tool.
| Platform | Android | iOS (simulator + physical) | Installer |
|---|---|---|---|
| macOS (Apple Silicon) | β | β | install.sh (curl β¦ | sh) |
| Windows (x64) | β | β (Apple toolchain is macOS-only) | install.ps1 (irm β¦ | iex) |
iOS automation needs Xcode / WebDriverAgent /
devicectl/iproxy, which exist only on macOS β so the iOS tools (setup_simulator,setup_device) appear in the macOS build only. Windows is Android-only. Linux x86_64 can be built from source but isn't published as a release binary.
adb on your PATH (Android platform-tools) for Android automation. On
Windows the installer also detects %LOCALAPPDATA%\Android\Sdk.The installer also downloads the automation engine, a bundled test-generation component, and the on-device Android Portal APK.
One command installs everything and auto-registers the server in every supported agent config it finds (Claude Code, Claude Desktop, Cursor). Pick your platform:
macOS
Windows (PowerShell)
This installs the latest release into ~/.quash (macOS) / %USERPROFILE%\.quash
(Windows) and connects to Quash production automatically β no backend URL to
configure.
Cursor users: after running the installer above (needed for the engine), you can one-click add the MCP server to Cursor:
(The installer already auto-registers Cursor, so this is only needed if you skipped that or removed the entry.)
macOS gotcha: environment variables must go on the piped
sh, not oncurlβ a prefix oncurlis ignored. On Windows, set$env:β¦before theirm.
macOS β wire your token in / pin a version:
Windows β same, via $env::
| Env var | Default | Purpose |
|---|---|---|
QUASH_API_TOKEN | (unset) | API token; if set, the MCP signs in automatically on startup |
QUASH_VERSION | latest | Release tag to install |
QUASH_BACKEND_URL | production | Override the backend (staging/local) |
QUASH_FORCE | 0 | 1 forces a full reinstall even if the version matches |
Re-running the installer is safe: it refreshes config and, with QUASH_FORCE=1,
reinstalls the binaries. Reconnecting the agent does not update the server β
only re-running the installer does.
The token lets the MCP authenticate without a browser. (Prefer not to manage a token? Skip to step 5 and use Google sign-in instead.)
qsh_. It's shown once; store it safely.Generating a new token invalidates the previous one, so update it everywhere
you use it. The token is scoped to the organization you're signed into and is
stored only in your agent's MCP config env block β never passed through the chat.
The installer auto-registers the quash server, so usually there's nothing to do.
To verify or add it manually, the entry looks like this β use the paths for your
platform:
macOS
Windows
Config file locations: Claude Code β ~/.claude.json (macOS) /
%USERPROFILE%\.claude.json (Windows); Claude Desktop β
~/Library/Application Support/Claude/claude_desktop_config.json /
%APPDATA%\Claude\claude_desktop_config.json; Cursor β ~/.cursor/mcp.json /
%USERPROFILE%\.cursor\mcp.json.
After editing config, restart the agent (or /mcp β reconnect in Claude Code).
JetBrains AI Assistant supports MCP over stdio. After running the installer (step 2):
Open Settings β Tools β AI Assistant β Model Context Protocol (MCP).
Easiest: click Import from Claude β since the installer already registered Quash
in Claude Desktop, the quash server is pulled in automatically.
Or add manually: click Add, then paste this JSON (JetBrains does not expand
environment variables, so use absolute paths β replace <you> with your username):
macOS
Windows
Click OK β Apply to start the server.
Android Studio: its agent (Gemini Agent Mode) currently supports MCP over HTTP/Streamable only, not stdio, so the config above does not apply there yet.
QUASH_API_TOKEN, the server signs in automatically on startup.auth with mode google."auth with my token qsh_β¦."Check status anytime with the about / configure tools.
connect." It detects the device (or lists them if
several), warms the engine, and runs a setup health check.connect reports "Portal not ready", run setup_portal:
it installs the on-device Quash Portal app and enables its accessibility
service (idempotent). If the device blocks it, it returns manual_required
with the steps for Settings β Accessibility.setup_simulator: builds + launches
WebDriverAgent for the booted simulator (no signing needed).setup_device: resolves your Apple
Developer signing team (set it with configure signing_team=<TEAMID>, or
it's auto-detected from your keychain), builds + signs WebDriverAgent, starts
the USB tunnel, and launches it. Requires Xcode, Developer Mode on, and the
iPhone trusted over USB.Ask the agent in plain language; it calls these tools:
| Tool | What it does | Platform |
|---|---|---|
about | Server name, running version, latest release, update command | all |
auth | Sign in (google browser flow, or token) | all |
connect | Detect/select a device; health-check adb, Portal, engine, auth | all |
configure | View/change execution + test-gen settings (model, temperature, max steps, vision, signing_team) | all |
setup_portal | Install the Android Portal app + enable accessibility (idempotent) | all |
setup_simulator | Build + launch WebDriverAgent for a booted iOS simulator | macOS |
setup_device | Sign + launch WebDriverAgent on a physical iPhone over USB | macOS |
execute | Run a natural-language test task on the device (streams progress) | all |
generate_test_cases | Generate test cases from a prompt, local files, or a git repo | all |
usage | Current plan, remaining minutes, feature limits | all |
list_apps | List apps in your org | all |
builds | List builds for an app (version, tag, installable) | all |
install_build | Download a build's APK and install it on the device | all |
runs | Browse recent runs, or fetch one run's full report + share link | all |
test_cases / suites | Browse test cases and suites | all |
Typical first session:
Re-run the installer for your platform (macOS curl β¦ | sh, Windows irm β¦ | iex),
then restart the agent. Confirm with the about tool β it reports the running
version and whether a newer release exists.
setup_portal. If it returns
manual_required, enable Mahoraga Portal under Settings β Accessibility.adb is on
PATH (Windows: set ANDROID_HOME), and that the device shows under adb devices.setup_device signing fails (macOS) β set your team with
configure signing_team=<TEAMID>, ensure your Apple ID is signed into
Xcode β Settings β Accounts (with an Apple Development certificate in the
keychain), and the iPhone is in Developer Mode + trusted.auth, or refresh
QUASH_API_TOKEN (generating a new token invalidates the old one).execute result's warning field.%USERPROFILE%\.quash.Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/quash-mobile-app-automation)<a href="https://allmcps.com/mcp/quash-mobile-app-automation"><img src="https://allmcps.com/api/badge/quash-mobile-app-automation?style=directory" alt="Quash β Mobile App Automation on AllMCPs" /></a>