Skip to main content
Glama
onlyflowstech

@onlyflows/servicenow-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SN_USERYesServiceNow username
SN_INSTANCEYesInstance URL (e.g. https://yourinstance.service-now.com)
SN_PASSWORDYesServiceNow password
SN_REL_DEPTHNoDefault CMDB relationship traversal depth3
SN_DISPLAY_VALUENoDefault display value mode (true, false, all)true

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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
sn_queryA

Query any ServiceNow table. Returns records matching the encoded query with support for field selection, pagination, sorting, and display values.

sn_getA

Get a single ServiceNow record by sys_id. Returns all fields or a specified subset.

sn_createB

Create a new record on any ServiceNow table. Pass field values as a JSON object.

sn_updateA

Update an existing ServiceNow record. Pass the sys_id and field values to change.

sn_deleteA

Delete a ServiceNow record by sys_id. Requires the confirm flag set to true as a safety measure.

sn_batchA

Bulk update or delete records matching a query. Runs in dry-run mode by default — set confirm to true to execute. Safety cap at 10,000 records.

sn_aggregateA

Run aggregate queries (COUNT, AVG, MIN, MAX, SUM) on a ServiceNow table with optional grouping.

sn_schemaA

Get the schema (field definitions) for a ServiceNow table. Returns field names, types, max lengths, mandatory flags, and reference targets.

sn_healthA

Check ServiceNow instance health: version, cluster nodes, stuck jobs, semaphores, and key stats (active incidents, P1s, changes, problems).

sn_attachA

Manage attachments on ServiceNow records. List, download, or upload attachments.

sn_relationshipsA

Traverse CMDB CI relationships (graph walk). Supports upstream, downstream, or both directions with configurable depth. Use for impact analysis and dependency mapping.

sn_syslogA

Query ServiceNow system logs (syslog table) with severity, source, and time-based filters. Results ordered newest first.

sn_codesearchA

Search across ServiceNow code artifacts — business rules, script includes, UI scripts, client scripts, and scripted REST operations. Returns matching records with code snippets.

sn_discoverB

Discover tables, applications, and plugins installed on the ServiceNow instance.

sn_atfA

Automated Test Framework — list, run, and get results for ATF tests and test suites.

sn_nlA

Natural language interface for ServiceNow. Translates plain English into ServiceNow API calls. Supports queries, aggregates, schema lookups, creates, updates, and batch operations. Read operations execute immediately; write operations require execute=true.

sn_scriptA

Execute a background script on the ServiceNow instance. Runs server-side GlideRecord/GlideSystem JavaScript and returns output from gs.print() calls. Requires admin role. NOTE: This tool requires the optional Playwright dependency.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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

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