Skip to main content

Scan Agent reference

Reference details for the Willow Scan Agent: what to download, the connection values it needs, where it installs, how to manage it, and the webhook alternative. For installation steps, see Install the Scan Agent manually or Deploy Scan Agent with MDM.

Downloads

Download the latest AI Discovery packages from the Scan Agent Setup flow in the Willow dashboard.

The Download step of the Scan Agent Setup modal, with macOS, Windows, and Browser Extension download buttons for the installer, config profile, and registry policy

PlatformFiles
macOS.pkg installer and .mobileconfig profile, pre-filled for your organization
Windows x64.zip package and .reg registry policy, pre-filled for your organization
Browser extensionChrome Web Store install and Chrome policy .mobileconfig, pre-filled for your organization

The generated profiles and registry policy contain the connection details for your Willow organization. Do not edit the generated values unless Willow Support asks you to.

Connection details

The Scan Agent Setup modal also shows Server URL and Auth Token values.

These values are pre-filled in the downloaded macOS configuration profile, Windows registry policy, and Willow Guard Chrome policy. Use them only when you are doing manual or CLI-based installation, converting the policy into another MDM format, or validating what the generated files contain.

FieldDescription
Server URLYour Willow organization URL, such as https://your-org.mcp-s.com.
Auth TokenOrganization token used by the Scan Agent or Willow Guard to report discovery data to Willow.

Treat the auth token as sensitive. Do not paste it into tickets, screenshots, or shared docs.

Configuration reference

The agent reads its configuration from managed profiles on macOS and registry policy on Windows. Willow Guard reads its configuration from Chrome managed storage. Willow generates these files with your organization values already filled in.

FieldTypeDescription
serverUrlstringYour Willow Connect URL, such as https://your-org.mcp-s.com.
authTokenstringOrganization token in orgSlug:signature format.
intervalSecondsintScan Agent interval in seconds. The default is 60.

macOS

Management commands

# Check status
sudo launchctl print system/com.mcp-s-scan.agent

# View logs
tail -f /var/log/mcp-s-scan/agent-error.log

# Restart
sudo launchctl kickstart -k system/com.mcp-s-scan.agent

# Uninstall
sudo /usr/local/bin/mcp-s-scan-uninstall.sh

Install paths

PathDescription
/usr/local/bin/mcp-s-scan-agentAgent binary
/Applications/Willow Menubar.appMenu bar status app
/Library/LaunchDaemons/com.mcp-s-scan.agent.plistLaunch daemon
/Library/Managed Preferences/com.mcp-s-scan.agent.plistManaged preferences from the .mobileconfig profile
/var/log/mcp-s-scan/Log files

Windows

Management commands

# Check status
Get-ScheduledTask -TaskName "MCP-S-Scan Agent" | Select-Object State

# View logs
Get-Content C:\ProgramData\mcp-s-scan\logs\agent.log -Tail 50

# Restart
Stop-ScheduledTask -TaskName "MCP-S-Scan Agent"
Start-ScheduledTask -TaskName "MCP-S-Scan Agent"

# Uninstall
powershell -ExecutionPolicy Bypass -File "C:\Program Files\MCP-S-Scan\uninstall.ps1"

Install paths

PathDescription
C:\Program Files\MCP-S-Scan\mcp-s-scan-agent.exeAgent binary
C:\Program Files\MCP-S-Scan\willow-menubar.exeSystem tray app
C:\ProgramData\mcp-s-scan\logs\Log files
HKLM\SOFTWARE\Policies\MCP-S-ScanRegistry policy from the .reg file

Webhook API

As an alternative to the scan agent, you can send device scan data directly through the webhook API. Use this when agent installation is not feasible or when another inventory system already collects equivalent findings.

Find your webhook URL and authorization header in the AI Discovery setup flow.

curl -X POST "https://your-org.mcp-s.com/api/device-scan" \
-H "Authorization: your-org:your-token" \
-H "Content-Type: application/json" \
-d '{"platform":"darwin","scanDate":"...","deviceInfo":{},"foundFiles":[],"capabilities":[]}'