doc-hub-mcp
Verified Safeby wxkingstar
Overview
Provides offline, local Markdown document retrieval and resource reading capabilities for IDEs, Agents, or debugging tools, primarily focused on WeChat Work and Feishu developer documentation.
Installation
npx -y doc-hub-mcpEnvironment Variables
- DOC_ROOT
- DOC_NAMESPACE
- MCP_SERVER_NAME
Security Notes
The server's file access is strictly confined to configured document root directories (e.g., 'docs/', 'wecom/', 'feishu/' or a custom path via `DOC_ROOT`). The internal path handling mechanism (`path.relative`, `path.join`, `encodeResourcePath`, `decodeResourcePath`) is designed to prevent path traversal vulnerabilities from client-provided resource URIs. However, if the `DOC_ROOT` environment variable (an administrator-level configuration) is intentionally or inadvertently set to an untrusted or overly broad path (e.g., `/`), it could expose sensitive files readable by the Node.js process to any client with MCP access.
Similar Servers
docfork
Provides live-synced, context-aware, and version-accurate documentation to AI models, preventing hallucinations and context bloat for developer tasks.
scraps
The Scraps MCP server provides an interface for AI assistants to interact with a knowledge base of interconnected Markdown documentation, enabling features like content search, tag listing, and link/backlink lookup.
blz
Provides fast, local documentation search and retrieval for AI agents, using llms.txt files for line-accurate citations.
magento-graphql-docs-mcp
Provides tools to search and retrieve Magento 2 GraphQL API documentation from local markdown files, aiding development and coding agents.