contextqmd-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CONTEXTQMD_API_TOKEN | No | API token for authenticated ContextQMD registry endpoints. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Local-first docs package system. Preferred flow: search_libraries, install_docs, search_docs, then get_doc. search_docs is local-only and does not fetch from the network.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_librariesA | Search the remote library catalog and return candidate libraries, available versions, and local install status. Use this first when you do not already know the exact canonical slug. |
| install_docsA | Install or refresh documentation for a library. This is idempotent: if the requested library/version is already installed with the same manifest checksum, it is a no-op. Otherwise it prefers a registry bundle, falls back to page fetches, and indexes everything locally for search. |
| update_docsA | Update installed documentation to the latest resolved version. Also refreshes same-version installs when the manifest checksum changes. |
| search_docsA | Search installed documentation locally and return matching page metadata with snippets. Use get_doc to read full page content. This tool never fetches from the network. If a requested library/version is not installed, it returns NOT_INSTALLED. |
| get_docA | Read a bounded slice from a locally installed markdown page. Use doc_path or page_uid, and either from_line/max_lines or around_line/before/after. |
| list_installed_docsA | List all locally installed documentation packages with their versions, install modes, and page counts. |
| remove_docsA | Remove one installed documentation version or every installed version for a library from the local cache and local QMD index. |
| add_local_docsA | Index local files or directories as a searchable documentation package. Use this to make project docs, READMEs, or any local markdown files searchable via search_docs. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Most tools target clearly distinct operations: remote catalog search vs local docs search, install vs remove, list vs get. However, install_docs and update_docs overlap slightly because both can refresh existing documentation, which could cause occasional misselection when the goal is simply to refresh an installed version.
All tool names use a consistent snake_case verb-first pattern: search_libraries, install_docs, update_docs, search_docs, list_installed_docs, get_doc, remove_docs, add_local_docs. The resource naming is predictable and readable throughout.
Eight tools is well-scoped for a documentation management server, covering discovery, installation, updating, local indexing, listing, reading, searching, and removal without excessive surface area.
The tool set covers the full lifecycle: discovering libraries, installing docs, updating them, indexing local docs, searching local docs, reading page content, listing installed packages, and removing versions. No obvious operational gaps remain for the stated documentation-cache purpose.