Logo: Servicenow Docs Mcp

Servicenow Docs Mcp

Organisatioun
Happy-Technologies-LLC
servicenow-docs-mcp

Add or maintain ServiceNowDocs search capabilities in Happy Platform MCP, including live GitHub lookup, optional local SQLite FTS indexing, and optional vector search

Iwwersiicht

EditeurHappy-Technologies-LLC
Repositoryhappy-platform-skills
Skill-Nummservicenow-docs-mcp
Stären
41
Forks
14
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Happy-Technologies-LLC huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Servicenow Docs Mcp an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/Happy-Technologies-LLC/happy-platform-skills/tree/main/skills/development/servicenow-docs-mcp
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Happy-Technologies-LLC/happy-platform-skills.git /tmp/happy-platform-skills
mkdir -p .claude/skills
cp -r /tmp/happy-platform-skills/skills/development/servicenow-docs-mcp .claude/skills/servicenow-docs-mcp
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Servicenow Docs Mcp an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Servicenow Docs Mcp automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Servicenow Docs Mcp net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

ServiceNowDocs MCP Search

Overview

This skill covers adding and maintaining ServiceNow documentation search in Happy Platform MCP using the public ServiceNow/ServiceNowDocs GitHub repository.

Use it when a user asks to:

  • Add ServiceNow documentation lookup to Happy Platform MCP
  • Sync, cache, or localize ServiceNowDocs content
  • Search ServiceNow docs from MCP tools
  • Add SQLite FTS5, sqlite-vec, embeddings, or vector search to the MCP docs capability
  • Troubleshoot the five documentation tools
  • Decide between QMD, GitHub search, SQLite FTS, or vector indexing for ServiceNow docs

For installing the MCP server itself, use development/mcp-server-installation. For general MCP server design, use development/mcp-server.

Prerequisites

  • Happy Platform MCP source checkout
  • Node.js >= 20
  • Network access to https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs for live mode or sync
  • Optional better-sqlite3 support only when local indexing is enabled
  • Optional embedding provider only when vector search is enabled

v6.1 Docs-Only Bootstrap

When no registry/config and no legacy environment credentials are present, the stdio server automatically falls back to docs-only mode. Force this mode with HAPPY_MCP_DOCS_ONLY=true. The 6.1.0 --docs-only argument does not force docs-only mode, does not override a registry that already exists, and must not be used for this workflow.

Docs-only mode exposes SN-Docs-Families, SN-Docs-Status, SN-Docs-Sync, SN-Docs-Search, and SN-Docs-Get, plus SN-Register-Instance. SN-Register-Instance is metadata-only and rejects secret fields. A normal live server reloads the registry after a successful registration; restart a docs-only process before expecting live ServiceNow tools.

Credential-backed bootstrap has a 6.1.0 ordering constraint: registration expects a credential reference, but the local credential-set command expects the instance name to exist. Use local interactive happy-platform-mcp instance add for Basic, OAuth client_credentials, and OAuth password registrations. Direct registration is reliable for public authorization_code, or when an administrator has created externally preprovisioned deterministic keychain refs. Never ask a user or agent to put credential material in the tool call.

Upgrading Docs Settings from 5.x

Since 6.0, docs requests are unauthenticated and fetch only from raw.githubusercontent.com/ServiceNow/ServiceNowDocs, without following redirects, and accept only families and branches listed in its main/llms.txt. Remove GITHUB_TOKEN and docs.githubToken settings; authenticated docs retrieval is not supported. Existing local docs caches are discarded on first open, so re-run SN-Docs-Sync for each family you need offline.

Procedure

Step 1: Keep Live GitHub Lookup as the Default

The default docs mode should not require local storage, SQLite, embeddings, or QMD. Agents should be able to list docs families and fetch raw docs directly from GitHub using SN-Docs-Families and SN-Docs-Get.

Default behavior:

text
localIndexEnabled: false
enableVector: false
embeddingProvider: none

Use live GitHub access for:

  • First-run experience
  • Lightweight installs through npx happy-platform-mcp
  • Docker images without persistent volumes
  • Users who only need exact document retrieval

Step 2: Make Local SQLite FTS Optional

Use SQLite FTS5 for offline or faster text search, but never make SQLite a startup requirement.

Implementation rules:

  • Put SQLite packages such as better-sqlite3 in optional dependencies.
  • Load SQLite lazily from the docs store module.
  • If SQLite is unavailable and local indexing is disabled, startup must still succeed.
  • If local indexing is requested and SQLite is unavailable, return a clear setup message from the docs tools.
  • Store local index files in a configurable cache directory, not inside the repo by default.

Recommended config shape:

json
{
  "docs": {
    "localIndexEnabled": false,
    "cacheDir": "~/.happy-platform-mcp/docs/servicenow",
    "enableVector": false,
    "embeddingProvider": "none"
  }
}

Recommended environment variables:

