Back to Browse

Tenable Docs MCP Server

by Lanz
Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Cited answers from Tenable's product documentation, in every product, version, and language

About

Cited answers from Tenable's product documentation, in every product, version, and language

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (3 strong, 1 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.

5 files analyzed · No issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Only download these sites' docs, such as en,jp (default: all eight)Optional

Environment variable: TDM_SITES

off turns automatic downloads and updates of the index offOptional

Environment variable: TDM_INDEX_URL

How to Install

Install command not verified. See the repository for install instructions.

View repository

Documentation

View on GitHub

From the project's GitHub README.

Tenable Docs MCP

A Model Context Protocol server that answers questions from Tenable's product documentation, with a link to the exact section that supports each answer. It covers docs.tenable.com and its seven translated sites, in every product, guide, and published version, and it runs locally as a single Go binary with an embedded SQLite index.

For questions about Tenable's APIs, use the Tenable Developer Portal MCP, which developer.tenable.com hosts. The two are complementary: this server covers the product documentation, and that one covers the API reference.

Contents

Why it exists

Tenable's documentation is large (about 21,200 pages across eight sites), versioned per product, partly translated, and structured in ways a generic web search ignores: settings tables, requirements tables, required-role statements, release-note entries, and per-guide tables of contents.

Tenable Docs MCP indexes that structure and exposes it through MCP tools, so an assistant can:

  • find the section that answers a question, in the right product, version, and language;
  • read it as Markdown, with its place in the guide and the roles it requires;
  • answer narrow questions (a setting's default, a port, a required role) from the tables the docs already contain;
  • cite a stable link to the heading, and check every link before sending the answer;
  • say plainly when the docs don't cover something.

For example, asked which ports Security Center needs open, Claude Desktop answers from the Port Requirements page and links to it:

With and without the Tenable Docs MCP shows the difference on four real questions: without it, an assistant answers from memory, and gets two of them wrong.

Features

  • Eight sites, one index. English, Japanese, Simplified Chinese, Traditional Chinese, Korean, French, German, and Spanish, each with current and older-version guides.
  • Language-aware full-text search. SQLite FTS5 with a tokenizer per language: Porter stemming for English, diacritic folding for French, German, and Spanish, and trigrams for Japanese, Chinese, and Korean.
  • Question understanding. Recognizes 22 products by current, retired, and short names (Tenable.io, Tenable.sc, Tenable.ad, NNM, PVS, and others), product versions ("Security Center 6.3"), quoted phrases, and the kind of question: how-to, what's new, or requirements.
  • Version and language fallback. Searches the version a question names, falls back to its major and minor version, then to the current version, and says so. Falls back to English when a translated site has nothing for the question, and says so.
  • Section-level citations. Pages are split at their headings, and every section carries the URL of its anchor. Translations and older versions also return the current English page with the same anchor.
  • Structured answers. Dedicated tools read settings tables, requirements tables, required-role statements, release-note entries, and glossaries.
  • Citation checking. verify_citations (and the verify-links command) checks every docs link in an answer or a draft: the page exists, the anchor is on it, and whether the link points to an older version or a translation.
  • Honest gaps. When the docs don't answer a question, report_gap records it locally and, if the user chooses, sends it to Tenable's documentation team through a form the user approves.
  • Local and private. No telemetry. The only routine network access is downloading the prebuilt index and checking it for updates once a day, or reading the docs sites when it can't be reached; both can be turned off. See Privacy and security.
  • Single static binary. Pure Go, including the SQLite driver (modernc.org/sqlite), so it builds with CGO_ENABLED=0 for Linux, macOS, and Windows on amd64 and arm64.

Install

Each release has these ways to install it. Releases are on the releases page, with a SHA256SUMS file, an SBOM, and build provenance attestations (gh attestation verify FILE --repo lanz/tenable-docs-mcp).

Claude Desktop extension

Download tenable-docs-mcp_<version>.mcpb from the release, and open it, or drag it onto Claude Desktop's Settings > Extensions. Claude Desktop installs it and adds the server; there's nothing to configure. The extension holds a binary for each platform: a universal macOS binary for Apple silicon and Intel, Windows (x64, which Windows on Arm runs too), and Linux (x64).

A binary

Download the archive for your platform (macOS, Linux, or Windows; x64 or Arm), unpack it, and put tenable-docs-mcp somewhere on your path. Then set up your client (see Connect it to an MCP client); tenable-docs-mcp config prints the settings.

A container image

docker run -i --rm --mount type=volume,src=tenable-docs-mcp,dst=/data ghcr.io/lanz/tenable-docs-mcp

The image runs the server over stdio, as a user without privileges, and keeps the index (and any recorded questions) in the volume, so it's downloaded once rather than on every start. For a client, use docker as the command and the rest as its arguments. The image is built for x64 and Arm Linux.

The MCP Registry

The server is listed in the MCP Registry as io.github.lanz/tenable-docs-mcp, with the extension and the container image, so clients and directories that read the registry can install it.

From source

With Go 1.26 or later:

go install github.com/lanz/tenable-docs-mcp/cmd/tenable-docs-mcp@latest

Or build a clone with go build ./cmd/tenable-docs-mcp. A build from a clone reports a version from its commit, such as v0.0.0-20261107200239-5f52e6e8e77f; go install …@vX.Y.Z reports the release.

Updating

The documentation index updates itself every day, whatever version of the server you run. A new release of the server brings new features and fixes; the server tells you when one is out. The daily index download names the newest release, so the server finds out without asking anyone else, and then:

  • index_status and the tenable-docs://status resource include an update with the new version and its link,
  • tenable-docs-mcp version and tenable-docs-mcp doctor print a line about it, and
  • your assistant is told, once per session, so it can pass it on.

To update, install the new release the way you installed this one:

Installed withUpdate by
The Claude Desktop extensionDownloading the new .mcpb from the release and opening it
A release archiveDownloading the new archive and replacing the binary
go installRunning go install github.com/lanz/tenable-docs-mcp/cmd/tenable-docs-mcp@latest again
The container imagedocker pull ghcr.io/lanz/tenable-docs-mcp

The server never updates itself. Prereleases aren't announced, and a build from a clone doesn't report updates.

Getting an index

There's nothing to set up. The first time the server starts, it downloads the prebuilt index snapshot from https://docs.tenable.com/mcp/index/v1/ in the background and builds the local index from it: about 21,200 pages in 13 shards, 12 MB to download, and a local index of about 380 MB, in under a minute. Until it's done, index_status reports downloading, and the search and reading tools say the index is downloading.

After that, the server checks for an update once a day. Only shards whose files changed are downloaded and rebuilt, and each is swapped in whole, so searches keep working during an update. A failed check is retried an hour later, or after five minutes while the index is still empty. index_status shows when the index was last checked, when the snapshot was built, and the last error, if any.

To download or update the index without starting the server, run tenable-docs-mcp index pull.

When the prebuilt index can't be reached

If a check for an update fails, for example because a proxy blocks the download or a newer snapshot format needs a newer version of the server, the server reads the live docs sites instead, at most once a day, and keeps going until the prebuilt index can be downloaded again. Then it replaces what it read.

  • A site the index has nothing for is read in full, as the snapshot is built: its sitemap, robots.txt, every page, and each guide's table of contents. It's built beside the index and swapped in when it's done. At the polite request rate (see Limits on traffic), all eight sites take about an hour, and Spanish alone under a minute.
  • After that, each read compares the sitemap with the index. It fetches pages that are new or whose sitemap date changed, and removes pages the sitemap no longer lists or robots.txt now disallows. Sitemap dates can lag behind the pages, so it also checks a seventh of the other pages with conditional requests, which cost a 304 when nothing changed; over a week, every page is checked. For all eight sites, that's about 3,000 requests a day, which take about 10 minutes.
  • A page that redirects is recorded, so a link to its old address finds the new one. A sitemap entry that isn't a page is remembered, and fetched again only when its sitemap date changes.
  • A sitemap that leaves out more than a fifth of a site's pages looks broken, so nothing is removed, and the read reports it.
  • The index's change history records what each read added, updated, and removed.

index_status says when the index is kept up to date from the live sites, and when it was last read. tenable-docs-mcp index crawl does the same from the command line, and builds an index from the live sites without the prebuilt one.

Pages that are new since the last update

When read_doc, outline, or related_pages is given a docs page the index doesn't have, the server first follows any redirect a read of the live sites recorded, and otherwise fetches the page from its live site (if robots.txt allows it), adds it to the index, and answers from it. Hosted mode doesn't.

Other ways to build the index
  • tenable-docs-mcp index import SNAPSHOT builds the index from a snapshot folder on disk.
  • tenable-docs-mcp index build -source … builds from local copies of the sites' published files, one folder per site. Most users won't have these.
Settings
VariableEffect
TDM_INDEX_URLoff turns automatic downloads and updates off. Any other value is the https:// address of a snapshot folder to use instead of the one on docs.tenable.com.
TDM_CRAWLoff turns off reading the live sites when the prebuilt index can't be reached, and fetching new pages on demand. The default is on.
TDM_SITESOnly download or read these sites, such as en,jp (default: all eight). -sites on index pull and index crawl does the same for one run.
TDM_SYNONYMSThe file of your own synonyms, instead of synonyms.txt in the settings folder (see Synonyms).
NO_COLORAny value turns off color in the help, doctor, and the launch screen. Color is used only in a terminal, and never when TERM is dumb.

Connect it to an MCP client

The server speaks MCP over stdio, so a client runs it as a command. Connecting MCP clients has a guide for each client, each setting this server up beside the Tenable Developer Portal MCP:

ClientWhere the settings go
Claude DesktopThe .mcpb extension, or claude_desktop_config.json
Claude Codeclaude mcp add
VS Codemcp.json
Cursor~/.cursor/mcp.json
Devin Desktop (formerly Windsurf)~/.config/devin/mcp_config.json
Gemini CLIgemini mcp add, or ~/.gemini/settings.json
Codex~/.codex/config.toml

tenable-docs-mcp config prints each client's settings with this binary's path already in them and quoted correctly; -client picks one, and -index adds an index folder. It only prints, and never edits a client's files. tenable-docs-mcp doctor checks that everything the server needs is in place.

For example, in Claude Code:

claude mcp add --scope user tenable-docs -- /path/to/tenable-docs-mcp
claude mcp add --scope user --transport http tenable-developer https://developer.tenable.com/mcp

Other clients

Any MCP client that launches stdio servers works the same way. Over stdio, standard output carries only protocol messages, and diagnostics go to standard error.

To use an index somewhere other than the default folder, pass it as arguments, or set TDM_INDEX_DIR in the server's environment. TDM_INDEX_URL and TDM_SITES (see Getting an index) go in the same env block:

{
  "mcpServers": {
    "tenable-docs": {
      "command": "/path/to/tenable-docs-mcp",
      "args": ["serve", "-index", "/path/to/index"]
    }
  }
}

Streamable HTTP

For a client on the same machine that prefers HTTP:

tenable-docs-mcp serve -http 127.0.0.1:8080

The server listens at http://127.0.0.1:8080/mcp, with a health check at /healthz. It accepts only loopback addresses (127.0.0.1, ::1, or localhost) and refuses to start on any other, unless it's a hosted server; see HTTP server hardening. In Claude Code, for example:

claude mcp add --transport http tenable-docs http://127.0.0.1:8080/mcp

The companion skill

The server's own instructions tell an assistant to search before answering. skills/tenable-docs/SKILL.md goes further: it's an Agent Skill that teaches the assistant how to answer from the docs. It covers:

  • searching first, and rephrasing two or three times before saying the docs don't cover something
  • reading the section before answering, and choosing the specific tools (settings, roles, requirements, release notes, terms) when they fit
  • giving the documented steps in order, with the section's link and the required role
  • saying which product, version, and language an answer is for, and asking when that's ambiguous
  • checking the answer's links with verify_citations before sending it
  • offering report_gap when the docs don't answer, and the page's feedback form when a page looks wrong, with the user writing their own feedback
  • sending API questions to the Tenable Developer Portal MCP
  • with the Tenable Hexa AI MCP connected, offering to do the task, and doing it only when the user says yes

To install it in Claude Code, copy the skills/tenable-docs folder into ~/.claude/skills/ (every project) or .claude/skills/ in a project. Claude Code loads it when a question is about a Tenable product. Clients that support Agent Skills from a ZIP file, such as Claude Desktop and claude.ai, take the folder zipped.

Tools

The server registers 18 tools. Each returns structured output (with a JSON schema) and a short text summary for the assistant. The search and reading tools are annotated read-only and idempotent. Most are closed-world, reading only the local index; read_doc, outline, and related_pages are open-world, because for a page the index doesn't have, they can fetch it from its live site (see Pages that are new since the last update).

Search and read

ToolWhat it doesMain inputs
search_docsRanked sections that answer a question, each with its link, a snippet with matched words marked «like this», product, guide type, version, language, location, last-modified date, and required roles. Also returns same-titled pages in other products (also_in), spelling suggestions when nothing matches, and the products that do match when a product filter excluded everything.query, plus optional product, guide_type, guide, version, language, release_notes, required_role, and limit (1 to 25, default 8)
read_docA section (link with #anchor) or a whole page (link without one) as Markdown, starting with a header that gives its location, product, version, required roles, source URL, and update date. Long content comes in parts. Returns the previous and next sections, and the page in other languages and versions.url, part, and max_chars (1,000 to 30,000, default 8,000)
outlineA page's headings with links and word counts, or a guide's pages from its table of contents.url or guide, and language
browse_guideA guide's name and table of contents in reading order, with depths, links, and counts of entries below the depth shown.guide (a path such as nessus/10_8, or any page's URL), language, and depth (1 to 10, default 3)
related_pagesA page's parent, previous, and next entries in its table of contents; the docs pages it links to and that link to it; same-titled pages in other products; and the page in other languages and versions.url
list_productsEvery product and language in the index, with page counts, each product's English guides with their names and older versions, and when each language was last indexed.none

Specific questions

ToolWhat it doesMain inputs
find_settingA setting's description, default, valid values, and whether it's required, from the docs' settings tables. Rows that give a default rank higher.query, product, version, and limit (1 to 20, default 5)
required_roleThe roles and permissions the docs say a task needs, by page. When no matching page states a role, it says so and lists the closest pages.task, product, version, and language
requirementsRows from requirements tables: ports, hardware, operating-systems, browsers, dependencies, or other. Infers the kind and product from a question such as "Security Center hardware for 10,000 hosts".product, kind, query, version, and limit (1 to 100, default 30)
release_notesRelease-note entries, newest first, filtered by product, date range, version (10.8 matches 10.8.1), and words.product, since, until (YYYY, YYYY-MM, or YYYY-MM-DD), version, query, language, full, and limit (1 to 50, default 10)
compare_versionsHow a page, or a setting, differs between two versions of an on-premises product: the sections that changed, were added, or were removed, with the lines that differ, or how a setting's default, values, and description changed. A line that changed is shown once, with [-removed words-] and {+added words+}, so a change deep in a long table row is still visible. Each section shows its first few changed lines; heading shows every one in a single section. Links to the same page in each version don't count as changes.url (a page in any version) or setting (with product), from_version, to_version (default: the current version), and heading (with url)
whats_changedThe pages added, updated, or removed since a date, newest first, with the sections each update changed. See Change history.since (2026-10-01, 2026-10, or 30d), product, guide, language, and limit (1 to 100, default 20)
define_termGlossary definitions (abbreviations also match by initials, so NVD finds National Vulnerability Database), what a product name refers to, including retired names, and the term's synonyms.term and language

find_setting and requirements read English pages, because they recognize tables by their English column headings. For a question in another language, they say so in their notes.

Citations, gaps, feedback, and the index

ToolWhat it doesNetwork
verify_citationsChecks every docs link in an answer or draft (Markdown, HTML, or plain text, up to 200,000 characters). See Citations and verify_citations.Only with check_live
report_gapRecords a question the docs didn't answer in a local file only the user can read. If the client can show forms, it then offers the user a form to send the question to Tenable's documentation team.Only if the user accepts the form
open_feedback_formShows the user a feedback form for a docs page. The assistant chooses only the page and whether the user found it helpful; the user writes the comment, and there's no argument for one.Only if the user accepts the form
index_statusThe server's version, Go version, index folder, and each shard's pages, sections, schema version, build time, and last-indexed time; the automatic updates: where they come from, the last check, when the snapshot was built, any update in progress, and the last error; and whether a newer release of the server is available.No
refresh_indexUpdates given pages (up to 500), or every page of a guide and its table of contents, from the live sites. Reports checked, updated, unchanged, removed, and skipped pages, with progress notifications when the client asks for them.Yes

Prompts, resources, and completions

Prompts

Each prompt expands into instructions that name the tools to use and end with the same rules: cite the links used, check them with verify_citations, state the product and version, and say when the docs don't cover something.

PromptUse it toArguments (required in bold)
how-toGet the docs' steps for a task, with the role it needs and what to do firsttask, product, version, guide_type, language
explain-settingExplain a setting: what it does, its options and default, where it is, and when to change itsetting, product, version, language
troubleshootFind likely causes and fixes for a problem or error message, including known issues in release notesproblem, product, version, language
whats-newSummarize a release: features, changes, fixes, known issues, and removalsproduct, version, language
who-canFind the role or permissions an action needsaction, product, version, language
upgrade-checkList what changes between two versions: requirements, deprecations, defaults, upgrade paths, and known issuesproduct, from_version, to_version, language
fact-checkCheck a reply or draft against the docs: what's right, wrong, out of date, or unsupportedtext, question

Resources

URIContent
tenable-docs://statusThe index status as JSON, as index_status reports it
tenable-docs://page/{+doc_id}A whole page as Markdown, where doc_id is its URL without https://, such as docs.tenable.com/nessus/Content/GettingStarted.htm
tenable-docs://guide/{+guide}/toc{?language}A guide's table of contents as a nested Markdown list of links, such as tenable-docs://guide/security-center/6_8/toc

When the index has English pages at startup, the server also lists one toc/<guide> resource for each current English guide, so clients can offer them in a picker.

Completions

The server implements MCP completion for prompt arguments and resource template variables:

ArgumentCompletes to
productProduct names
languageSite codes: en, jp, zh-cn, zh-tw, kr, fr, de, es
guideGuide paths in the given language, current guides first, then older versions
guide_typeGuide types in the English index, such as User Guide and Release Notes
version, from_version, to_versionOlder versions in the index, newest first, narrowed to the given guide or product

Values that start with the typed text come first, then values that contain it, up to 100.

How a question becomes a cited answer

flowchart LR
    subgraph Build["Index build (index build / index import)"]
        A[Sitemap and robots.txt] --> B[Page HTML]
        B --> C[Parser: sections, anchors,<br/>metadata, tables, links, roles]
        T[Guide tables of contents] --> C
        C --> D[Extractors: settings, requirements,<br/>release notes, glossary]
        D --> E[(SQLite shard per language<br/>and version set, with FTS5)]
    end
    subgraph Query["At question time"]
        Q[Question] --> L[Language and version detection,<br/>products, intent, terms]
        L --> F[FTS5 candidates, bm25]
        E --> F
        F --> R[Rerank and group]
        R --> S[search_docs results]
        S --> RD[read_doc section]
        RD --> V[verify_citations]
    end

Parsing pages

A build reads each site's robots.txt and Sitemap.xml, skips entries that robots.txt disallows or that aren't HTML pages (PDFs, for example), and parses the rest:

  • Content. The page's main content element is rendered to Markdown: headings, lists, tables, code blocks, and links. Notes, tips, cautions, and warnings become block quotes; drop-downs are expanded; inline popups appear in parentheses; icons become their names in brackets, as the text reads them ("select the [more] button"). Navigation, scripts, buttons, and other page chrome are left out. Nesting deeper than 200 elements is read as plain text, so hostile input can't exhaust the stack.
  • Sections and anchors. A page is split at its level-2 headings (including paragraphs styled as headings, which many translated pages use). A section larger than 6,000 bytes is split again at its level-3 headings. Each section keeps its heading's anchor, its URL (page.htm#anchor), and the trail of headings above it.
  • Metadata. Title, description, and language come from the page; product, product version, and guide type from its meta tags; products and guide type also from the sitemap, which is the fuller source. A page listing more than three products (a glossary, say) gets no single product. Tenable Core pages belong to Tenable Core, with the product the appliance runs as a related product.
  • Guides and versions. A page's guide is the part of its path before /Content/. A path segment such as 10_8 marks an older version (10.8); those pages go into the language's older-version shard. Each guide's table of contents is read once per build and gives every page its place ("location") in the guide.
  • Required roles. Statements such as "Required User Role: Administrator or Custom Role" are kept as label and text, and on English pages the roles are split into a list.

Extracting structured data

ExtractorHow it recognizes its data
SettingsTables whose first column names options, settings, parameters, fields, arguments, flags, variables, properties, attributes, preferences, or keys, with a description or default column. Default, valid values, and required columns are read by their headings; other columns are kept as labeled fields.
RequirementsTables classified by their column headings as ports, hardware, operating systems, browsers, or dependencies, plus other tables in sections about requirements, prerequisites, support, or compatibility. Message and error-code tables are excluded.
Release notesPages in the release notes guide, split into entries at level-2 headings that carry a date or version number. Dates are read in English, French, German, and Spanish month formats, ISO dates, and Japanese, Chinese, and Korean year-month-day formats.
GlossaryGlossary entries with their anchors, and two-column tables of terms (or acronyms) and definitions.
LinksLinks to other docs pages, without fragments, for related_pages.

The per-language full-text indexes

Each shard is one SQLite database with FTS5 virtual tables over its sections and settings. The tokenizer depends on the site's language:

SitesFTS5 tokenizerWhy
enporter unicode61 remove_diacritics 2Stemming matches "configure", "configuring", and "configured"
fr, de, esunicode61 remove_diacritics 2Accent-insensitive word matching
jp, zh-cn, zh-tw, krtrigram remove_diacritics 1No spaces between words, so match on character trigrams

A section is indexed with four columns, weighted for bm25: page title (10), section heading (6), location in the guide (3), and body (1). Japanese, Chinese, and Korean words of two characters are too short for trigrams; they're matched as substrings alongside the full-text query.

Reading the question

Before searching, the question is parsed:

  • Language. The language argument wins. Otherwise kana means Japanese, Hangul means Korean, and Chinese characters alone mean Simplified or Traditional Chinese, decided by characters that differ between the scripts. Latin-script questions are French, German, or Spanish when those languages' common words and accents outnumber English ones; anything else is English.
  • Products. Product names and aliases are matched longest first ("Nessus Network Monitor" before "Nessus"), so "Tenable.sc", "tsc", and "Security Center" all mean Security Center. Short aliases that are also ordinary words, such as SC and WAS, match only in capitals; the synonyms catch phrases such as "was scan".
  • Version. A version such as 6.3 or 10.8.1 is taken when it's next to a product name or written as "version 6.3" or "v6.3", and not when it's part of a longer dotted number such as an IP address.
  • Intent. Patterns in English and in the translated sites' languages mark a question as what's new, requirements, or how-to, and note whether it's about installing.
  • Synonyms. When the question contains a term that customers use and the docs don't, such as "whitelist" for "allow list" or "tcpdump" for "packet capture", it's also searched with the docs' term in its place, and the results are merged. The response's notes say which terms were added. See Synonyms.
  • Terms. Quoted phrases are searched as written. Filler words are dropped in English, French, German, and Spanish; product names and the version are removed from the terms; and split compounds are joined ("back up" becomes "backup", "log in" becomes "login"). Japanese and Chinese text is split at function words and, for Japanese, at changes between katakana, hiragana, and kanji; Korean words lose their particles.

Synonyms

internal/search/synonyms.txt, built into the binary, lists groups of terms that mean the same: a word customers search with, and the word the docs use. A search that contains one of a group's terms, as whole words, is also run with each of the group's other terms in its place, up to six rewordings. The best sections from all the searches are kept, and results in another language aren't mixed in. Groups work in both directions, and a term can be a phrase: "was scan" means Web App Scanning, where "was" alone is an ordinary word. define_term lists a term's synonyms, too.

You can add your own groups in synonyms.txt in the tenable-docs-mcp settings folder (~/.config on Linux, ~/Library/Application Support on macOS, %AppData% on Windows), or in the file TDM_SYNONYMS names. Write one group per line, its terms separated by commas; lines starting with # are comments:

# Our team's words
vuln, vulnerability
scan window, scan schedule

The server reads the file when it starts. If a line can't be read, the server says so on standard error and uses the built-in groups alone.

Ranking

  1. Candidates. The shard returns up to 120 sections that contain every term, ranked by bm25 with the column weights above. When few sections have every word (fewer than 30 for a question of three or more words), sections that miss one word are added at a penalty, so one stray word ("open", "need") doesn't hide the answer. When nothing matches, any of the words will do, and the result is marked relaxed. When the question names a product and none of the results are for it, the search runs again within that product, since words its pages don't use ("rolling out") can otherwise keep them out; the notes say so.

  2. Rerank. Each candidate's score is multiplied by boosts:

    SignalFactor
    The page's product is one the question names1.8
    A related product is one the question names1.25
    The question names the page's guide (Director, Enterprise Manager)1.6
    Share of the question's words in the page titleup to 1.8
    The title is the question's words, give or take two1.3
    How-to question, on a user guide1.3
    How-to question, on release notes, studies, or white papers0.7
    What's-new question, on release notes2.2 (0.75 otherwise)
    What's-new question, on the newest year's release notes1.6 (0.8 for older years)
    Requirements question, on a page with requirements tables1.7, and 1.3 more if the title says requirements
    Install question (not already a requirements question), on a page with requirements tables1.15
    Section missing one of the question's words0.6
  3. Group. At most two sections per page are kept. Pages with the same title in another product or guide are folded into the first one's also_in list rather than filling the results.

  4. No results. The response suggests respellings (the closest indexed words within one or two edits, from a vocabulary of words seen at least twice) and lists the products that do match when a product filter excluded everything.

Versions and languages

  • A question that names a version searches the language's older-version shard for that exact version, then for its major and minor version (6.3.1 finds 6.3), then the current docs, with a note saying it fell back. A what's-new question turns the version into a search term instead, because release notes aren't split into versioned guides.
  • When a translated site has nothing for the question, or has matches only for products other than the one named, the search runs again on the English site and notes that the results are in English. Chinese questions without an explicit language also try the other Chinese script and Japanese first.
  • Every result lists the same page in other languages and versions. For a translation or an older version, english_url is the current English page with the same anchor, which is the link to cite.

Citations and verify_citations

verify_citations and tenable-docs-mcp verify-links share one checker. It finds Markdown links, href attributes, and bare docs URLs (with or without https://), resolves relative links against base_url when one is given, and counts links to other sites, files, and unresolved relative links as skipped. Each docs link gets a status:

StatusMeaningBroken
okThe page is in the index, and its anchor is one of the page's headingsNo
older_versionThe page is for an older version; current_url is the current oneNo
translationThe page is a translation; english_url is the current English pageNo
anchor_unknownThe anchor isn't a heading; it may be on a smaller element. When a heading's anchor matches in another case, the checker suggests it: browsers match anchors exactlyNo
anchor_missingA live check found no element with that id or nameYes
movedA live check found that the site redirects the linkNo
not_foundThe page isn't in the index, or, with a live check, on the siteYes
not_indexedThe index has no docs for that language or version setNo

Documentation truncated — see the full README on GitHub.

Reviews

No reviews yet

Be the first to review this server!