Skip to content

Devin Desktop

Add Mobster to Devin Desktop (formerly Windsurf) in one file at its new MCP config path. Only Claude Code and Codex are tested with the server.

devin mcp add -s user mobster -- \
  /Applications/Mobster.app/Contents/MacOS/mobster-agent mcpdevin mcp add -s user mobster -- /Applications/Mobster.app/Contents/MacOS/mobster-agent mcp

Devin Desktop is the new name for Windsurf. Its Linux package repositories still say windsurf. The package is now devin-desktop. You find its documentation at docs.devin.ai. Follow Devin’s MCP documentation for the new config file path. You can choose Devin Local or the Cascade agent. 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. 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

Devin Desktop has two agents. Devin Local, the default for new tabs, reads its MCP servers from the Devin CLI’s config files. Cascade, now the legacy agent, reads mcp_config.json. At user scope they share one file, so this command covers both:

devin mcp add -s user mobster -- /Applications/Mobster.app/Contents/MacOS/mobster-agent mcp

Without -s, devin mcp add writes to the project’s .devin/mcp_config.local.json, which is git-ignored; -s project writes .devin/mcp_config.json for the team. The user file is ~/.config/devin/mcp_config.json, or the same path under $XDG_CONFIG_HOME when that is set. To write it by hand, open it from Cascade: the … menu at the top right of the Cascade panel, then Open MCP config file.

{  "mcpServers": {    "mobster": {      "command": "/Applications/Mobster.app/Contents/MacOS/mobster-agent",      "args": ["mcp"]    }  }}

Keep the full path: a desktop app may not see your shell’s PATH. Cascade has no MCP marketplace or one-click install, so the file is the way in.

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. Smart uses your OpenAI or Anthropic key to run the steps. To use Smart, add "--env-file", "~/.config/mobster/agent.env" after "mcp" in args. Mobster expands the ~ itself. Your key stays in the env file.

Devin’s MCP pages don’t state a tool-call timeout. Mobster keeps calls short: each returns within 45 seconds and wait within 50. The first simulator boot and Smart runs continue under a run_id that the agent polls with wait.

Check it’s connected

devin mcp listdevin mcp get mobster

Then ask the agent:

Call mobster's status tool and tell me what it says.

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, opens the deep link through WebDriverAgent, and checks the declared expect assertion against one accessibility-tree read. The next step checks the behaviour as well as the screen: tap the first task to mark it done, and expect {"value": {"id": "tasks_left"}, "equals": 2}. When the remaining count doesn’t fall, it fails with value id=tasks_left == 2 failed: was "3 tasks left".

Put the rule in AGENTS.md

Devin Desktop’s docs treat an AGENTS.md at the repository root as an always-on rule for Cascade. Add:

## Verifying UI changesAfter you change a screen in this iOS app, verify it before you say it works.1. Build for the simulator:   xcodebuild -scheme <Scheme> -destination 'generic/platform=iOS Simulator' -derivedDataPath .mobster/build CODE_SIGNING_ALLOWED=NO build2. Call mobster's verify_start with app_path set to the absolute path of   .mobster/build/Build/Products/Debug-iphonesimulator/<App>.app, the steps in plain English, and expect:   what must be true when the steps are done.3. Drive with screen, tap, type_text and swipe, then call verify_finish.4. If the verdict is failed, fix the code and verify again. Report the verdict and the report path.

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 directly. Mobster holds the phone’s lock until stop with the device, or 90 idle seconds.

Devin Local uses the Devin CLI’s permission modes, which can be scoped to MCP tools. Whatever you allow covers a tool, not a device: allowing tap for simulator work allows it on your phone. Keep the server to the phones you choose:

"args": ["mcp", "--allow-device", "Test iPhone"]

Any other real device is listed as not_allowed and refused. disabledTools in the server’s entry can remove tools you never want called, such as install_app. The Mobster MCP annotations mark status, screen, list_devices, wait, wait_for, read_notifications and unlock_status as read-only, and its instructions tell the agent to ask you before anything that sends, buys, posts or deletes on a real iPhone. A locked phone stops the call at once with “Your iPhone is locked. Unlock it and try again. No action was taken.”

Troubleshooting

SymptomFix
mobster doesn’t appear after you edit a config fileUse the file Devin’s MCP docs name, ~/.config/devin/mcp_config.json, or add the server with devin mcp add -s user
Cascade says it has too many toolsCascade allows 100 tools across all servers. Add the ones you don’t need to disabledTools
mobster doesn’t startUse the full path /Applications/Mobster.app/Contents/MacOS/mobster-agent in command, 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 argumentreason.fix in the result says what to do. status says why Smart is off

The MCP reference lists every tool and argument.

Questions

  • Where is Windsurf's mcp_config.json now?

    Devin Desktop is the new name for Windsurf. Its MCP docs list ~/.config/devin/mcp_config.json on macOS, or the same path under XDG_CONFIG_HOME when that's set. devin mcp add -s user writes that file for you.

  • Does Mobster count against Cascade's tool limit?

    Yes. Cascade can use at most 100 tools across all servers, and Mobster offers about two dozen. If you hit the limit, list the ones you don't need in the server's disabledTools.

  • Does the same config work for Devin Local and Cascade?

    Yes, at user scope. devin mcp add -s user writes ~/.config/devin/mcp_config.json, the file Cascade's MCP settings also read. Devin Local is the default agent for new tabs, and Cascade is now the legacy agent.

Sources

Devin Desktop’s logo is a trademark of Cognition, shown only to name the product. Mobster isn’t affiliated with or endorsed by Cognition.