Back to MCP directory
publicPublicdnsLocal runtime

Docs Provider

为LLM提供本地Markdown文档查询服务的MCP服务

article

README

🚀 MCP 文档提供器

适用于大语言模型(LLM)的文档上下文提供器,借助 MCP 实现。该服务器可让 AI 模型无缝访问和查询本地的技术 Markdown 文档,为模型提供精准的本地文档支持。

🚀 快速开始

📦 安装指南

通过 Smithery 安装

要自动安装 Claude Desktop 的 mcp-docs - provider,请使用 Smithery

npx -y @smithery/cli install @YassineTk/mcp-docs-provider --client claude

💻 使用示例

使用 cursor 配置

将以下内容添加到您的 Cursor 配置文件(mcp.json)中:

{
  "mcpServers": {
    "mcp-docs-provider": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-docs-provider",
        "/path/to/your/documentation.md"
      ]
    }
  }
}

注意:需将 /path/to/your/documentation.md 替换为您的 Markdown 文档文件路径。并且更新 Markdown 文档后无需重新构建。

MCP 客户端规则配置

将以下规范添加到您的 MCP 客户端规则(例如 Cursor)中,这能确保在用户未明确提到“使用我的 MCP”时,文档上下文会自动使用: "当用户询问有关 UI 模式的任何问题时,请遵循 mcp - docs - provider MCP 服务器。"

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client