OnlyFlows ServiceNow MCP — Claude Code MCP server: setup guide
OnlyFlows ServiceNow MCP is a Claude Code MCP server that connects assistants to ServiceNow instances. It isolates access through per-profile table filters.
MIT ★ 13 updated 2026-11-16
claude mcp add servicenow-mcp -- npx -y @onlyflows/servicenow-mcpWhat OnlyFlows ServiceNow MCP does
The server supplies 24 stdio tools to query and modify records inside ServiceNow instances. Access adheres to a strict deny-by-default policy where each named profile maintains isolated allowlists for table reads and modifications. Sensitive fields stay blocked, while sn_delete and bulk sn_batch tasks require an explicit confirmation parameter. Batch updates operate as dry runs initially and enforce a hard cap of 10,000 records.
Tool calls must declare an explicit profile name because the server omits fallback instances. Credentials pass through a masked terminal prompt, get verified against the target host immediately, and reside encrypted under ~/.servicenow-mcp.
Execution requires Node.js 20 or higher. Since shell-enabled clients can inspect local directories or run configuration commands, production profiles require environments without unrestricted terminal access.
What it helps with
- query ServiceNow records directly from an AI client
- restrict model actions to specific instance tables
- preview bulk record modifications with strict row caps
- keep ServiceNow authentication tokens encrypted on disk
Example prompts for the agent
- Using profile dev, summarize the ten newest open P1 records
- On profile dev, count active issues categorized by severity
- Check incident INC0010001 on dev and summarize current status
How to install OnlyFlows ServiceNow MCP
Platform CLI
claude mcp add servicenow-mcp -- npx -y @onlyflows/servicenow-mcpPlatform CLI
codex mcp add onlyflows-servicenow-mcp -- npx -y @onlyflows/servicenow-mcpConfig file
{
"mcpServers": {
"onlyflows-servicenow-mcp": {
"command": "npx",
"args": [
"-y",
"@onlyflows/servicenow-mcp"
]
}
}
}Config file
{
"servers": {
"onlyflows-servicenow-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@onlyflows/servicenow-mcp"
]
}
}
}Platform CLI
gemini mcp add onlyflows-servicenow-mcp npx -y @onlyflows/servicenow-mcpStep 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 OnlyFlows ServiceNow MCP
How to install OnlyFlows ServiceNow MCP in Claude Code?
Add the package by running claude mcp add servicenow-mcp -- npx -y @onlyflows/servicenow-mcp.
What does OnlyFlows ServiceNow MCP do?
It exposes 24 stdio tools enabling assistants to manage ServiceNow records under strict table allowlists.
What is required to run OnlyFlows ServiceNow MCP?
You need Node.js 20 or newer, a working ServiceNow instance, and an Application Registry entry configured for OAuth credentials.