/mwdat-ios:mockdevice-mcpfrom mwdat-ios
Drives a simulated wearable in an iOS DAT app for self-verification via the MockDevice MCP server. Pairs glasses, controls power/wear/fold/cap-touch, sets camera feeds, injects inputs/motion/speech, and reads/clicks the glasses display.
Ships in mwdat-ios. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill when you want to verify DAT app behavior without physical glasses by controlling a simulated device over the MockDevice MCP server. The MCP is a client of the app's in-app HTTP test server; it drives device state, and you observe the result with the existing simulator screenshot / accessibility / log tools.
No third-party dependencies — the server runs on the Python 3.8+ standard
library, launched with python3. The MCP server is
mcp/mockdevice/mockdevice_mcp_server.py.
The test server starts when the app calls startTestServer — typically a debug build
launched with the --ui-testing argument, which also puts MockDeviceKit into mock mode,
as the DAT sample apps (e.g. CameraAccess) do. You are driving a simulated device,
not real glasses.
Launch (or relaunch) the app that way with the existing simulator tools, e.g.:
xcrun simctl launch <udid> <bundle_id> --ui-testing
If mock_connect reports no server, relaunch with that argument and try again — it
returns the exact command to run.
--ui-testing, see above).mock_connect(bundle_id="<your app bundle id>") — auto-detects the booted
simulator, discovers the server port, and verifies health. Pass udid if more
than one simulator is booted.mock_pair_device(), then mock_power_on() and mock_don() — pairs Ray-Ban Meta,
powers it on, and wears it. A newly paired device is off, folded, and not worn.mock_set_camera_feed(resource_name="plant", ext="mp4") — feed must be a
resource bundled in the target app.mock_power_off / mock_power_on, mock_doff / mock_don,
mock_fold / mock_unfold, mock_captouch_tap.mock_device_state.device_id is optional on device commands — it is auto-resolved when exactly one
device is paired.
The server advertises every tool with its arguments and a description of how to verify
its effect, so read them from your tool list. Each tool name starts with mock_.
mock_connect refuses an app whose DAT SDK serves a different MockDevice route
contract than this MCP calls, and says whether to update the app or the plugin.
Relay that to the developer rather than retrying.mock_connect also reports the routes the attached app advertises. A tool added in
a later SDK release than the app uses reports that it is unavailable instead of
failing opaquely.mock_display_content, which reads the display back, these tools drive
device state only. To assert other outcomes (a stream started, a photo was
captured), read the app with the simulator screenshot / accessibility / log tools.mock_pair_device(model="metaRayBanDisplay"), not the default rayBanMeta.
mock_display_content returns the display content the app sent, as a node tree — the
semantic content, not a rendered image. It is a debug payload rather than a stable API,
so read the document you get back instead of assuming field names. For pixels, host the
SDK's own preview view and screenshot it; that renders the same content on the phone and
is what a developer looks at. Click identifiers are content-derived and change on every
redraw — take a fresh one from the tree each time. A mock_display_click ok means the
tap was delivered, not that it matched an element, so confirm by re-reading and checking
the revision moved.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mockdevice, wearable-simulation, ios-testing, dat-app, simulator-testing
npx claudepluginhub meta/meta-wearables-dat-ios --plugin mwdat-ios18 skills in this plugin
/audio-streamingReceive synchronized PCM audio frames through a Camera stream on iOS/camera-captureCapture standalone high-quality photos from connected glasses on iOS/camera-streamingStream, video frames, photo capture, resolution/frame rate configuration/dat-conventionsSwift patterns, async/await, naming conventions, key types for DAT SDK iOS development/dat-docs-mcpUse the Wearables DAT MCP server for live DAT documentation search with `search_dat_docs`, Muse Code, Claude Code, Codex, Cursor, and MCP Inspector/debuggingCommon issues, Developer Mode, version compatibility, state machine diagnosisOther plugins' skills for the same job