Used for configuration management to securely store ServiceNow instance credentials and connection details.
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:
- Model Context Protocol Specification
- FreeCodeCamp's How to Build a Custom MCP Server with TypeScript
- YouTube Video: How to Build a Custom MCP Server with TypeScript
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
Configuration
Create a .env
file in the root directory with the following content:
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:
Inspector Mode
To start the MCP server in inspector mode, run:
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.
Tools
A Model Context Protocol server that integrates with ServiceNow instances, allowing users to utilize AI tools within ServiceNow without writing code.
Related MCP Servers
- -securityAlicense-qualityA 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 -21PythonMIT License
- AsecurityFlicenseAqualityA 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 -25410
- -securityFlicense-qualityA 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 -1Python
- -securityAlicense-qualityA 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 -1PythonMIT License