Skip to main content
Glama

AI MCP ServiceNow

by jacebenson

AI MCP Servicenow

This is a work in progress. Right now none of the tools are implemented. The goal is to create a Model Context Protocol (MCP) server that can be used with ServiceNow on out of box instances. This will allow you to use AI tools in ServiceNow without having to write any code in things like Open Web UI.

Want to learn more about the Model Context Protocol? Check out the following resources:

Note, This is inspired by the project at https://github.com/echelon-ai-labs/servicenow-mcp. I like what they did but I wanted it in the TypeScript style that I use in my other projects. Also Typescript is a lot closer to JavaScript and JavaScript is what's used in ServiceNow.

Installation

Pre-requisites

  • Node.js
  • A ServiceNow Instance

Setup

git clone https://github.com/jacebenson/ai-mcp-servicenow.git cd ai-mcp-servicenow npm install

Configuration

Create a .env file in the root directory with the following content:

SERVICENOW_INSTANCE_URL=https://dev12345.service-now.com SERVICENOW_USERNAME=admin SERVICENOW_PASSWORD=your_password_here

Usage

Standard (stdio) Mode

I've mapped these to scripts in the package.json file so you can run them with npm run server or npm run dev or npm run inspector.

However you can also run them directly with npx if you prefer.

Standard Mode

To start the MCP server in standard mode, run:

npx -y @modelcontextprotocol/inspector npx -y tsx main.ts # or npm run server

Inspector Mode

To start the MCP server in inspector mode, run:

npx -y @modelcontextprotocol/inspector npx -y tsx main.ts --inspector # or npm run inspector

Contributing

I've included a tool, ./tools/get-weather.js, that demonstrates how to create a tool for the MCP server. You can use this as a starting point for creating your own tools, or the tools I've spelled out in the ./main.ts file.

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

A Model Context Protocol server that integrates with ServiceNow instances, allowing users to utilize AI tools within ServiceNow without writing code.

  1. Installation
    1. Pre-requisites
    2. Setup
    3. Configuration
  2. Usage
    1. Standard Mode
    2. Inspector Mode
  3. Contributing

    Related MCP Servers

    • -
      security
      A
      license
      -
      quality
      A Model Context Protocol server enabling AI agents to access and manipulate ServiceNow data through natural language interactions, allowing users to search for records, update them, and manage scripts.
      Last updated -
      21
      Python
      MIT License
    • A
      security
      F
      license
      A
      quality
      A Model Context Protocol server that enables AI models to interact with SourceSync.ai's knowledge management platform for managing documents, ingesting content from various sources, and performing semantic searches.
      Last updated -
      25
      410
      • Apple
      • Linux
    • -
      security
      F
      license
      -
      quality
      A Model Context Protocol server that provides AI models with structured access to external data and services, acting as a bridge between AI assistants and applications, databases, and APIs in a standardized, secure way.
      Last updated -
      1
      Python
    • -
      security
      A
      license
      -
      quality
      A Model Context Protocol server that enables AI assistants and development tools to interact with ServiceNow instances, providing comprehensive API coverage for incident management, change management, CMDB, and other ServiceNow modules.
      Last updated -
      1
      Python
      MIT License

    View all related MCP servers

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

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