servicenow
Production-ready Model Context Protocol server for ServiceNow platform integration - ITOM, ITSM, CMDB with OAuth, natural language queries, and enterprise security controls
claude mcp add --transport stdio aartiq-servicenow-mcp node dist/server.js \ --env MCP_LOG_LEVEL="info" \ --env SERVICENOW_INSTANCE="your-instance-name" \ --env SERVICENOW_PASSWORD="your-password" \ --env SERVICENOW_USERNAME="your-username"
How to use
servicenow-mcp is a comprehensive MCP server for ServiceNow that lets AI agents connect to and orchestrate actions across ServiceNow modules. It exposes a wide toolset covering incidents, changes, scripting, ATF testing, flows, Now Assist integration, and multi-instance management, enabling your AI to read, create, update, deploy, and automate across multiple environments and customers. You can connect Claude, ChatGPT, Gemini, Cursor, Copilot, and other MCP-compatible clients to this server and issue plain-English requests that translate into ServiceNow actions. The server provides role-based tool packages, autonomous automation capabilities, and multi-tenant support so you can run workflows across dev, staging, and prod tenants from a single session.
To use the tools, configure the MCP connection with your ServiceNow instance credentials, then invoke the available MCP tools through your AI client. Examples include creating incidents, deploying server-side scripts, triggering flows, running ATF test suites, and performing cross-environment comparisons. Tools are organized by modules (e.g., Incident Management, Change Management, Scripting, ATF, and Reporting) and can be targeted to specific instances via instance switching when needed.
How to install
Prerequisites
- Node.js 20+ installed on your machine
- npm or pnpm installed
- Access to a ServiceNow instance with appropriate permissions for the tools you plan to use
-
Clone the repository git clone https://github.com/aartiq/servicenow-mcp.git cd servicenow-mcp
-
Install dependencies npm install
or using pnpm
pnpm install
-
Configure environment
- Create a .env file or export the required variables listed below
- Example (replace placeholders with real values): export SERVICENOW_INSTANCE="your-instance-name" export SERVICENOW_USERNAME="your-username" export SERVICENOW_PASSWORD="your-password" export MCP_LOG_LEVEL="info"
Notes:
- The server expects ServiceNow instance credentials to authenticate API calls. Use a dedicated service account if possible.
- If you prefer not to use environment variables, you can supply them in the mcp_config under env.
-
Build the project (if needed) npm run build
This will typically generate dist/server.js used by the MCP config
-
Start the MCP server npm start
Or run the node command directly if you build output to dist/server.js
-
Verify the server is running
- Check logs for startup messages indicating the MCP server is listening on the configured port
- Use your MCP client to connect to the server-name (servicenow) and begin issuing commands
Additional notes
Tips and common issues:
- Ensure the ServiceNow instance URL and credentials have the necessary permissions for the actions you plan to perform (e.g., read access to incidents, ability to create/update records).
- If you encounter authentication errors, verify that the provided credentials are correct and that the target instance is reachable from the host running the MCP server.
- For multi-instance setups, you can switch instances per tool call or globally via the instance switching features supported by the server.
- Enable appropriate logging (MCP_LOG_LEVEL) during troubleshooting to capture detailed tool interactions.
- Keep your AI tool packages up to date to benefit from the latest capabilities and security improvements.
- Review documentation in docs/ for specifics on ATF, scripting, and Now Assist integrations to maximize tool usage.
Related MCP Servers
casibase
⚡️AI Cloud OS: Open-source enterprise-level AI knowledge base and MCP (model-context-protocol)/A2A (agent-to-agent) management platform with admin UI, user management and Single-Sign-On⚡️, supports ChatGPT, Claude, Llama, Ollama, HuggingFace, etc., chat bot demo: https://ai.casibase.com, admin UI demo: https://ai-admin.casibase.com
better-chatbot
Just a Better Chatbot. Powered by Agent & MCP & Workflows.
UnrealGenAISupport
An Unreal Engine plugin for LLM/GenAI models & MCP UE5 server. Includes OpenAI's GPT 5.1, Deepseek V3.1, Claude Sonnet 4.5 APIs, Gemini 3, Alibaba Qwen, Kimi and Grok 4.1, with plans to add Gemini, audio tts, elevenlabs, OpenRouter, Groq, Dashscope & realtime APIs soon. UnrealMCP is also here!! Automatic scene generation from AI!!
yutu
A fully functional MCP server and CLI for YouTube
architect
A powerful, self-extending MCP server for dynamic AI tool orchestration. Features sandboxed JS execution, capability-based security, automated rate limiting, marketplace integration, and a built-in monitoring dashboard. Built for the Model Context Protocol (MCP).
stitch -auto
Automated installer for Stitch MCP - The easiest way to set up your Universal MCP server for Google Stitch.