Hexnode MCP by usefulapi

v1.6.1
io.usefulapi/hexnode Checked 1 day ago Published 7 hours ago

Read devices, users and policies; scan, lock, restart devices and install apps in Hexnode.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

hexnode_list_devices List devices

List enrolled devices with OS, model, enrollment status, last-reported time and compliance. Start here to find device ids. Hexnode API: GET /api/v1/devices/.

ParameterTypeDescription
device_typestringOnly this device type.
is_activebooleantrue = active devices only, false = inactive only.
order_bystringSort by device name.
pageintegerPage number (default 1).
per_pageintegerResults per page (maximum 250).
platformstringOnly this OS.

hexnode_get_device Get a device

Get full details of one device: hardware, OS, network, owner, installed apps, applied policies and device groups. Hexnode API: GET /api/v1/devices/{id}/.

ParameterTypeDescription
device_id *A numeric Hexnode id.

hexnode_list_device_policies List a device's policies

List the policies applied to one device, with their versions. Hexnode API: GET /api/v1/devices/{id}/policies/.

ParameterTypeDescription
device_id *A numeric Hexnode id.
pageintegerPage number (default 1).
per_pageintegerResults per page (maximum 250).

hexnode_list_device_apps List a device's apps

List the apps installed on one device, with version, status and managed flag. Hexnode API: GET /api/v1/devices/{id}/applications/.

ParameterTypeDescription
device_id *A numeric Hexnode id.
pageintegerPage number (default 1).
per_pageintegerResults per page (maximum 250).

hexnode_list_device_locations List a device's locations

List the locations a device reported over time (newest first as the portal returns them). Only with location tracking enabled. Hexnode API: GET /api/v1/devices/{id}/locations/.

ParameterTypeDescription
device_id *A numeric Hexnode id.
pageintegerPage number (default 1).
per_pageintegerResults per page (maximum 250).

hexnode_get_action_status Get action status for a device

Show the status of actions sent to one device (for example a lock, a restart or an app install), to confirm that it ran. Hexnode API: GET /api/v1/devices/{id}/action_status/.

ParameterTypeDescription
device_id *A numeric Hexnode id.
pageintegerPage number (default 1).
per_pageintegerResults per page (maximum 250).

hexnode_list_users List users

List users of the portal with their enrollment state and devices. Hexnode API: GET /api/v1/users/.

ParameterTypeDescription
enrollment_statusstringFilter by enrollment state.
order_bystringSort by username.
pageintegerPage number (default 1).
per_pageintegerResults per page (maximum 250).
user_typestringFilter by user type: local or active directory (as the portal names it).

hexnode_get_user Get a user

Get one user's details, including contact fields and the user's groups. Hexnode API: GET /api/v1/users/{id}/.

ParameterTypeDescription
user_id *A numeric Hexnode id.

hexnode_list_device_groups List device groups

List all device groups. Hexnode API: GET /api/v1/devicegroups/.

ParameterTypeDescription
pageintegerPage number (default 1).
per_pageintegerResults per page (maximum 250).

hexnode_get_device_group Get a device group

Get one device group with its member devices. Hexnode API: GET /api/v1/devicegroups/{id}/.

ParameterTypeDescription
group_id *A numeric Hexnode id.

hexnode_list_policies List policies

List all policies of the portal (name, version, platforms). Hexnode API: GET /api/v1/policy/.

ParameterTypeDescription
pageintegerPage number (default 1).
per_pageintegerResults per page (maximum 250).

hexnode_get_policy Get a policy

Get the full details of one policy, including its settings. Hexnode API: GET /api/v1/policy/{id}/.

ParameterTypeDescription
policy_id *A numeric Hexnode id.

hexnode_list_apps List apps

List apps in the portal's app library (store, web or enterprise apps), filterable by platform. Hexnode API: GET /api/v1/applications/.

ParameterTypeDescription
app_typestringOnly this app type.
order_bystringSort by app name.
pageintegerPage number (default 1).
per_pageintegerResults per page (maximum 250).
platformstringOnly this platform.

hexnode_get_app Get an app

Get the details of one app in the portal's library, including its identifier and version. Hexnode API: GET /api/v1/applications/{id}/.

ParameterTypeDescription
app_id *A numeric Hexnode id.

hexnode_list_app_groups List app groups

List app groups (bundles of apps that are deployed together). Hexnode API: GET /api/v1/appgroups/.

ParameterTypeDescription
order_bystringSort by app group name.
pageintegerPage number (default 1).
per_pageintegerResults per page (maximum 250).

hexnode_scan_device Scan devices

Ask devices to report their inventory now (a scan). Safe to repeat. Hexnode API: POST /api/v1/actions/scan_device/.

ParameterTypeDescription
device_group_idsarrayDevice group ids to act on (numeric Hexnode ids, up to 250).
device_idsarrayDevice ids to act on (numeric Hexnode ids, up to 250).

hexnode_install_application Install an app on devices

Install one or more apps from the portal's library on devices or device groups. Use hexnode_list_apps to find app ids. Hexnode API: POST /api/v1/actions/install_applications/.

ParameterTypeDescription
app_ids *arrayApp ids to install (from hexnode_list_apps).
device_group_idsarrayDevice group ids to act on (numeric Hexnode ids, up to 250).
device_idsarrayDevice ids to act on (numeric Hexnode ids, up to 250).

hexnode_restart_device Restart devices

Restart devices now. This interrupts the user's work and unsaved data can be lost. Set confirm to true to run it. Hexnode API: POST /api/v1/actions/reboot/.

ParameterTypeDescription
confirm *booleanMust be true. Restarting is not reversible.
device_group_idsarrayDevice group ids to act on (numeric Hexnode ids, up to 250).
device_idsarrayDevice ids to act on (numeric Hexnode ids, up to 250).

hexnode_lock_device Lock devices

Lock devices now, with an optional message on the screen. iOS and Android users unlock with their device passcode. Intel Macs need a 6-digit system_lock_pin to unlock. Set confirm to true to run it. Hexnode API: POST /api/v1/actions/lock_devices/.

ParameterTypeDescription
confirm *booleanMust be true. The user cannot use the device until it is unlocked.
device_group_idsarrayDevice group ids to act on (numeric Hexnode ids, up to 250).
device_idsarrayDevice ids to act on (numeric Hexnode ids, up to 250).
messagestringMessage shown on the locked screen.
system_lock_pinstring6-digit unlock PIN. Required for macOS devices without Apple Silicon.