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 |
Capabilities
Features and capabilities supported by this server
| 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``. |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/rkratky/docshub'
If you have feedback or need assistance with the MCP directory API, please join our Discord server