ServiceNow MCP Server
for AI Agents
Connect your AI agent to StackOne's ServiceNow MCP server and give it 77 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
77 Agent Actions
Create, read, update, and delete across ServiceNow — and extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your ServiceNow MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every ServiceNow tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every ServiceNow call.
Tools Discovery →What is the ServiceNow MCP Server?
A ServiceNow MCP server lets AI agents read and write ServiceNow data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's ServiceNow MCP server ships with 77 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All ServiceNow MCP Tools
Every action from ServiceNow's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Table Records
- Create Table Record
Create a new record in any ServiceNow table using the Table API with dynamic field support. Use get_table_schema with the table_name to discover required fields and all available attributes. Use get_choice_list to get valid values for choice/dropdown fields.
- List Table Records
Retrieve records from any ServiceNow table using the Table API with filtering, pagination, and field selection support. Use list_tables to discover available tables in your instance and get_table_schema with the table_name to discover available fields for filtering and selection.
- Get Table Record
Retrieve a single record by sys_id from any ServiceNow table using the Table API. Use list_tables to discover available tables and get_table_schema to see available fields.
- Update Table Record
Update an existing record in any ServiceNow table using the Table API with dynamic field support. Use get_table_schema with the table_name to discover updateable fields. Use get_choice_list to get valid values for choice/dropdown fields before updating.
- Delete Table Record
Delete a record from any ServiceNow table using the Table API. Ensure you have the correct sys_id from list or get operations before deletion.
Tables
- Create Table
Create a new table in ServiceNow by inserting a record into sys_db_object. This creates the table structure. Use create_table_field to add fields/columns to the table. Requires admin permissions.
- List Tables
Retrieve a list of all tables in the ServiceNow instance from sys_db_object. Returns table names, labels, super classes, and accessibility info. Use this to discover available tables before creating records.
Incidents
- Create Incident
Create a new incident in ServiceNow. Use get_table_schema with table_name=incident to discover all available fields and required fields. Use get_choice_list to get valid values for state, priority, urgency, impact fields.
- List Incidents
Retrieve a list of all incidents from ServiceNow. Use get_table_schema action with table_name=incident to discover available fields, or get_choice_list to get valid values for state, priority, urgency fields.
- Get Incident
Retrieve a single incident by sys_id from ServiceNow. Use list_table_columns with table_name=incident to see all available fields you can request in sysparm_fields parameter.
- Update Incident
Update an existing incident in ServiceNow. Use get_table_schema with table_name=incident to discover updateable fields. Use get_choice_list to get valid values for state, priority, urgency, impact fields.
- Delete Incident
Delete an incident from ServiceNow
Problems
- Create Problem
Create a new problem record in ServiceNow for tracking root cause of recurring incidents. Use get_table_schema with table_name=problem to discover required fields. Use get_choice_list to get valid values for problem_state. Note that priority is auto-calculated from urgency × impact and the parent task `state` field is computed from problem_state — neither is settable on create.
- List Problems
Retrieve a list of all problem records from ServiceNow for root cause analysis of recurring incidents. Use get_table_schema with table_name=problem to discover available fields.
- Get Problem
Retrieve a single problem record by sys_id from ServiceNow
- Update Problem
Update an existing problem record in ServiceNow. Use get_table_schema with table_name=problem to discover updateable fields. Use get_choice_list to get valid values for problem_state. The `state` field on the parent task table is computed from problem_state and is not directly settable; priority is auto-calculated from urgency × impact.
- Delete Problem
Delete a problem record from ServiceNow. Note that some problem states (e.g., Known Error) may be protected by business rules and cannot be deleted.
Change Requests
- Create Change Request
Create a new change request in ServiceNow for planned infrastructure or service modifications. Use get_table_schema with table_name=change_request to discover required fields. Use get_choice_list to get valid values for type, state, risk, impact fields.
- List Change Requests
Retrieve a list of all change request records from ServiceNow for managing planned infrastructure and service changes. Use get_table_schema with table_name=change_request to discover available fields.
- Get Change Request
Retrieve a single change request record by sys_id from ServiceNow
- Update Change Request
Update an existing change request in ServiceNow. Use get_table_schema with table_name=change_request to discover updateable fields. Use get_choice_list to get valid values for type, state, risk fields.
- Delete Change Request
Delete a change request from ServiceNow
Tasks
- Create Task
Create a new task record in ServiceNow. Use get_table_schema with table_name=task to discover required fields. Use get_choice_list to get valid values for state, priority fields.
- List Tasks
Retrieve a list of all task records from ServiceNow (base table for incidents, problems, etc.). Use get_table_schema with table_name=task to discover available fields.
- Get Task
Retrieve a single task record by sys_id from ServiceNow
- Update Task
Update an existing task record in ServiceNow. Use get_table_schema with table_name=task to discover updateable fields. Use get_choice_list to get valid values for state field.
- Delete Task
Delete a task record from ServiceNow
Service Catalog Requests
- Create Service Catalog Request
Create a new service catalog request in ServiceNow. Use get_table_schema with table_name=sc_request to discover required fields. Use get_choice_list to get valid values for request_state, priority fields.
- List Service Catalog Requests
Retrieve a list of service catalog request records from ServiceNow. Use get_table_schema with table_name=sc_request to discover available fields.
- Get Service Catalog Request
Retrieve a single service catalog request by sys_id from ServiceNow
- Update Service Catalog Request
Update an existing service catalog request in ServiceNow
- Delete Service Catalog Request
Delete a service catalog request from ServiceNow
Service Catalog Request Items
- Create Service Catalog Request Item
Create a new service catalog request item in ServiceNow. Required fields are request (parent sc_request sys_id) and cat_item (catalog item sys_id). Use list_catalog_requests to find request sys_ids and list_catalog_items to find cat_item sys_ids.
- List Service Catalog Request Items
Retrieve a list of service catalog request item records from ServiceNow (individual items within requests)
- Get Service Catalog Request Item
Retrieve a single service catalog request item by sys_id from ServiceNow
- Update Service Catalog Request Item
Update an existing service catalog request item in ServiceNow
- Delete Service Catalog Request Item
Delete a service catalog request item from ServiceNow
Knowledge Articles
- Create Knowledge Article
Create a new knowledge base article in ServiceNow. Use get_table_schema with table_name=kb_knowledge to discover required fields. Use get_choice_list to get valid values for workflow_state, article_type fields.
- List Knowledge Articles
Retrieve a list of knowledge base articles from ServiceNow. Use get_table_schema with table_name=kb_knowledge to discover available fields.
- Get Knowledge Article
Retrieve a single knowledge article by sys_id from ServiceNow
- Update Knowledge Article
Update an existing knowledge base article in ServiceNow. Use get_table_schema with table_name=kb_knowledge to discover updateable fields. Use get_choice_list to get valid values for workflow_state field.
- Delete Knowledge Article
Delete a knowledge article from ServiceNow
Knowledge Categorys
- Create Knowledge Category
Create a new knowledge base category in ServiceNow
- Get Knowledge Category
Retrieve a single knowledge category by sys_id from ServiceNow
Knowledge Bases
- Create Knowledge Base
Create a new knowledge base in ServiceNow
- List Knowledge Bases
Retrieve a list of knowledge bases from ServiceNow
- Get Knowledge Base
Retrieve a single knowledge base by sys_id from ServiceNow
User Roles
- List User Roles
Retrieve a list of user roles from ServiceNow sys_user_role table
- Get User Role
Retrieve a single user role by sys_id from ServiceNow. Use list_user_roles to find valid role sys_ids first.
Locations
- Create Location
Create a new location in ServiceNow
- List Locations
Retrieve a list of company locations from ServiceNow cmn_location table
- Get Location
Retrieve a single location by sys_id from ServiceNow
Departments
- Create Department
Create a new department in ServiceNow
- List Departments
Retrieve a list of departments from ServiceNow cmn_department table
- Get Department
Retrieve a single department by sys_id from ServiceNow
Users
- Create User
Create a new user in ServiceNow sys_user table. Use get_table_schema with table_name=sys_user to discover required fields and all available user attributes.
- List Users
Retrieve a list of users from ServiceNow sys_user table to get sys_id values for caller_id and assigned_to fields. Use get_table_schema with table_name=sys_user to discover available fields.
- Get User
Retrieve a single user by sys_id from ServiceNow sys_user table
- Update User
Update an existing user in ServiceNow sys_user table
- Delete User
Delete a user from ServiceNow sys_user table
Groups
- Create Group
Create a new assignment group in ServiceNow sys_user_group table. Use get_table_schema with table_name=sys_user_group to discover required fields and group attributes.
- List Groups
Retrieve a list of assignment groups from ServiceNow sys_user_group table to get sys_id values for assignment_group field. Use get_table_schema with table_name=sys_user_group to discover available fields.
- Get Group
Retrieve a single assignment group by sys_id from ServiceNow sys_user_group table
- Update Group
Update an existing assignment group in ServiceNow sys_user_group table
- Delete Group
Delete an assignment group from ServiceNow sys_user_group table
Webhooks
- Create Webhook
Install a ServiceNow Business Rule that POSTs a standardized event envelope to a webhook URL whenever rows in the chosen table are inserted, updated, or deleted. Defaults to the connector's native webhook URL when `endpoint_url` is not provided.
- List Webhooks
List all StackOne-managed webhook Business Rules on this ServiceNow instance.
- Delete Webhook
Remove a webhook subscription by deleting its Business Rule record.
Other (9)
- Create Table Field
Add a new field/column to a ServiceNow table by inserting into sys_dictionary. Use after create_table to define the table structure. Use get_table_schema to see existing fields.
- Get Table Schema
Retrieve complete field schema for a ServiceNow table from sys_dictionary. Returns field names, types, max length, mandatory status, and reference tables. Use to discover available fields before creating/updating records.
- Get Table Metadata
Retrieve detailed metadata about a specific ServiceNow table from sys_db_object including structure, parent tables, access controls, and configuration. Useful for understanding table relationships and inheritance.
- List Table Columns
Retrieve simplified list of column names, labels, and types for a ServiceNow table from sys_dictionary. Returns field names, labels, data types, max length, mandatory status, and default values. Lightweight alternative to get_table_schema.
- Get Choice List
Retrieve valid choices (dropdown options) for a field in a ServiceNow table from sys_choice. Returns label, value, sequence, and status for choice fields like state, priority, urgency, impact. Essential for building forms with proper validation.
- Get Reference Qualifiers
Retrieve reference qualifier rules for fields that reference other tables from sys_dictionary. Returns filtering rules that limit which records can be selected (e.g., only active users for assigned_to field).
- List Knowledge Categories
Retrieve a list of knowledge base categories from ServiceNow
- List User Role Assignments
Retrieve a list of user-role assignments from ServiceNow sys_user_has_role table
- Assign Role To User
Create a new user-role assignment in ServiceNow. Use list_users to find user sys_ids and list_user_roles to find role sys_ids before creating the assignment.
ServiceNow AI Agent Use Cases
Connect your AI agent to ServiceNow and help your team scale the finance operations they run by hand today.
Automate invoice processing with AI agents connected to your ERP, accounting software, and AP tools through StackOne.
ViewUse StackOne to connect your AI agent to your accounting, CRM, and messaging systems to automate Accounts Receivable dunning and payment follow-up.
ViewUse StackOne to connect your AI agent to your helpdesk, CRM, and messaging tools to automate ticket triage and priority routing.
ViewSet Up Your ServiceNow MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to ServiceNow in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Check More ERP / ITSM MCP Servers
128+ actions
120+ actions
117+ actions
98+ actions
92+ actions
72+ actions
65+ actions
ServiceNow Resources
ServiceNow webhooks for AI agents: turn IT service events into cross-app agentic workflows
Turn ServiceNow events into cross-app agentic workflows, cut token spend and lag, and get a full audit trail of every action.
7 min read
MCP Code Mode: Keeping Tool Responses Out of Agent Context
Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, their shared security risks including indirect prompt injection, and when to use one, both, or a hybrid architecture.
12 min
MCP vs API: What 200+ Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building 200+ connectors that serve both, here's when each approach wins.
14 min read
ServiceNow MCP Server FAQ
Does StackOne have a ServiceNow MCP server?
ServiceNow MCP server vs direct API integration — what's the difference?
How does ServiceNow authentication work for AI agents?
origin_owner_id.Are ServiceNow MCP tools vulnerable to prompt injection?
What is the context bloat of a ServiceNow agent and how do I avoid it?
Can I limit which actions my ServiceNow agent can access?
Can I create custom agent actions for my ServiceNow MCP server?
When should I NOT use a ServiceNow MCP server?
What AI frameworks and AI clients does the StackOne ServiceNow MCP server support?
Put your AI agents to work
All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.