KosmoKrator

itsm

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.

10 functions 7 read 3 write Username and password auth

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.

Machine-Readable Metadata
integration_slug
servicenow
route_slug
servicenow
package
servicenow
auth_strategy
basic Username and password
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

ServiceNow MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for ServiceNow.

ServiceNow CLI Matrix

Use these pages for direct ServiceNow CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
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.