Skip to main content
Glama
IvanBBaev

servicenow-mcp-ai

by IvanBBaev

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SN_AUTHNoAuth method: basic, oauth, apikey, token, or noneauto
SN_PORTNoTCP port for http transport3000
SN_USERYesServiceNow username for Basic auth
SN_TLS_CANoOptional CA bundle PEM
SN_API_KEYNoServiceNow Inbound API Key
SN_DOCS_DIRNoDirectory for docs packagedocs/instance
SN_ENV_FILENoExplicit path to env file
SN_INSTANCEYesServiceNow instance URL or hostname
SN_PASSWORDYesServiceNow password
SN_READONLYNoWhen truthy, refuse write operationsfalse
SN_HTTP_HOSTNoBind address for http transport127.0.0.1
SN_LOG_LEVELNoLog verbosityinfo
SN_TRANSPORTNoTransport: stdio or httpstdio
SN_CODESEARCHNoOpt-in to Code Search APIfalse
SN_HTTP_TOKENNoBearer token for http transport
SN_REDACT_PIINoMask email/phone/national-id patternsfalse
SN_TIMEOUT_MSNoPer-request timeout in milliseconds30000
SN_WRITE_MODENoWrite mode: plan or applyplan
SN_MAX_RECORDSNoHard cap on records returned10000
SN_MAX_RETRIESNoRetries for transient failures2
SN_OAUTH_GRANTNoOAuth grant typepassword
SN_OAUTH_SCOPENoOptional OAuth scope
SN_TABLES_DENYNoComma-separated table denylist
SN_BEARER_TOKENNoPre-obtained bearer token
SN_TABLES_ALLOWNoComma-separated table allowlist
SN_ALLOWED_HOSTSNoComma-separated allow-list of permitted hosts
SN_OAUTH_JWT_KEYNoPEM private key for jwt_bearer grant
SN_PACKAGES_DENYNoPackages to exclude
SN_REDACT_FIELDSNoMask these field values
SN_RESULT_PRETTYNoPretty-print JSON resultsfalse
SN_TOOL_PACKAGESNoTool packages to enablecore
SN_ACTIVE_PROFILENoActive connection profiledefault
SN_MAX_CONCURRENTNoMaximum parallel HTTP requests4
SN_TLS_CLIENT_KEYNoPrivate key PEM for client certificate
SN_OAUTH_CLIENT_IDNoOAuth client id
SN_TLS_CLIENT_CERTNoClient certificate PEM for mTLS
SN_MAX_RESULT_CHARSNoCharacter budget for query result truncation100000
SN_INCLUDE_REF_LINKSNoInclude reference field linksfalse
SN_PACKAGES_READONLYNoPackages with read-only tools
SN_OAUTH_REDIRECT_URINoLoopback redirect URL for PKCE loginhttp://localhost:53682/callback
SN_OAUTH_CLIENT_SECRETNoOAuth client secret
SN_OAUTH_REFRESH_TOKENNoRefresh token for refresh_token grant
SN_SCHEMA_CACHE_TTL_SECNoTTL for schema cache300

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
servicenow_query_tableA

Read records from any ServiceNow table through the Table API. Supports encoded queries, field selection and pagination.

servicenow_get_recordB

Read a single record from a table by its sys_id.

servicenow_create_recordB

Create a new record in a table with the given field values.

servicenow_update_recordA

Update fields on an existing record identified by its sys_id.

servicenow_delete_recordB

Delete a record from a table by its sys_id.

servicenow_list_tablesA

List tables from sys_db_object, optionally filtered by a name or label fragment.

servicenow_describe_tableA

List a table's columns (name, label, type, mandatory, reference) from sys_dictionary.

servicenow_aggregateA

Compute server-side aggregates (count, avg, min, max, sum) over a table via the Stats API, with optional grouping. Avoids pulling individual rows.

servicenow_list_attachmentsA

List attachment metadata, optionally scoped to a specific record (table + sys_id).

servicenow_get_attachmentA

Read a single attachment's metadata by its sys_id.

servicenow_download_attachmentA

Download an attachment's bytes, returned as base64. Large files are refused (see SN_MAX_RESULT_CHARS).

servicenow_upload_attachmentA

Attach a file (provided as base64) to a record identified by table + sys_id.

servicenow_delete_attachmentB

Delete an attachment by its sys_id.

servicenow_set_credentialsA

Save or update the ServiceNow connection credentials. Values are persisted to the env file and used for all subsequent requests. Provide any subset of fields.

servicenow_list_instancesA

List the configured ServiceNow connection profiles (instances): name, host, user, read-only flag and whether credentials are complete. Passwords are never included.

servicenow_use_instanceA

Switch the active ServiceNow connection profile (persisted to the env file). All identity-scoped caches (OAuth tokens, schema, plugin availability) are cleared.

servicenow_get_statusA

Show the configured instance, user, auth mode and access policy, and whether credentials are complete. The password is never revealed.

servicenow_test_connectionA

Verify that the configured credentials actually work: reads one sys_user record and reports ok/status/latency. Auth and connectivity problems are returned structurally (ok:false), not as errors.

servicenow_check_capabilitiesA

Preflight which admin-restricted sys_* tables the connected user can actually read, and report which higher-level capabilities (schema reads, script intelligence, ACL audit) are achievable. Run this before relying on the scripts/flows/codecheck tools on a governed instance — on a least-privilege account those reads may be silently empty.

Prompts

Interactive templates invoked by user choice

NameDescription
servicenow_incident_triageGuide the assistant through triaging an incident: summarise, assess priority, categorise, find similar incidents and recommend next steps.
servicenow_change_impact_analysisGuide the assistant through impact analysis for a change request: affected CIs, schedule conflicts, related changes and a go/no-go recommendation.
servicenow_document_tableOrchestrate schema, automation and diagram tools to produce and save durable Markdown documentation for a table.

Resources

Contextual data attached and managed by the client

NameDescription
tablesList of tables from sys_db_object (requires credentials).
statusCurrent instance, user, auth mode and access policy. Password is never included.
capabilitiesWhich admin-restricted sys_* tables the connected user can read, and which capabilities (schema reads, script intelligence, ACL audit) are therefore achievable.

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/IvanBBaev/servicenow-mcp-ai'

If you have feedback or need assistance with the MCP directory API, please join our Discord server