yashkamde
Tera Sage

Introduction

In this implementation, we connect ServiceNow with Claude Desktop using a locally running Model Context Protocol (MCP) server.

The objective is to allow users to interact with ServiceNow through natural language prompts instead of manually navigating through different modules.

ServiceNow and Claude Integration Guide.png


For example, users can ask Claude to:

  • Retrieve the latest 10 change requests.

  • Find open problems assigned to a particular group.

  • Search for knowledge articles related to VPN connectivity.

  • Create a new change request with the required details.

  • Retrieve pending approval requests.

Claude processes the request, identifies the appropriate MCP tool, and communicates with ServiceNow through REST APIs.

 

Video demonstration: 

 

The integration consists of three main components:

Component

Responsibility

Claude Desktop

AI client that understands natural-language requests and selects the appropriate MCP tools.

Local MCP Server

Communication layer that exposes ServiceNow operations as MCP tools and handles API requests.

ServiceNow Instance

Enterprise platform that stores records and processes operations through REST APIs.


Prerequisites : 
Before starting, prepare the following:

Component

Purpose

ServiceNow Developer Instance

Environment for testing API operations

Claude Desktop

AI interface

Node.js and npm

Runtime and dependency management for the Node.js implementation

Local MCP Server

Connects Claude with ServiceNow

Integration User

Authenticated access to ServiceNow

REST API Access

Retrieves and updates ServiceNow records

 

ServiceNow Configuration

The first step is to prepare ServiceNow so that the MCP server can communicate with the instance.

Step 1: Prepare the ServiceNow instance

Log in to your ServiceNow Developer Instance and identify the tables and operations you want to expose through MCP.

For this implementation, we can start with the Incident table (incident).

Step 2: Configure an integration user

Create a dedicated user account for external API communication rather than using your personal administrator account.

Assign only the roles and permissions required for the operations being exposed.

For example:

  • Read access to retrieve incident records.
  • Create access to insert new incidents.
  • Update access to modify existing incidents.

Configuring Claude Desktop :

After preparing the MCP server, we need to register it with Claude Desktop.

Claude Desktop uses a configuration file named claude_desktop_config.json to identify and launch locally running MCP servers.

Step 1: Open Claude Desktop settings >

  1. Launch Claude Desktop.

  2. Navigate to Settings.

  3. Open the Developer section.

  4. Select Edit Config.

This opens the MCP configuration file.

Screenshot 2026-11-29 153435.png

 

Step 2: Locate the configuration file

For Windows, the configuration file is available at:

%APPDATA%\Claude\claude_desktop_config.json

Other operating systems use different locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Linux: ~/.config/Claude/claude_desktop_config.json

Step 3: Register the ServiceNow MCP server

Add the MCP server configuration under the mcpServers section.

The following is a generic configuration structure. The command, arguments, and environment variables must match your actual local server project.

"mcpServers": {
    "servicenow": {
      "command": "npx",
      "args": [
        "-y",
        "@onlyflows/servicenow-mcp"
      ],
      "env": {
        "SN_INSTANCE": "https://<instance>.service-now.com",
        "SN_USER": "<username>",
        "SN_PASSWORD": "<YOUR_PASSWORD>"
      }
    }
  }

 

Here is what the configuration represents:

  • mcpServers : Defines the MCP servers available to Claude Desktop.

  • servicenow : A custom name used to identify the ServiceNow server.

  • command : Specifies the executable used to start the server.

  • args : Contains the server script or executable path and its arguments.

  • env : Supplies the required environment variables.

Save and restart Claude Desktop

Save the configuration file and completely exit Claude Desktop before reopening it.

After Sometime Claude Desktop should initialize the configured local MCP server.

 

Before :

Screenshot 2026-11-29 154455.png

After :

Screenshot 2026-11-29 154509.png

Testing the Integration with Natural-Language Prompts :

Once the MCP server is connected, we can start interacting with ServiceNow directly through Claude Desktop.

Claude can understand the user's request, identify the appropriate MCP tool, and execute the operation through the local server.

 

Here are some practical scenarios to test.

1) Create a new incident

Prompt: 

Create a new incident with the following details:

Short Description: Unable to access VPN
Description: User is unable to connect to
the corporate VPN.
Priority: 2

Screenshot 2026-11-29 155444.pngScreenshot 2026-11-29 155617.png


2) 
Retrieve the latest incidents

Prompt:

Show me the latest 10 incidents from ServiceNow.


Note
: You can extend these scenarios beyond Incident Management to other supported ServiceNow tables, such as Change Request, Problem, Knowledge, and Service Catalog, by exposing the required operations through additional MCP tools and configuring appropriate permissions.


Practical Benefits of This Integration :

Connecting Claude Desktop with ServiceNow using MCP provides several possibilities for enterprise automation.

 

1. Natural-language interaction

Users can retrieve information and perform supported operations without manually navigating through multiple ServiceNow modules.

2. Standardized AI integration

MCP provides a common approach to exposing ServiceNow functionality to compatible AI applications.

3. Reusable tools

Once implemented, the same MCP tools can be reused for different natural-language requests.

4. Extensible architecture

Developers can introduce additional tools for Change Management, Problem Management, Knowledge Management, and Service Catalog operations.

5. Reduced manual effort

Common activities such as retrieving records, creating incidents, and updating work notes can be initiated through conversational interactions.

 

Conclusion

Integrating ServiceNow with Claude Desktop using a local MCP server demonstrates how AI assistants can interact with enterprise platforms through standardized protocols.

By combining Claude Desktop, MCP, and ServiceNow REST APIs, we can build a practical integration that supports record retrieval, searching, creation, and updates using natural-language prompts.

 

Keep learning, keep experimenting, and keep building!

If you found this blog helpful, please like, share your thoughts in the comments, and let me know your experience with MCP and ServiceNow integrations.

Happy Learning !