Skip to content

ServiceNow MCP Server

What it is

ServiceNow MCP Server is a Model Context Protocol server that lets AI agents read and update ServiceNow data through MCP tools. It exposes ServiceNow's IT Service Management (ITSM) capabilities as structured tools that LLMs can invoke.

What problem it solves

It reduces direct API wiring work when you want agents to query incidents, change requests, or scripts in ServiceNow through a standard tool interface. It abstracts the complexity of ServiceNow's Table API into a set of well-defined MCP tools.

Where it fits in the stack

Automation / Orchestration Tool. It is a domain-specific MCP server used by MCP-compatible clients to bridge the gap between AI reasoning and enterprise IT operations.

Typical use cases

  • Natural Language Triage: Agent-assisted incident triage using natural language queries (e.g., "Find all incidents about SAP").
  • Automated Ticket Lifecycle: Querying and updating tickets directly from coding agents like Claude 4.8.
  • Script Maintenance: Maintaining script includes, business rules, and background scripts in ServiceNow from agent tools.
  • Status Reporting: Automated status reporting for change requests and critical incidents.
  • Cross-Tool Synchronization: Bridging ServiceNow data with other tools in the homelab stack (e.g., Jira, Slack).

Strengths

  • MCP-Native: Built specifically for the Model Context Protocol, ensuring compatibility with Claude 4.8, GPT-5.5, and Llama 4 Maverick.
  • Natural Language Support: Includes specialized tools for natural language search and updates.
  • Multi-Auth Support: Supports Basic Auth, OAuth, and Token-based authentication.
  • Unified Interface: Simplifies authentication by centralizing it in the server process.
  • Script Management: Provides dedicated tools for updating ServiceNow script files from local files.

Limitations

  • Requires ServiceNow credentials (Service Account recommended) and environment setup
  • Trust boundaries and permissions must be configured carefully in ServiceNow (ACLs)
  • Coverage depends on server-supported tool set and ServiceNow API access

When to use it

  • When your agent workflows already use MCP and need ServiceNow integration
  • When you want standardized tool-calling for ServiceNow tasks
  • For rapid prototyping of AI-driven IT support agents

When not to use it

  • When you need full ServiceNow platform automation beyond exposed MCP tools
  • When governance rules require tightly curated direct API integrations only
  • For high-volume data migrations (use ServiceNow IntegrationHub or direct API instead)

Getting started

To use the ServiceNow MCP server (June 2026 'High Confidence' version):

  1. Installation:
    pip install mcp-server-servicenow
    
  2. Configuration: Obtain your ServiceNow instance URL, username, and password.
  3. Claude Desktop Integration: Add the server configuration to your claude_desktop_config.json:
{
  "mcpServers": {
    "servicenow": {
      "command": "python",
      "args": [
        "-m",
        "mcp_server_servicenow.cli"
      ],
      "env": {
        "SERVICENOW_INSTANCE_URL": "https://your-instance.service-now.com",
        "SERVICENOW_USERNAME": "your-username",
        "SERVICENOW_PASSWORD": "your-password"
      }
    }
  }
}

CLI examples

Running the Server Manually

Verify your connection by running the server directly from the command line:

python -m mcp_server_servicenow.cli \
  --url "https://your-instance.service-now.com/" \
  --username "admin" \
  --password "admin-password"

Listing Available Tools

If using mcp-cli or similar debug tools:

mcp-cli list-tools --server-command "python -m mcp_server_servicenow.cli"

Inspecting Resources

ServiceNow MCP exposes resources like incidents and tables:

# Example: List recent incidents via resource URI
mcp-cli read-resource servicenow://incidents

API examples

Searching for Incidents

Agents using FastMCP 3.0 or native MCP clients can invoke the search_records tool:

// Tool call from agent
{
  "name": "search_records",
  "arguments": {
    "table_name": "incident",
    "query": "active=true^priority=1",
    "limit": 5
  }
}

Natural Language Update

Leveraging the specialized natural_language_update tool for intuitive ticket management:

// Tool call from agent
{
  "name": "natural_language_update",
  "arguments": {
    "query": "Update incident INC0010001 saying I'm working on it"
  }
}

Updating Script Includes

Directly updating ServiceNow business logic from an agent:

{
  "name": "update_script",
  "arguments": {
    "script_name": "HelloWorld",
    "script_type": "script_include",
    "content": "var HelloWorld = Class.create(); HelloWorld.prototype = { initialize: function() {}, type: 'HelloWorld' };"
  }
}

Licensing and cost

  • Open Source: Yes (project listed with MIT badge in registry listing)
  • Cost: Free software; ServiceNow usage/license costs still apply
  • Self-hostable: Yes

Sources / References

Contribution Metadata

  • Last reviewed: 2026-06-28
  • Confidence: high