ServiceNow MCP Server
ServiceNow MCP Server
Ein selbst gehosteter Model Context Protocol-Server, der eine ServiceNow-Instanz für MCP-Clients wie Microsoft Copilot Studio (und jeden anderen MCP- Client, z. B. Claude) bereitstellt. Er läuft vollständig auf ServiceNow-Standardlizenzierung, indem er die REST-APIs der Plattform (Table / Aggregate / CMDB) aufruft, und verwendet OAuth-2.0-Token-Passthrough pro Benutzer, sodass jeder Aufruf im Namen des angemeldeten Benutzers ausgeführt wird und dessen eigene ACLs durchgesetzt werden.
Warum es das gibt
Die Zielinstanz läuft mit einer Standard-ServiceNow-Lizenz, daher ist die native MCP Server Console von ServiceNow (nur mit Now Assist / AI Native SKU) nicht verfügbar. Dieser Server ist eine portable, wiederverwendbare Integrationsschicht – ein MCP-Server, der über Clients und KI-Frontends hinweg nutzbar ist – statt eines Copilot-Studio-spezifischen Connectors.
Related MCP server: servicenow-mcp-server
So funktioniert die Authentifizierung (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)Der Server speichert keine Benutzeranmeldedaten. Er liest den eingehenden
Authorization: Bearer <token>-Header und leitet ihn unverändert an ServiceNow weiter. Siehe
auth.py.
Tools
Stufe 1 — direkter Abruf (schreibgeschützt):
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.
Stufe 2 — deterministische Logik:
correlate_changes_to_incident, get_incident_trends, get_ci_impact,
find_similar_incidents, get_incident_context.
Die Root-Cause-Analyse und das endgültige Ranking ähnlicher Incidents werden bewusst dem
Reasoning des Agents überlassen, das von get_incident_context / find_similar_incidents
gespeist wird.
Lokal ausführen
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-mcpDer Server lauscht auf http://HOST:PORT/mcp (Streamable HTTP) mit einem /health-Endpunkt.
Mit dem MCP Inspector prüfen
npx @modelcontextprotocol/inspectorRichten Sie ihn auf http://localhost:8000/mcp, wählen Sie Streamable HTTP und geben Sie ein
ServiceNow-OAuth-Zugriffstoken als Bearer-Token an, um die Tools auszuführen. Dies ist die
MCP-Entsprechung, die Swagger UI am nächsten kommt: Der Inspector listet jedes Tool mit seinem
Schema auf und ermöglicht es, jedes einzelne interaktiv aufzurufen.
Alle Tools auflisten (keine Server- oder ServiceNow-Verbindung erforderlich)
.venv/Scripts/python scripts/list_tools.py # human-readable catalog
.venv/Scripts/python scripts/list_tools.py --json # machine-readable (like an OpenAPI dump)Deployment
Container-Image + Azure Container Apps. Siehe docs/DEPLOYMENT.md für die
ServiceNow-OAuth-App-Registrierung, die Copilot-Studio-Anbindung und die Infrastruktur.
Eine vollständige Schritt-für-Schritt-Anleitung – einschließlich der Bereitstellung eines
lokalen Servers über einen Dev-Tunnel, der Erstellung des Agents von Grund auf und des
Zwei-Benutzer-ACL-Tests – finden Sie in
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