NinjaOne MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NINJA_BASE_URL | Yes | NinjaOne instance URL (e.g. https://app.ninjarmm.com) | |
| NINJA_CLIENT_ID | Yes | OAuth2 client ID from the NinjaOne Developer Portal | |
| NINJA_CLIENT_SECRET | Yes | OAuth2 client secret from the NinjaOne Developer Portal |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ninja_list_devicesB | List all managed devices. Use df for device filter expressions (e.g. "org = 1", "status = APPROVED"). Paginate with pageSize and after (last device ID). |
| ninja_get_deviceA | Get full details for a single device by ID. |
| ninja_get_devices_detailedB | List all devices with detailed information including custom fields and policy assignments. |
| ninja_search_devicesA | Search for devices by name, serial number, hostname, or other attributes. |
| ninja_update_deviceB | Update device settings such as display name, location, role, or policy. |
| ninja_get_device_activitiesC | Get activity log for a specific device. |
| ninja_get_device_alertsB | Get active alerts for a specific device. |
| ninja_get_device_softwareC | Get installed software on a device. |
| ninja_get_device_os_patchesB | Get pending, failed, or rejected OS patches for a device. |
| ninja_get_device_installed_os_patchesC | Get OS patch install history for a device. |
| ninja_get_device_software_patchesB | Get pending, failed, or rejected software patches for a device. |
| ninja_get_device_installed_software_patchesC | Get software patch install history for a device. |
| ninja_get_device_volumesA | Get disk volume information for a device (capacity, free space, filesystem type). |
| ninja_get_device_disksB | Get physical disk drive information for a device. |
| ninja_get_device_network_interfacesA | Get network interface information for a device (IP addresses, MAC addresses, adapter type). |
| ninja_get_device_processorsB | Get CPU/processor information for a device. |
| ninja_get_device_windows_servicesC | Get Windows services and their current status for a device. |
| ninja_get_device_last_logged_on_userB | Get the last user who logged on to a device. |
| ninja_get_device_active_jobsC | Get currently running jobs on a device. |
| ninja_get_device_dashboard_urlA | Get the direct URL to open a device in the NinjaOne web dashboard. |
| ninja_get_device_scripting_optionsA | Get available scripts and built-in actions that can be run on a device. |
| ninja_get_device_custom_fieldsA | Get custom field values assigned to a device. |
| ninja_update_device_custom_fieldsB | Update custom field values for a device. |
| ninja_reboot_deviceA | Reboot a device. NORMAL performs a graceful restart; FORCED immediately reboots without waiting for running processes. |
| ninja_run_scriptB | Run a custom script or built-in action on a device. Use ninja_get_device_scripting_options to see what is available. |
| ninja_submit_os_patch_scanB | Trigger an OS patch scan on a device to refresh its pending patch list. |
| ninja_submit_os_patch_applyA | Apply OS patches on a device. Omit patchIds to apply all approved pending patches. |
| ninja_submit_software_patch_scanB | Trigger a software patch scan on a device. |
| ninja_submit_software_patch_applyB | Apply software patches on a device. Omit patchIds to apply all approved pending patches. |
| ninja_approve_devicesA | Approve or reject devices that are pending approval. |
| ninja_list_organizationsB | List all organizations (clients/customers) in NinjaOne. Supports filtering and pagination. |
| ninja_get_organizations_detailedB | List organizations with detailed settings, policy assignments, and node role mappings. |
| ninja_get_organizationC | Get detailed information about a specific organization. |
| ninja_create_organizationB | Create a new organization (client) in NinjaOne. |
| ninja_update_organizationC | Update an existing organization. |
| ninja_get_organization_devicesC | Get all devices belonging to a specific organization. |
| ninja_get_organization_locationsC | Get all locations for an organization. |
| ninja_create_organization_locationB | Create a new location for an organization. |
| ninja_get_organization_custom_fieldsC | Get custom field values for an organization. |
| ninja_get_organization_end_usersB | Get end users associated with an organization. |
| ninja_list_alertsA | Get all active alerts across all devices. Filter by source type or device filter expression. |
| ninja_reset_alertA | Reset (dismiss) an alert by its UID. Optionally provide activityData to record a resolution note. |
| ninja_list_activitiesB | Get the system activity log. Filter by class (SYSTEM/DEVICE/USER), date range, type, status, user, or device. |
| ninja_create_ticketA | Create a new support ticket. Use ninja_list_ticket_forms to find ticketFormId and ninja_list_ticket_statuses for valid status values. |
| ninja_get_ticketB | Get a ticket and all its details by ID. |
| ninja_update_ticketC | Update an existing ticket (status, subject, assignee, severity, priority, tags, etc.). |
| ninja_add_ticket_commentC | Add a comment to a ticket. |
| ninja_get_ticket_logB | Get the activity and change log entries for a ticket. |
| ninja_get_tickets_by_boardB | Query tickets on a specific ticketing board. Use ninja_list_boards to find board IDs. |
| ninja_list_boardsA | List all available ticketing boards. |
| ninja_list_ticket_statusesA | List all available ticket statuses. |
| ninja_list_ticket_formsA | List all available ticket forms. |
| ninja_get_ticket_formA | Get details of a specific ticket form including its fields. |
| ninja_list_ticketing_usersB | List all app users and contacts available in the ticketing system. |
| ninja_get_ticket_attributesA | Get the custom attribute definitions available for tickets. |
| ninja_query_antivirus_statusB | Query antivirus product status across all managed devices. |
| ninja_query_antivirus_threatsB | Query antivirus threats detected across all managed devices. |
| ninja_query_device_healthB | Query device health status report (online/offline, alerts, patch compliance). |
| ninja_query_os_patchesA | Query pending, failed, or rejected OS patches across all managed devices. |
| ninja_query_software_patchesB | Query pending, failed, or rejected software patches across all managed devices. |
| ninja_query_installed_os_patchesB | Query OS patch install history across all managed devices. |
| ninja_query_installed_software_patchesC | Query software patch install history across all managed devices. |
| ninja_query_softwareA | Query software inventory across all managed devices. |
| ninja_query_logged_on_usersC | Query the last logged-on user across all managed devices. |
| ninja_query_computer_systemsB | Query computer system hardware information (make, model, serial number) across all devices. |
| ninja_query_operating_systemsC | Query operating system details (name, version, build) across all devices. |
| ninja_query_network_interfacesA | Query network interface information (IPs, MACs, adapters) across all devices. |
| ninja_query_disksB | Query physical disk drive information across all devices. |
| ninja_query_volumesB | Query disk volume information (capacity, free space) across all devices. |
| ninja_query_windows_servicesB | Query Windows service status across all managed devices. |
| ninja_query_custom_fieldsA | Query custom field values across all devices and organizations. |
| ninja_query_processorsB | Query CPU/processor information across all managed devices. |
| ninja_query_backup_usageB | Query backup storage usage across all managed devices. |
| ninja_list_policiesA | List all policies configured in NinjaOne. |
| ninja_get_device_policy_overridesA | Get policy overrides applied to a specific device. |
| ninja_query_policy_overridesB | Query policy overrides across all managed devices. |
| ninja_list_node_rolesA | List all available device/node roles. |
| ninja_list_usersA | List all users in NinjaOne. Optionally filter by user type (TECHNICIAN or END_USER). |
| ninja_list_techniciansB | List all technician accounts. |
| ninja_get_technicianB | Get a technician account by ID. |
| ninja_list_end_usersC | List all end users. |
| ninja_get_end_userA | Get an end user by ID. |
| ninja_list_user_rolesB | List all user roles defined in NinjaOne. |
| ninja_list_contactsC | List all contacts. |
| ninja_get_backup_jobsB | Get backup job history and status across managed devices. |
| ninja_get_integrity_check_jobsC | Get backup integrity check job results. |
| ninja_list_groupsA | List all device groups in NinjaOne. |
| ninja_get_group_device_idsB | Get the IDs of all devices in a specific group. |
| ninja_list_scheduled_tasksB | List all scheduled automation tasks. |
| ninja_list_automation_scriptsB | List all automation scripts available in NinjaOne. |
| ninja_list_notification_channelsB | List all configured notification channels. |
| ninja_list_custom_fieldsA | List all custom field definitions configured in NinjaOne. |
| ninja_list_locationsB | List all locations across all organizations. |
| ninja_list_software_productsB | List all software products tracked by NinjaOne (used in patch management). |
| ninja_configure_webhookC | Configure a webhook endpoint to receive NinjaOne events. |
| ninja_disable_webhookB | Disable the configured webhook. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Allied-Business-Solutions/ninjaone-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server