servicenow-knowledge-mcp
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-knowledge-mcpSearch for knowledge articles about password reset"
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 Knowledge MCP
A deterministic, read-only FastMCP integration for ServiceNow Knowledge retrieval. It performs no answer generation, summarization, semantic reranking, vector search, or document parsing.
Architecture
AI platform / MCP client
↓
FastMCP server
↓
KnowledgeService
↓
ServiceNowKnowledgeClient
↓
ServiceNow Knowledge Management REST APIThe client centralizes authentication headers, endpoint construction, field selection, bounded transient retries, timeout/error mapping, JSON normalization, and binary attachment limits. Credentials, authorization headers, article content, and attachment bodies are not logged.
Related MCP server: ServiceNow MCP Server
Tool mapping
search_knowledge
→ GET /knowledge/articles
get_knowledge_article
→ GET /knowledge/articles/{id}
get_knowledge_attachment
→ GET /knowledge/articles/{article_sys_id}/attachments/{attachment_sys_id}search_knowledge preserves ServiceNow result ordering and returns compact candidates. It does not claim semantic, vector, AI, or full-text behavior. get_knowledge_article returns the selected canonical article and useful validity metadata. get_knowledge_attachment returns bounded binary data as base64 because structured MCP output is JSON-compatible; callers must decode it, and no parsing or OCR is performed.
Development
python -m venv .venv
source .venv/bin/activate
pip install -e '.[dev]'
cp .env.example .env
pytest
ruff format --check src tests
ruff check src tests
mypy src
servicenow-knowledge-mcpThe default network transport is stateless Streamable HTTP at http://localhost:8080/mcp. Set TRANSPORT=stdio for a locally spawned MCP client.
Container build:
docker build -t servicenow-knowledge-mcp .
docker run --env-file .env -p 8080:8080 servicenow-knowledge-mcpConfiguration
All settings are shown in .env.example. SERVICENOW_BASE_URL is required at runtime. SERVICENOW_ACCESS_TOKEN supplies the integration identity token. Search and article field selections are centralized in SERVICENOW_SEARCH_FIELDS and SERVICENOW_ARTICLE_FIELDS so verified standard or custom fields can be adopted without modifying the client.
The default API path and query parameter names are implementation assumptions that must be checked against the selected ServiceNow Knowledge Management API version. Search can be scoped with configured or per-tool Knowledge Base and language values. The requested result limit, article content length, attachment bytes, timeout, and transient retries are bounded.
Authorization boundary
An integration identity does not by itself prove that an end user's Knowledge permissions are enforced. The authenticator accepts an internal authorization context so a confirmed delegated mechanism can be added without redesigning the client, but the MCP tools do not invent or accept a delegated credential today.
Open security question: when the MCP calls ServiceNow using an integration identity, are Knowledge Base ACLs, User Criteria, roles, group membership, and article-level restrictions evaluated only against the integration identity, or can the end-user authorization context be propagated and enforced?
Production use must not proceed until the applicable entitlement contract is confirmed and tested.
Assumptions and open questions
The traceable Epic, Stories, Tasks, assumptions, and unresolved integration questions are maintained in docs/implementation-plan.md. Important unresolved items include:
What search/indexing/ranking capability backs the
queryparameter, and does it match the Knowledge UI?Which Knowledge Bases, languages, and publication states are in scope?
How will end-user authorization be enforced when an integration identity is used?
Which standard or custom field contains canonical article content?
Which fields are required for audience, validity, publication, citation, and freshness?
What authentication mechanism, API version, rate limits, and throughput apply?
Which non-production environment and representative retrieval-quality fixtures are available?
This 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 Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables Claude to interact with ServiceNow instances for incident management, service catalog operations, change requests, knowledge base management, user administration, and agile project workflows through various authentication methods.
- 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.344MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to interact with ServiceNow instances for data retrieval, record management, and workflow execution via the ServiceNow API.MIT
- FlicenseAqualityBmaintenanceEnables searching ServiceNow's public best-practices library across content types without authentication.2
Related MCP Connectors
Knowledge coverage map and health score. Ingest docs into a governed knowledge graph via MCP.
Search your knowledge bases from any AI assistant using hybrid RAG.
Curated knowledge API for AI agents - skill packs, semantic search, validated patterns.
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/Xingyuj/SnowMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server