Skip to main content
Glama
Melbourneandrew

docs2prompt MCP Server

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 的指南:

Install Server
A
license - permissive license
A
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/Melbourneandrew/docs2prompt-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server