audio-streaming
Receive synchronized PCM audio frames through a Camera stream on iOS
Use this to drive a simulated wearable in an iOS DAT app for self-verification — pair glasses, power/wear/fold, cap-touch, set a camera feed or captured image, inject inputs, motion, and speech, and read or click the glasses display — via the MockDevice MCP server, then observe
Claude Code
$ npx -y skills add meta/meta-wearables-dat-ios --skill mockdevice-mcp --agent claude-code
Codex
$ npx skills add meta/meta-wearables-dat-ios --skill mockdevice-mcp -a codex -y
Cursor
$ npx skills add meta/meta-wearables-dat-ios --skill mockdevice-mcp -a cursor -y
Gemini CLI
$ npx skills add meta/meta-wearables-dat-ios --skill mockdevice-mcp -a gemini-cli -y
GitHub Copilot
$ npx skills add meta/meta-wearables-dat-ios --skill mockdevice-mcp -a github-copilot -y
OpenCode
$ npx skills add meta/meta-wearables-dat-ios --skill mockdevice-mcp -a opencode -y
Windsurf
$ npx skills add meta/meta-wearables-dat-ios --skill mockdevice-mcp -a windsurf -y
name: mockdevice-mcp description: Use this to drive a simulated wearable in an iOS DAT app for self-verification — pair glasses, power/wear/fold, cap-touch, set a camera feed or captured image, inject inputs, motion, and speech, and read or click the glasses display — via the MockDevice MCP server, then observe the app with the simulator screenshot/log tools.
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.
1. Make sure the app is running its MockDevice test server (sample apps: launch with `--ui-testing`, see above). 2. `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. 3. Drive device state, e.g.:
powers it on, and wears it. A newly paired device is off, folded, and not worn.
resource bundled in the target app.
`mock_fold` / `mock_unfold`, `mock_captouch_tap`. 4. Observe the effect with the simulator screenshot / accessibility / log tools and `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_`.
not arbitrary file paths.
contract than this MCP calls, and says whether to update the app or the plugin. Relay that to the developer rather than retrying.
a later SDK release than the app uses reports that it is unavailable instead of failing opaquely.
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.
The Meta Wearables Device Access Toolkit enables developers to utilize Meta's AI glasses to build hands-free wearable experiences into their mobile applications.
Receive synchronized PCM audio frames through a Camera stream on iOS
Capture standalone high-quality photos from connected glasses on iOS
Stream, video frames, photo capture, resolution/frame rate configuration
Swift patterns, async/await, naming conventions, key types for DAT SDK iOS development
Use the Wearables DAT MCP server for live DAT documentation search with `search_dat_docs`, Muse Code, Claude Code, Codex, Cursor,…
Decompile Android APK, XAPK, JAR, and AAR files using jadx or Fernflower/Vineflower. Reverse engineer Android apps, extract HTTP…