productivity
ServiceNow MCP, CLI, and Lua Integration for AI Agents
ServiceNow integration docs for AI agents: MCP gateway setup, ServiceNow CLI commands, Lua API reference, credentials, and function schemas.ServiceNow for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
servicenow.servicenow_list_incidents | Read read | 2 | List incidents from the ServiceNow incident table. Supports filtering via an encoded query string (sysparm_query) and a configurable result limit. |
servicenow.servicenow_get_incident | Read read | 1 | Retrieve a single ServiceNow incident by its sys_id. Returns the full incident record. |
servicenow.servicenow_create_incident | Write write | 3 | Create a new ServiceNow incident. Provide a short description, an optional full description, and a priority level. |
servicenow.servicenow_update_incident | Write write | 2 | Update an existing ServiceNow incident. Provide the incident sys_id and the fields to update. |
servicenow.servicenow_list_tasks | Read read | 2 | List tasks from the ServiceNow task table. Supports filtering via an encoded query string and a configurable result limit. |
servicenow.servicenow_get_task | Read read | 1 | Retrieve a single ServiceNow task by its sys_id. Returns the full task record. |
servicenow.servicenow_create_task | Write write | 4 | Create a new ServiceNow task. Provide a short description and optional additional fields. |
servicenow.servicenow_list_users | Read read | 2 | List users from the ServiceNow sys_user table. Supports filtering via an encoded query string and a configurable result limit. |
servicenow.servicenow_get_user | Read read | 1 | Retrieve a single ServiceNow user by their sys_id. Returns the full user record. |
servicenow.servicenow_get_current_user | Read read | 0 | Get the profile of the currently authenticated ServiceNow user. Useful for verifying credentials and retrieving the logged-in user's details. |