Add cross-platform mobile and TV MCP automation - #43
Merged
Conversation
The Apple-platform MCP tools were named `smb_simulator_*` even though most drive the app through a ControlKit runner on a simulator *or* a physical device *or* macOS. That wrong scope signal, divergence from the verbs coding agents already know (XcodeBuildMCP's `describe_ui`/`tap`/`screenshot`), and a per-call `simulator_name`/`simulator_udid`/`host`/`controlkit_port` matrix with no selection step made Codex, Copilot, and Claude Code pick the wrong tools. - Rename host-agnostic actions to bare ecosystem verbs: `describe_ui`, `list_elements`, `tap`, `type_text`, `swipe`, `button`, `orientation_get/set`, `launch_app`, `terminate_app`, `capabilities`, `click` (macOS), `gesture` (visionOS). Keep truly simulator-only tools honest: `list_simulators`, `find_simulator`, `boot_and_install`, `open_url`. - Add `use_target` so a simulator or device is selected once and later actions need no target arguments; missing target fields fall back to it. - Consolidate near-duplicates: merge `device_screenshot` into a single auto-routing `screenshot`, fold `press_home` into `button`, and `watchos_tap` into `tap` (~25 tools down to 19). - Rewrite descriptions to be intent-first with honest host scope and use-when hints, dropping "ControlKit"/"simulator" jargon from the user-facing surface. - Update docs/mcp.md and docs/controlkit.md with the new names and a select-a-target-then-act workflow. Both the `smb_*` and standalone `xcrs_*` surfaces are renamed in lockstep. Release Notes: - Renamed the Apple-platform MCP tools to clearer, host-agnostic names (e.g. `smb_tap`, `smb_describe_ui`, `smb_screenshot`) and added `smb_use_target` to select a simulator or device once for subsequent actions. This is a breaking change for any scripts using the previous `smb_simulator_*` tool names. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…y' into development
Unify Apple and Android device discovery, target selection, capabilities, and app control behind a focused 18-tool automation profile. Separate smbCloud tools from XCRS automation and update TDQS-oriented definitions, tests, registry metadata, and documentation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a focused cross-platform MCP automation profile for Apple and Android devices. It unifies device discovery, target selection, capabilities, screenshots, app lifecycle, URLs, and input actions behind 18 canonical tools; keeps
smb --mcpcloud-only; and exposes the automation surface throughxcrs --mcpandsmb --mcp --scope automation. Tool definitions, registry metadata, and documentation are updated for TDQS quality and mobile/TV discoverability.Type of Change
How Has This Been Tested?
cargo test --workspace --exclude smbcloud-auth-sdk-wasmxcrs --mcpandsmb --mcp --scope automationagainst a USB Android phone and Google TV Streamer)Checklist
cargo check --workspacepasses through strict Clippy/workspace compilationcargo clippy --workspace --exclude smbcloud-auth-sdk-wasm --tests -- -D warningspassescargo fmt --all -- --checkpassesunwrap()orexpect()calls in production codemod.rsfiles introducedRelease Notes