ServiceNow MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ServiceNow MCP Server
A comprehensive Model Context Protocol (MCP) server for interacting with ServiceNow instances. Includes 80 tools covering AI Agent management and invocation, performance analytics, incident/ITSM operations, service catalog ordering, flow designer debugging, app management, and more.
Setup
1. Configure Credentials
Copy .env.template to .env and fill in your credentials:
cp .env.template .envSERVICENOW_INSTANCE=your-instance.service-now.com
SERVICENOW_USERNAME=your.username
SERVICENOW_PASSWORD=your-passwordSupports both SERVICENOW_* and SNOW_* variable names, and accepts instance names in any format (dev12345, dev12345.service-now.com, or full URL).
2. Install Dependencies
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt3. Add to Claude Desktop
{
"mcpServers": {
"servicenow": {
"command": "/path/to/.venv/bin/python",
"args": ["/path/to/server.py"],
"env": {
"SERVICENOW_INSTANCE": "your-instance.service-now.com",
"SERVICENOW_USERNAME": "your.username",
"SERVICENOW_PASSWORD": "your-password"
}
}
}
}Related MCP server: ServiceNow MCP Server
Available Tools (80)
π€ AI Agent Management
Build, configure, and manage ServiceNow AI Agents:
list_ai_agents- List all AI agentsget_agent_details- Get complete agent configurationcreate_ai_agent- Create new Chat or Voice AI agentsupdate_ai_agent- Modify existing agentsdelete_ai_agent- Remove agentsclone_ai_agent- Clone an agent with all its toolslist_agent_tools- View tools assigned to an agentadd_tool_to_agent- Assign tools to agentsremove_tool_from_agent- Remove tools from agentscreate_tool- Create custom toolsupdate_tool- Update tool definitionsdelete_tool- Remove toolscleanup_agent_configs- Clean up duplicate agent config records
βΆοΈ AI Agent Invocation (Run Agents)
Invoke AI Agents and get responses:
run_ai_agent- Invoke an AI Agent via the OOBAiAgentRuntimeUtilAPIAccepts agent name or sys_id
Supports context records (e.g. target incident)
Back-and-forth conversations via
context_memoryPolls execution plan until completed and returns response
Prerequisite: Uses the OOB Scripted REST API at
/api/snc/ai_agent_invoker_api/start_conversation
π Agentic Workflows
Orchestrate multi-agent workflows:
list_agentic_workflows- List all workflows (use cases)create_agentic_workflow- Create new workflowsupdate_agentic_workflow- Update workflow configurationdelete_agentic_workflow- Remove workflowslist_trigger_configurations- List workflow triggerscreate_trigger- Create workflow triggersupdate_trigger- Update triggersdelete_trigger- Remove triggersfind_va_agent_execution_plan- Find execution plans for Virtual Agent conversations
π Performance Analysis
Analyze AI Agent conversation performance:
analyze_conversation_performance- Full bottleneck analysis: LLM time, tool execution, user wait timecompare_conversation_performance- Compare 2β10 conversations side-by-sideanalyze_conversation_trends- Track performance trends over time
π Execution Monitoring
Monitor and debug agent executions:
query_execution_plans- List agent execution runsquery_execution_tasks- View individual task stepsquery_tool_executions- Track tool calls within executionsget_execution_details- Full execution details with timelinequery_generative_ai_logs- View AI/LLM request logsquery_generative_ai_logs_detailed- Full LLM request/response detailsquery_agent_messages- View conversation message history
π Flow Designer Debugging
Debug ServiceNow Flow Designer workflows:
query_flow_contexts- Flow execution summariesquery_flow_logs- Detailed step-by-step flow logsget_flow_context_details- Complete execution details with metricsquery_flow_reports- Flow performance reports (success rate, avg duration)
π« Incident Management
Full incident lifecycle management:
create_incident- Create incidents with caller auto-lookup and validationupdate_incident- Update state, work notes, and fieldsresolve_close_incident- Resolve/close with resolution codeget_incident_details- Rich retrieval with related records and historylist_incidents- Pre-built filters (critical, unassigned, my_open, breached SLA)
π Attachment Management
upload_attachment- Attach files to any record (base64, <5KB recommended)download_attachment- Retrieve attachment contentlist_attachments- List attachments by record or filenamedelete_attachment- Remove attachments
β Approvals
list_pending_approvals- Query approvals by state, approver, or source tableapprove_record- Approve with commentsreject_record- Reject with mandatory reasonget_approval_details- Full approval details with source record
β Pre-Flight Validation
Prevent incomplete record creation:
get_form_mandatory_fields- Discover ALL mandatory fields including UI Policy-enforced fieldsvalidate_record_data- Validate data before submission (use before create_incident, order_catalog_item, etc.)
π Service Catalog
End-to-end catalog ordering:
list_catalog_items- List active catalog items with pricingsearch_catalog_items- Search by keywords across name, descriptionget_catalog_item_details- Full item metadata, variables, UI policieslookup_reference_field- Query reference tables for field optionsget_user_context- Get user sys_id forrequested_forparameterorder_catalog_item- Submit orders with variablesget_request_status- Track order status (REQ/RITM numbers)list_my_requests- View a user's catalog requests
π¦ App & Plugin Management
snow_app_info- View installed applications and versionssnow_app_install- Install or upgrade an applicationsnow_app_install_status- Check installation progresssnow_plugin_activate- Activate or deactivate a plugin
π§ System & Debugging
snow_run_script- Execute server-side JavaScriptexecute_scripted_rest_api- Call any Scripted REST API (escape hatch for extensibility)query_system_properties- Query instance configuration settingsquery_syslog- Search system error logshealth_check- Connection health check with role/permission verification
π AI Search
search_servicenow_knowledge- Natural language knowledge search via AI Searchlist_ai_search_profiles- View available search configurations
π Generic Table Operations
snow_query- Query records from any tablesnow_get_record- Get a single record by sys_idsnow_create_record- Create recordssnow_update_record- Update recordssnow_delete_record- Delete recordssnow_count- Count records matching a querysnow_aggregate- Aggregate queries (sum, avg, group by)snow_table_schema- Get table field definitionssnow_test_connection- Test connectivity
MCP Resources
Access ServiceNow data as context in conversations:
URI | Description |
| Table schema with all field definitions |
| Full record content formatted as markdown |
| Reference list of common ServiceNow tables |
MCP Prompts
Reusable guided workflows:
Prompt | Description |
| Step-by-step guide for analyzing AI Agent performance |
| Structured workflow debugging process |
| Guided incident creation collecting all required fields |
| Service Catalog ordering workflow |
Security Notes
Never commit your
.envfile to version controlUse service accounts with minimum required permissions
Consider OAuth instead of basic auth for production use
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage tickets, run agents and workflows, query tables, and search workspace knowledge.
Lets AI agents analyze API metrics, request logs, and traces, and manage apps and alerts.
Build and run agents and automations across hundreds of apps using natural language.
Give AI agents 30,000+ safe, token-optimized actions across Workday, SAP, Oracle + hundreds more.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables Claude to interact with ServiceNow instances for incident management, service catalog operations, change requests, knowledge base management, user administration, and agile project workflows through various authentication methods.MIT
- AlicenseNot gradedqualityCmaintenanceEnables interaction with ServiceNow ITSM through browser-based SSO authentication, providing 80+ tools for incidents, changes, catalog, CMDB, and more via natural language.31 npmMIT
- AlicenseAqualityBmaintenanceEnables AI agents to interact with ServiceNow through MCP, providing schema inspection, record CRUD, attachments, audit, Flow Designer, and platform investigations with policy-guarded access.154,165 PyPI4MIT
- AlicenseCqualityAmaintenanceEnables AI to interact with ServiceNow instances via MCP, providing 400+ tools across all modules for automation, development, and management.50018Elastic 2.0