bash
HAPPY_DOCS_ENABLE_LOCAL_INDEX=false
HAPPY_DOCS_CACHE_DIR=
HAPPY_DOCS_ENABLE_VECTOR=false
HAPPY_DOCS_EMBEDDING_PROVIDER=none

Step 3: Treat Vector Search as Provider-Gated

Vector search is useful for semantic lookup, but it should be opt-in and provider-gated.

Use this pattern:

  • Keep enableVector false by default.
  • Support a no-op vector adapter when no provider is configured.
  • Require an explicit embedding provider and credentials before generating embeddings.
  • Keep FTS search usable without embeddings.
  • Avoid silently calling hosted embedding APIs from a default install.

Step 4: Avoid QMD in Product Runtime

QMD can be useful for personal experimentation or offline training workflows, but it should not be required by Happy Platform MCP.

Prefer:

  • Raw GitHub content from the pinned ServiceNow/ServiceNowDocs origin for live reads
  • SQLite FTS5 for optional local keyword search
  • sqlite-vec or a compatible vector adapter for optional semantic search
  • Simple chunking for markdown sections and headings

Do not add a mandatory QMD dependency to product startup, Docker images, or npm install.

Step 5: Expose MCP Tools with Graceful Degradation

Docs tools should report capability state instead of failing mysteriously.

Expected tool behavior:

ToolLocal Index DisabledLocal Index Enabled
SN-Docs-FamiliesList families from GitHubList families from GitHub or cache
SN-Docs-GetFetch raw doc from GitHubFetch raw doc from GitHub or cache
SN-Docs-SearchReturn setup hintSearch SQLite FTS index
SN-Docs-SyncReturn setup hintSync GitHub docs into SQLite
SN-Docs-StatusReport disabled indexReport DB, sync, and vector status

Step 6: Verify Optionality

Before shipping, verify both online and offline-adjacent paths:

bash
npm test
docker build .

Also run a no-SQLite smoke check by temporarily removing or hiding better-sqlite3 from node_modules and confirming that:

  • MCP server startup still succeeds
  • SN-Docs-Families works
  • SN-Docs-Get works
  • SN-Docs-Status reports SQLite availability accurately
  • SN-Docs-Search returns an enable-local-index hint instead of crashing

Tool Usage

ToolPurposeWhen to Use
SN-Docs-FamiliesList available ServiceNow docs familiesDiscovery and choosing a docs branch/family
SN-Docs-GetFetch a specific docs markdown fileDirect citation or inspection
SN-Docs-SearchSearch local FTS docs chunksOffline or faster text search
SN-Docs-SyncBuild or refresh the local docs indexUser explicitly enables local docs
SN-Docs-StatusInspect docs config and capability stateTroubleshooting setup

Best Practices

  1. Keep the first-run MCP experience live and lightweight.
  2. Make offline/local docs an explicit user choice.
  3. Put MCP runtime properties in local env/config, not ServiceNow sys_properties.
  4. Do not commit generated SQLite databases or synced docs caches.
  5. Chunk markdown by headings so search results point agents toward useful sections.
  6. Return source metadata such as family, path, heading, and GitHub URL with search results.
  7. Keep vector search additive; FTS should remain the dependable baseline.
  8. Include tests for disabled, missing-dependency, and enabled-index states.

Troubleshooting

IssueCauseResolution
Docs tools crash on startupSQLite loaded eagerlyLazy-load SQLite only when local index is enabled
SN-Docs-Search returns setup hintLocal index is disabledEnable HAPPY_DOCS_ENABLE_LOCAL_INDEX=true or use live SN-Docs-Get
Sync fails against GitHubRate limit, network issue, or a family/branch not listed in main/llms.txtRetry later and pick a family from SN-Docs-Families; do not add a GitHub token, which 6.x does not send
Docker image grows unexpectedlySynced docs or DB copied into imageKeep cache paths outside repo and add generated files to ignore rules
Embedding calls happen unexpectedlyVector provider enabled by defaultDefault provider to none and require explicit opt-in

Related Skills

  • development/mcp-server - General MCP server design
  • development/mcp-server-installation - Happy Platform MCP installation
  • genai/ai-search-rag - ServiceNow AI Search and RAG configuration
  • development/debugging-techniques - Troubleshooting ServiceNow and integration issues

Heefeg gestallte Froen

Wat mécht de KI-Skill Servicenow Docs Mcp?

Add or maintain ServiceNowDocs search capabilities in Happy Platform MCP, including live GitHub lookup, optional local SQLite FTS indexing, and optional vector search

Firwat Servicenow Docs Mcp op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Servicenow Docs Mcp besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Servicenow Docs Mcp an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Happy-Technologies-LLC/happy-platform-skills/tree/main/skills/development/servicenow-docs-mcp an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Servicenow Docs Mcp benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Servicenow Docs Mcp benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Servicenow Docs Mcp domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Servicenow Docs Mcp gratis?

Jo. Happy-Technologies-LLC huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