docs2prompt MCP Server

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Provides access to documentation in GitHub repositories, converting them into LLM-friendly prompts through the docs2prompt library

docs2prompt 的 MCP 服务器

docs2prompt是由Reza Tabrizi开发的 Python 库和行工具,它将 github 存储库中或托管在专用网站上的文档转换为 LLM 友好的提示。

该存储库包含一个 MCP 服务器,它包装了 docs2prompt 以供任何 MCP 客户端(Cursor、Claude、Windsurf 等)使用。

运行服务器(开发)

  1. 安装 UV
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. 克隆存储库:
git clone https://github.com/Melbourneandrew/docs2prompt-mcp
  1. 将其放入您的 MCP 客户端配置中(添加您的路径和github 访问令牌):
{ "mcpServers": { "docs2prompt": { "command": "uv", "args": [ "--directory", "/YOUR/LOCAL/PATH/docs2prompt-mcp/src", "run", "main.py" ], "env": { "GITHUB_TOKEN": "" } } } }

如果需要,以下是为常见客户端设置 MCP 的指南:

-
security - not tested
A
license - permissive license
-
quality - not tested

MCP 服务器使客户端能够从 GitHub 存储库或托管网站中的文档中提取 LLM 友好提示。

  1. Run Server (Development)
    ID: a4ce92kysd