Skip to main content
Glama

ServiceNow MCP Learning Project

This project is a small learning-focused example of a Model Context Protocol (MCP) server that connects to ServiceNow.

Purpose

This repository is intended for:

  • learning how MCP servers are structured

  • experimenting with ServiceNow API interactions

  • exploring how tools and context can be exposed to AI clients

  • prototyping ideas in a simple, approachable setup

Related MCP server: ServiceNow MCP Server

What it does

The project demonstrates how to create an MCP server that can interact with ServiceNow records and expose capabilities to clients such as AI tools or local MCP inspectors.

Prerequisites

  • Node.js

  • npm

  • A ServiceNow instance

  • A valid .env file with the required ServiceNow connection values

Setup

  1. Install dependencies:

    npm install
  2. Create a .env file in the project root with the required ServiceNow configuration values.

  3. Start the project in one of the supported modes:

    Stdio mode:

    npm run inspector

    HTTP mode:

    npm run start:http

    If you want to inspect the HTTP server with the MCP Inspector, run it in a separate terminal:

    npx @modelcontextprotocol/inspector

Docker

  1. Build image

    docker build -t servicenow-mcp:latest .
  2. Start the container

    docker run -d --name servicenow-mcp -p 3000:3000 --env-file .env servicenow-mcp:latest

Notes

  • This repository is meant to support learning and experimentation.

  • Security, validation, error handling, and production hardening should be added before using this pattern in real environments.

  • Use it as a reference or starting point rather than a fully hardened production implementation.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    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.
    48
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    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.
    3
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    A local gateway that exposes ServiceNow REST APIs as MCP tools, enabling natural language interaction with ServiceNow incidents, changes, CMDB, and scripts via Claude and other MCP clients.
    -
  • A
    license
    A
    quality
    B
    maintenance
    Enables natural language interaction with ServiceNow Fluent SDK commands, API specifications, and development resources for AI-assisted environments.
    17
    175 npm
    31
    MIT