docs2prompt 用 MCP サーバー
docs2prompt は、 Reza Tabriziによって開発された Python ライブラリおよび行ツールであり、github リポジトリ内または専用 Web サイトでホストされているドキュメントを LLM 対応のプロンプトに変換します。
このリポジトリには、任意の MCP クライアント (Cursor、Claude、Windsurf など) で使用できるように docs2prompt をラップする MCP サーバーが含まれています。
実行サーバー(開発)
curl -LsSf https://astral.sh/uv/install.sh | sh
リポジトリをクローンします。
git clone https://github.com/Melbourneandrew/docs2prompt-mcp
これを MCP クライアント構成に追加します (パスとgithub アクセス トークンを追加します)。
{
"mcpServers": {
"docs2prompt": {
"command": "uv",
"args": [
"--directory",
"/YOUR/LOCAL/PATH/docs2prompt-mcp/src",
"run",
"main.py"
],
"env": {
"GITHUB_TOKEN": ""
}
}
}
}
必要に応じて、一般的なクライアント向けに MCP を設定するためのガイドを以下に示します。
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
クライアントが GitHub リポジトリまたはホストされた Web サイトのドキュメントから LLM 対応のプロンプトを抽出できるようにする MCP サーバー。
Related MCP Servers
- -securityAlicense-qualityAn 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 -706MIT License
- -securityAlicense-qualityA 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 -310Apache 2.0
- -securityFlicense-qualityA customized MCP server that enables integration between LLM applications and documentation sources, providing AI-assisted access to LangGraph and Model Context Protocol documentation.Last updated -1
- AsecurityAlicenseAqualityA MCP server that bridges LLMs with GitHub repository management, enabling automated analysis of pull requests, issue management, tag creation, and release management through natural language.Last updated -95Apache 2.0