Prerequisites
- Mosyle Business admin access
- Organization API key from Runlayer with MCP Watch Scan role
Creating an Organization API Key
Creating an Organization API Key
Organization API keys authenticate MDM-deployed scripts without per-device enrollment.
Configure the Key
- Name (required): Enter a descriptive name (e.g., “MDM MCP Watch”)
- Role: Select MCP Watch Scan
Deployment Steps
Generate the Script
Fill in your settings below to generate a deployment script.
DEVICE_NAME: Use the Mosyle variable%DeviceName%to identify the device.
Create a Custom Command
- Under the Management tab, select Custom Commands
- Click Add new profile
- Provide a Name (e.g., “Runlayer Config Sync”), check Enable variables for this profile, and paste the generated script into the code box
- Switch to the Execution Settings tab and configure the execution frequency (at least daily recommended)
Verification
Open a client application (e.g., Cursor) on a target device and confirm the synced MCP servers appear. If something went wrong, check/var/log/runlayer-sync.log on the device.