ServiceNow MCP Implementation Example #829
darrylsarkisian-debug
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Pre-submission Checklist
What would you like to share?
I'm the maintainer of this project — an ITSM professional who spent my career in incident/service management and recently completed Anthropic's MCP courses. I built this as a hands-on bridge between the two: an MCP server that exposes real ServiceNow Incident Management operations as tools, driven by a Claude-powered agent.
The MCP server exposes incident management as four tools, and the intended workflow is:
Claude discovers the available tools via MCP's tools/list — no ServiceNow specifics are hardcoded in the client.
A natural-language request (e.g. "my laptop won't boot, open a ticket") gets mapped to create_incident, with urgency/impact inferred from context.
ServiceNow's own priority matrix derives the priority — the client just reflects it back.
Follow-up requests round-trip through get_incident / update_incident_state, carrying the incident number from conversation context.
Quick start (Python 3.10+, PowerShell):
git clone https://github.com/darrylsarkisian-debug/servicenow-mcp-demo
cd servicenow-mcp-demo
pip install -r requirements.txt
.\start-demo.ps1
The server talks to ServiceNow's Table API and supports a mock/live backend toggle via environment variable, so it can run fully offline for testing. It does not ship any credentials — you provide your own PDI instance URL and API key via .env, which is gitignored.
Feedback on the tool schemas, the mock/live toggle design, or what I'd need to change for a production deployment (OAuth + scoped service account, streamable HTTP transport instead of stdio) is welcome.
Relevant Links
Source: https://github.com/darrylsarkisian-debug/servicenow-mcp-demo
All reactions