Back to Home
wxkingstar icon

doc-hub-mcp

Verified Safe

by 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

Run Command
npx -y doc-hub-mcp

Environment 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

Stats

Interest Score36
Security Score8
Cost ClassMedium
Avg Tokens1500
Stars6
Forks1
Last Update2026-01-19

Tags

MarkdownDocument RetrievalMCPOffline Knowledge BaseWeCom API DocsFeishu API Docs