Skip to main content
Glama

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

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

local-only server

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

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

  1. 运行服务器(开发)

    Related MCP Servers

    • A
      security
      A
      license
      A
      quality
      MCP server for SecretiveShell/Awesome-llms-txt. Add documentation directly into your conversation via MCP resources.
      Last updated -
      10
      Python
      MIT License
    • -
      security
      A
      license
      -
      quality
      An MCP server that provides tools to load and fetch documentation from any llms.txt source, giving users full control over context retrieval for LLMs in IDE agents and applications.
      Last updated -
      177
      Python
      MIT License
      • Apple
    • -
      security
      F
      license
      -
      quality
      An MCP server that enables Claude and other compatible LLMs to interact with the GitHub API, supporting features like creating issues, retrieving repository information, listing issues, and searching repositories.
      Last updated -
      TypeScript
    • -
      security
      A
      license
      -
      quality
      A MCP server that transforms code repositories from GitHub, GitLab, or local directories into LLM-friendly formats, preserving context and structure for better AI processing.
      Last updated -
      1
      Python
      Apache 2.0

    View all related MCP servers

    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