Hexnode MCP by usefulapi
v1.6.1Read 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/.
| Parameter | Type | Description |
|---|---|---|
device_type | string | Only this device type. |
is_active | boolean | true = active devices only, false = inactive only. |
order_by | string | Sort by device name. |
page | integer | Page number (default 1). |
per_page | integer | Results per page (maximum 250). |
platform | string | Only 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}/.
| Parameter | Type | Description |
|---|---|---|
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/.
| Parameter | Type | Description |
|---|---|---|
device_id * | A numeric Hexnode id. | |
page | integer | Page number (default 1). |
per_page | integer | Results 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/.
| Parameter | Type | Description |
|---|---|---|
device_id * | A numeric Hexnode id. | |
page | integer | Page number (default 1). |
per_page | integer | Results 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/.
| Parameter | Type | Description |
|---|---|---|
device_id * | A numeric Hexnode id. | |
page | integer | Page number (default 1). |
per_page | integer | Results 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/.
| Parameter | Type | Description |
|---|---|---|
device_id * | A numeric Hexnode id. | |
page | integer | Page number (default 1). |
per_page | integer | Results 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/.
| Parameter | Type | Description |
|---|---|---|
enrollment_status | string | Filter by enrollment state. |
order_by | string | Sort by username. |
page | integer | Page number (default 1). |
per_page | integer | Results per page (maximum 250). |
user_type | string | Filter 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}/.
| Parameter | Type | Description |
|---|---|---|
user_id * | A numeric Hexnode id. |
hexnode_list_device_groups List device groups
List all device groups. Hexnode API: GET /api/v1/devicegroups/.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default 1). |
per_page | integer | Results 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}/.
| Parameter | Type | Description |
|---|---|---|
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/.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default 1). |
per_page | integer | Results 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}/.
| Parameter | Type | Description |
|---|---|---|
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/.
| Parameter | Type | Description |
|---|---|---|
app_type | string | Only this app type. |
order_by | string | Sort by app name. |
page | integer | Page number (default 1). |
per_page | integer | Results per page (maximum 250). |
platform | string | Only 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}/.
| Parameter | Type | Description |
|---|---|---|
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/.
| Parameter | Type | Description |
|---|---|---|
order_by | string | Sort by app group name. |
page | integer | Page number (default 1). |
per_page | integer | Results 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/.
| Parameter | Type | Description |
|---|---|---|
device_group_ids | array | Device group ids to act on (numeric Hexnode ids, up to 250). |
device_ids | array | Device 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/.
| Parameter | Type | Description |
|---|---|---|
app_ids * | array | App ids to install (from hexnode_list_apps). |
device_group_ids | array | Device group ids to act on (numeric Hexnode ids, up to 250). |
device_ids | array | Device 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/.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true. Restarting is not reversible. |
device_group_ids | array | Device group ids to act on (numeric Hexnode ids, up to 250). |
device_ids | array | Device 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/.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true. The user cannot use the device until it is unlocked. |
device_group_ids | array | Device group ids to act on (numeric Hexnode ids, up to 250). |
device_ids | array | Device ids to act on (numeric Hexnode ids, up to 250). |
message | string | Message shown on the locked screen. |
system_lock_pin | string | 6-digit unlock PIN. Required for macOS devices without Apple Silicon. |