ServiceNow MCP Server (NowAIKit) — Claude Code MCP server
Links ServiceNow instances to AI clients for auditing incidents, running ATF suites, and generating reports. Operates in read-only mode out of the box.
claude mcp add --env SERVICENOW_INSTANCE_URL=<SERVICENOW_INSTANCE_URL> --env SERVICENOW_AUTH_METHOD=<SERVICENOW_AUTH_METHOD> --env SERVICENOW_BASIC_USERNAME=<SERVICENOW_BASIC_USERNAME> --env SERVICENOW_BASIC_PASSWORD=<SERVICENOW_BASIC_PASSWORD> --env WRITE_ENABLED=<WRITE_ENABLED> --transport stdio servicenow-mcp-server-nowaikit -- npx -y nowaikitWhat ServiceNow MCP Server (NowAIKit) does
This server integrates coding assistants with ServiceNow environments, covering modules across ITSM, CMDB, HRSD, Flow Designer, and custom scripts. Developers can query active high-priority records, evaluate change ticket risks, or look up GlideRecord syntax directly in conversation.
Dependency inspection relies on impact analysis utilities: list_table_config, find_field_references, and find_script_references. They trace references across tables and scripts before code modifications. The aggregate_report tool compiles server-side calculations without truncated outputs, while Local Sync pulls remote instance artifacts into local project files.
Node.js 20+ is strictly required to execute the package. Production instances remain safe from accidental writes because update and script execution features stay disabled until WRITE_ENABLED is set.
What it helps with
- query unresolved high-priority incidents and assess change risks
- audit script and field dependencies prior to modifying tables
- trigger ATF suites to validate automated workflows
- compile server-side aggregate metrics without payload truncation
Example prompts for the agent
- Show all open priority 1 incidents and summarize their impact
- Run find_script_references to see what calls this script include
- Execute the ATF suite configured for the onboarding workflow
How to install ServiceNow MCP Server (NowAIKit)
Platform CLI
claude mcp add --env SERVICENOW_INSTANCE_URL=<SERVICENOW_INSTANCE_URL> --env SERVICENOW_AUTH_METHOD=<SERVICENOW_AUTH_METHOD> --env SERVICENOW_BASIC_USERNAME=<SERVICENOW_BASIC_USERNAME> --env SERVICENOW_BASIC_PASSWORD=<SERVICENOW_BASIC_PASSWORD> --env WRITE_ENABLED=<WRITE_ENABLED> --transport stdio servicenow-mcp-server-nowaikit -- npx -y nowaikitReplace <…> with your own values. 9 more environment variables are in the server README
Platform CLI
codex mcp add servicenow-mcp-server-nowaikit --env SERVICENOW_INSTANCE_URL=<SERVICENOW_INSTANCE_URL> --env SERVICENOW_AUTH_METHOD=<SERVICENOW_AUTH_METHOD> --env SERVICENOW_BASIC_USERNAME=<SERVICENOW_BASIC_USERNAME> --env SERVICENOW_BASIC_PASSWORD=<SERVICENOW_BASIC_PASSWORD> --env WRITE_ENABLED=<WRITE_ENABLED> -- npx -y nowaikitReplace <…> with your own values. 9 more environment variables are in the server README
Config file
{
"mcpServers": {
"servicenow-mcp-server-nowaikit": {
"command": "npx",
"args": [
"-y",
"nowaikit"
],
"env": {
"SERVICENOW_INSTANCE_URL": "<SERVICENOW_INSTANCE_URL>",
"SERVICENOW_AUTH_METHOD": "<SERVICENOW_AUTH_METHOD>",
"SERVICENOW_BASIC_USERNAME": "<SERVICENOW_BASIC_USERNAME>",
"SERVICENOW_BASIC_PASSWORD": "<SERVICENOW_BASIC_PASSWORD>",
"WRITE_ENABLED": "<WRITE_ENABLED>"
}
}
}
}Replace <…> with your own values. 9 more environment variables are in the server README
Config file
{
"servers": {
"servicenow-mcp-server-nowaikit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"nowaikit"
],
"env": {
"SERVICENOW_INSTANCE_URL": "<SERVICENOW_INSTANCE_URL>",
"SERVICENOW_AUTH_METHOD": "<SERVICENOW_AUTH_METHOD>",
"SERVICENOW_BASIC_USERNAME": "<SERVICENOW_BASIC_USERNAME>",
"SERVICENOW_BASIC_PASSWORD": "<SERVICENOW_BASIC_PASSWORD>",
"WRITE_ENABLED": "<WRITE_ENABLED>"
}
}
}
}Replace <…> with your own values. 9 more environment variables are in the server README
Platform CLI
gemini mcp add -e SERVICENOW_INSTANCE_URL=<SERVICENOW_INSTANCE_URL> -e SERVICENOW_AUTH_METHOD=<SERVICENOW_AUTH_METHOD> -e SERVICENOW_BASIC_USERNAME=<SERVICENOW_BASIC_USERNAME> -e SERVICENOW_BASIC_PASSWORD=<SERVICENOW_BASIC_PASSWORD> -e WRITE_ENABLED=<WRITE_ENABLED> servicenow-mcp-server-nowaikit npx -y nowaikitReplace <…> with your own values. 9 more environment variables are in the server README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about ServiceNow MCP Server (NowAIKit)
How to install ServiceNow MCP Server (NowAIKit) in Claude Code?
Run claude mcp add nowaikit -- npx -y nowaikit for the standard setup. To pass instance credentials directly via environment flags, run `claude mcp add --env SERVICENOW_INSTANCE_URL=<SERVICENOW_INSTANCE_URL> --env SERVICENOW_AUTH_METHOD=<SERVICENOW_AUTH_METHOD> --env SERVICENOW_BASIC_USERNAME=<SERVICENOW_BASIC_USERNAME> --env SERVICENOW_BASIC_PASSWORD=<SERVICENOW_BASIC_PASSWORD> --env WRITE_ENABLED=<WRITE_ENABLED> --transport stdio servicenow-mcp-server-nowaikit -- npx -y nowaikit`.
What does ServiceNow MCP Server (NowAIKit) do?
It exposes an MCP bridge connecting ServiceNow instances to coding agents. It enables reading incident schemas, querying CMDB health, and building server reports using conversational prompts.
Does the server allow write operations by default?
No, all write and scripting capabilities are locked down by default. Making changes to records or business rules requires explicitly configuring the WRITE_ENABLED variable.