Cursor auto-loads .cursor/rules/*.mdc files with glob-based triggers. When you’re editing a file that matches a rule’s glob pattern, Cursor loads the relevant SDK knowledge automatically.
Setup
If you cloned the SDK repo, the .cursor/ directory is already included. Otherwise, install with the CLI:
Use Cursor Chat or inline editing to ask SDK questions:
Set up a DAT session with camera streaming and handle lifecycle events.
Add live docs lookup
The repo-native Cursor guidance covers platform-specific implementation patterns and best practices. Add the Wearables MCP endpoint when you also want Cursor to look up current DAT guides while it works:
Open Settings and go to MCP.
Add a server named wearables with the HTTP transport.
Set its URL to https://mcp.developer.meta.com/wearables.
Reconnect the server or run Developer: Reload Window.
Confirm that the DAT guidance and search_dat_docs are available before editing code.
Example prompt:
Use the installed DAT Cursor guidance for platform-specific implementation patterns. Then ask search_dat_docs for current camera streaming and session lifecycle guidance. Inspect my project first, make the smallest safe change, and run the relevant local checks.
Adding the API reference
The project-level config covers integration patterns and best practices. To add the full API reference as a persistent documentation source:
Open Settings > Features > Docs.
Click Add new doc.
Enter https://wearables.developer.meta.com/llms.txt?full=true as the URL.
Name it “Wearables Device Access Toolkit”.
Once added, reference it in Cursor Chat with @Docs, and then select the Wearables Device Access Toolkit entry.