ServiceNow MCP Server
ServiceNow MCP Server
セルフホスティングのModel Context Protocolサーバーは、ServiceNowインスタンスをMicrosoft Copilot StudioなどのMCPクライアント(その他、ClaudeなどあらゆるMCPクライアント)に公開します。プラットフォームのREST API(Table / Aggregate / CMDB)を呼び出すことで、標準のServiceNowライセンスだけで完璧に動作し、ユーザーごとのOAuth 2.0トークン・パススルーを使用するため、すべての呼び出しはサインイン中のユーザーとして実行され、そのユーザー自身のACLが適応されます。
なぜこれが存在するのか
対象のインスタンスは標準のServiceNowライセンスを使用しているため、ServiceNow組み込みのMCP Server Console(Now Assist / AI Native SKUのみ)は利用できません。このサーバーは、Copilot Studio専用のコネクタではなく、ポータブルで再利用可能な統合レイヤーです。1つのMCPサーバーで、クライアントやAIフロントエンドを問わず利用できます。
Related MCP server: servicenow-mcp-server
認証の仕組み(トークン・パススルー)
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)このサーバーはユーザーの認証情報を一切保存しません。受信したAuthorization: Bearer <token>ヘッダーを読み取り、そのままServiceNowに転送します。auth.pyを参照してください。
ツール
ティア1 — 直接取得(読み取り専用):
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.
ティア2 — 決定的ロジック:
correlate_changes_to_incident, get_incident_trends, get_ci_impact,
find_similar_incidents, get_incident_context.
根本原因分析と最終的な類似インシデントの順位付けは、意図的にエージェントの推論に委ねられており、get_incident_context / find_similar_incidentsがその判断材料を提供します。
ローカルで実行
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-mcpサーバーはhttp://HOST:PORT/mcp(Streamable HTTP)で待ち受け、/healthプローブを備えています。
MCP Inspectorで試す
npx @modelcontextprotocol/inspectorhttp://localhost:8000/mcpをポイント先に指定し、Streamable HTTPを選択して、ServiceNowのOAuthアクセストークンをベアラートークンとして指定すれば、ツールを試せます。これは、MCPにおけるSwagger UIに最も近いもので、すべてのツールをスキーマ付きで一覧表示し、それぞれを対話的に呼び出すことができます。
全ツールを一覧表示(サーバーやServiceNowへの接続は不要)
.venv/Scripts/python scripts/list_tools.py # human-readable catalog
.venv/Scripts/python scripts/list_tools.py --json # machine-readable (like an OpenAPI dump)デプロイ
コンテナイメージ + Azure Container Apps。ServiceNow OAuthアプリの登録、Copilot Studioの接続、およびインフラについては、docs/DEPLOYMENT.mdを参照してください。
完全なクリック単位の手順書 — ローカルサーバーを開発トンネル経由で公開する方法、エージェントをゼロから作成する方法、2ユーザーによるACLテストを含む — は、docs/COPILOT_STUDIO_SETUP.mdを参照してください。
テスト
.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