ServiceNow MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ServiceNow MCP ServerList my open incidents assigned to me"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ServiceNow MCP Server
A self-hosted Model Context Protocol server that exposes a ServiceNow instance to MCP clients such as Microsoft Copilot Studio (and any other MCP client, e.g. Claude). It runs entirely on standard ServiceNow licensing by calling the platform's REST APIs (Table / Aggregate / CMDB), and uses per-user OAuth 2.0 token passthrough so every call runs as the signed-in user with their own ACLs enforced.
Why this exists
The target instance is on a standard ServiceNow license, so ServiceNow's native MCP Server Console (Now Assist / AI Native SKU only) is unavailable. This server is a portable, reusable integration layer — one MCP server, usable across clients and across AI front-ends — instead of a Copilot-Studio-specific connector.
Related MCP server: servicenow-mcp-server
How auth works (token passthrough)
User ⇄ Copilot Studio --(per-user OAuth: ServiceNow access token as Bearer)--> this server
│ forwards the same Bearer token
▼
ServiceNow REST APIs (ACLs enforced as that user)The server stores no user credentials. It reads the incoming Authorization: Bearer <token>
header and forwards it verbatim to ServiceNow. See auth.py.
Tools
Tier 1 — direct retrieval (read-only):
get_incident, list_incidents, get_change_request, list_change_requests,
get_service_request, list_service_requests, get_configuration_item,
find_configuration_items, search_knowledge, get_knowledge_article, lookup_user,
lookup_group.
Tier 2 — deterministic logic:
correlate_changes_to_incident, get_incident_trends, get_ci_impact,
find_similar_incidents, get_incident_context.
Root-cause analysis and final similar-incident ranking are intentionally left to the agent's
reasoning, fed by get_incident_context / find_similar_incidents.
Write tools (incidents only, confirm-gated):
create_incident, update_incident, add_work_note. Every read tool is marked
readOnlyHint=true in its MCP annotations (so MCP clients that respect the hint, e.g. Microsoft
365 Copilot, never prompt for confirmation on a lookup); the write tools omit that hint so
compliant clients do prompt. That client-side behavior isn't relied on alone, though — each
write tool also defaults to confirm=false, in which case it returns a preview of the exact
fields it would write without contacting ServiceNow at all. Only a call with confirm=true
actually performs the write. This makes the safety belt-and-suspenders and independent of which
MCP client is calling, consistent with this server being client-agnostic. See
tools/common.py's preview() and
tools/incidents.py.
Run locally
python -m venv .venv
.venv/Scripts/pip install -e ".[dev]" # Windows; use .venv/bin on macOS/Linux
cp .env.example .env # set SERVICENOW_INSTANCE_URL
SERVICENOW_INSTANCE_URL=https://devXXXXX.service-now.com .venv/Scripts/servicenow-mcpThe server listens on http://HOST:PORT/mcp (Streamable HTTP) with a /health probe.
Inspect with MCP Inspector
npx @modelcontextprotocol/inspectorPoint it at http://localhost:8000/mcp, choose Streamable HTTP, and supply a ServiceNow OAuth
access token as the Bearer token to exercise the tools. This is the closest MCP equivalent to a
Swagger UI: it lists every tool with its schema and lets you call each one interactively.
List all tools (no server or ServiceNow connection needed)
.venv/Scripts/python scripts/list_tools.py # human-readable catalog
.venv/Scripts/python scripts/list_tools.py --json # machine-readable (like an OpenAPI dump)Deploy
Container image + Azure Container Apps. See docs/DEPLOYMENT.md for the
ServiceNow OAuth app registration, Copilot Studio wiring, and infra.
For a full click-by-click walkthrough — including exposing a local server via a dev tunnel,
creating the agent from scratch, and the two-user ACL test — see
docs/COPILOT_STUDIO_SETUP.md.
Tests
.venv/Scripts/pytestThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Governed MCP gateway: one endpoint for your tools, with credential custody and audit log.
Search, document and execute authenticated API calls across 700+ apps via one MCP server
Remote MCP for 1,500+ APIs. Vault-managed credentials; OAuth or API key. Search, load, and execute.
Orchestration & technical-consulting MCP for end-to-end Salesforce, ServiceNow & HubSpot back-end.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables authenticated interaction with ServiceNow via its REST API using per-user OAuth 2.0 tokens. It provides tools for managing incidents, tasks, knowledge articles, and service catalog requests while maintaining user-specific permissions.284MIT
- AlicenseAqualityDmaintenanceEnables natural language interaction with ServiceNow instances for managing incidents, changes, CMDB, service catalog, users, groups, and knowledge base via MCP.4130MIT
- AlicenseAqualityAmaintenanceEnables AI agents to interact with ServiceNow through MCP, providing schema inspection, record CRUD, attachments, audit, Flow Designer, and platform investigations with policy-guarded access.152MIT
- AlicenseNot gradedqualityDmaintenanceMCP server to interact with ServiceNow instances, enabling ITSM, CMDB, workflow, and knowledge search operations.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mukhtar-zargar/servicenow-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server