Goose
Add Mobster to Goose as a command-line extension in config.yaml with a 300-second timeout. Only Claude Code and Codex are tested with the server.
You can write and build your iOS code with Goose. Follow Goose’s documented setup below to add the Mobster MCP server as an extension. The server’s tools run your app on a headless iOS simulator Mobster manages. The tools read each screen by element name. Mobster checks your declared assertions. You get a verdict and a report with frames when available. The server also exposes tools to drive your iPhone over USB.
You need an Apple silicon Mac with macOS 13 or later and Xcode with an iOS Simulator runtime. A real iPhone also needs Developer Mode and the WebDriverAgent runner, set up in Mobster for Mac (Device setup). To set up your iPhone and to build and test your own app, you need the macOS your Xcode version needs (Apple lists it on its Xcode page).
Add the server
Goose calls MCP servers extensions, and a local one is a command-line extension. Run goose configure, choose Add Extension, then Command-Line Extension, and enter a name, the command and a timeout. Or edit ~/ and add Mobster under extensions:
extensions: mobster: type: stdio name: mobster enabled: true cmd: /Applications/ Mobster.app/ Contents/ MacOS/ mobster-agent args: [mcp] envs: {} env_keys: [] timeout: 300Keep the full path: a desktop app may not see your shell’s PATH. The timeout is in seconds. Goose’s own examples use 300. Calls to Mobster take up to 45 seconds, and wait up to 50.
To try Mobster for one session without installing it, pass the command to Goose:
goose session --with-extension "/ Applications/ Mobster.app/ Contents/ MacOS/ mobster-agent mcp"You do not need an API key for key-less checks. Your agent supplies the model access for this loop. Mobster checks the declared assertions. For Smart, where Mobster runs the steps itself on your OpenAI or Anthropic key, add --env-file and ~/ to args. Mobster expands the ~ itself, and the key never sits in the config.
Check it’s connected
Run goose configure and choose Toggle Extensions. mobster should be listed and marked enabled. In Goose Desktop, open Extensions in the sidebar and check its toggle. Then ask the agent:
Call mobster's status tool and tell me what it says.status reports the Mobster version, simulator setup and where runs are saved. It also reports whether Smart is available and, if not, why.
A first check: the task list
Say your app’s task list seeds three tasks in a debug build, each row with an accessibility identifier: task_1, task_2 and task_3. Start with a launch-only smoke check of that screen: no steps, one expectation.
Build my app for the simulator. Launch it with -SkipOnboarding YES and SEED_TASKS=3,open yourapp://tasks, and verify the task_2 row is on screen. No steps.Ask the agent to call verify_start with the absolute app_path, the launch arguments, the deep link and the expectation, then verify_finish:
{"tool": "verify_start", "arguments": { "app_path": "/ abs/ path/ YourApp/ .mobster/ build/ Build/ Products/ Debug-iphonesimulator/ YourApp.app", "launch_args": ["-SkipOnboarding", "YES"], "launch_env": {"SEED_TASKS": "3"}, "open_url": "yourapp://tasks", "steps": [], "expect": [{"visible": {"id": "task_2"}}]}}{"tool": "verify_finish", "arguments": {"run_id": "…"}}Mobster installs the app and opens the deep link through WebDriverAgent. It decides the verdict from one settled read of the accessibility tree. The model’s account of its own run never affects the verdict.
Use a real iPhone
list_devices names every device Mobster can use. With a USB iPhone’s name as device and no run_id, screen, tap, type_text, swipe, alert, open_url, launch_app and home act on the phone itself. Mobster holds the phone’s lock until stop with the device, or 90 idle seconds.
Limit the server to the phones you mean, since a tool permission covers a tool, not a device:
args: [mcp, --allow-device, Test iPhone]Any other real device is listed as not_allowed and refused. On a real iPhone, a tap that sends, buys, posts or deletes shows the approval card in Mobster for Mac, and your agent can’t answer it. A locked phone stops the call at once, and Mobster never enters a passcode.
Troubleshooting
| Symptom | Fix |
|---|---|
| Goose doesn’t list mobster | Put the entry under extensions in ~/ with type: stdio, cmd and args |
| Calls stop after a while | Set timeout: 300 on the extension |
| mobster doesn’t start | Use the full path /Applications/ in cmd, and check that Mobster is in Applications |
The first verify_start returns status: "preparing" | The simulator is booting and WebDriverAgent is building. Ask your agent to call wait |
couldnt_run, or verify_start has no smart argument | reason.fix in the result says what to do. status says why Smart is off |
The MCP reference lists every tool and argument.
Questions
What does Goose call an MCP server?
An extension. A local MCP server is a command-line extension of type stdio, with cmd, args, envs and a timeout in seconds.
What timeout should Goose use for Mobster?
Set timeout to 300. Goose's own examples use 300 seconds. Calls to the server take up to 50 seconds.
Can I try Mobster in Goose for one session?
Yes. goose session --with-extension takes the command and enables it for that session only, without installing it.
Sources
Goose’s logo is a trademark of Agentic AI Foundation (AAIF), shown only to name the product. Mobster isn’t affiliated with or endorsed by Agentic AI Foundation (AAIF).