Skip to main content
Glama

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

Related MCP server: SourceSync.ai MCP Server

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.

One-click Deploy
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Latest Blog Posts

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