Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SN_LOG_DIRNoOverride the log file directory.
GITHUB_TOKENNoGitHub Personal Access Token for sn_read_docs (branch lookup and GitHub search).
LOGS_TIMEZONENoIANA timezone for log timestamps (CURRENT, GLOBAL, or a named zone).CURRENT
SN_MCP_VERBOSENoSet to 'true' to enable debug logs.false
SN_INSTANCE_CONFIGNoPath to the sn-instance.json configuration file.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
sn_read_docsA

Access the official ServiceNow AI Platform documentation from https://github.com/ServiceNow/ServiceNowDocs — pure markdown, optimised for LLM use.

IMPORTANT: Never fetch servicenow.com/docs — it is a JS SPA with no readable content.

Three execution modes: get_index — Fetch llms.txt (full release index) so you can study the layout and navigate on your own. Pass 'publication' to drill into one area's TOC. search — Pass a keyword to find relevant topics across all publications and supplement the results with GitHub code search in the ServiceNowDocs repo. Returns file_url and file_path values ready for get_file. get_file — Directly read any doc file when you know the path or URL (after reading an index or following a relative markdown link).

Version resolution (fully dynamic — zero hard-coded branch names): • Pass 'version' with a release name (e.g. 'Xanadu', 'Zurich', 'Australia'). • Default branch is fetched live from GitHub API — always correct, zero maintenance. • Valid branches come from llms_template.txt in the repo — the authoritative list. • Matching is case-insensitive and fuzzy against that live list. • Unknown/mistyped versions fall back to the default branch with a clear notice.

Recommended workflow:

  1. mode='get_index' → understand what's available

  2. mode='get_index', publication='api-reference' → browse a specific area

  3. mode='get_file', file_url='<url from step 2>' → read the doc OR: mode='search', search='GlideRecord' → find topics by keyword

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/ImJaineel/SN-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server