DocsHub MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DOCSHUB_CONFIG | No | Local file path or https:// URL to the config file. Overrides other config sources. | |
| DOCSHUB_CACHE_TTL | No | Seconds to cache fetched documentation in memory. Set to 0 to disable caching. | 1800 |
| DOCSHUB_CONFIG_RELOAD_INTERVAL | No | Seconds between config reload checks. Set to 0 to disable polling. | 900 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| completions | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_available_docsA | List all configured documentation projects. Always call this first to discover available project names before using
Returns:
List of dicts with |
| get_project_docsA | Fetch documentation for a project. Automatically tries Call |
| read_doc_pageA | Fetch the Markdown content of a specific documentation page. Use URLs obtained from |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| query_docs | Answer a question using a project's documentation. Guides the model through the full lookup workflow: fetch docs, then answer. |
| summarize_project | Summarize the documentation for a project. Guides the model to fetch and distil the key topics and structure. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| projects_resource | Registry of all configured documentation projects. Returns a JSON array with ``name`` and ``description`` for each project. Use the exact ``name`` value when calling ``get_project_docs`` or reading the ``docshub://project/{name}/docs`` resource. Returns: JSON-encoded list of project dicts with ``name`` and ``description``. |
TDQS
Scored across 3 tools
Each tool has a distinct, non-overlapping role in the documentation workflow: listing projects, fetching project docs (full or index), and reading individual pages. The descriptions clearly define when to use each tool.
All tool names follow a consistent snake_case verb_noun pattern: list_available_docs, get_project_docs, read_doc_page. This is predictable and easy for an agent to interpret.
With 3 tools, the server is tightly scoped to its purpose of retrieving documentation. Each tool is essential to the workflow, and there is no redundancy or excess.
The tool set covers the full lifecycle of fetching documentation: discover projects, retrieve either full content or an index, and then fetch specific pages. The fallback mechanism ensures no dead ends for users.