trackmcp
Back to directory
melbourneandrew

docs2prompt-mcp

View on GitHub
0 stars PythonOthers Updated Mar 21, 2025

Documentation

MCP Server for docs2prompt

License

docs2prompt is a python library and line tool developed by Reza Tabrizi that turns documentation in github repositories or hosted on dedicated websites into LLM-friendly prompts.

This repository contains an MCP server that wraps docs2prompt for use by any MCP client (Cursor, Claude, Windsurf, etc).

Run Server (Development)

1. Install UV

code
curl -LsSf https://astral.sh/uv/install.sh | sh

2. Clone the repository:

code
git clone https://github.com/Melbourneandrew/docs2prompt-mcp

3. Put this in your MCP client config (Add your path and github access token):

code
{
    "mcpServers": {
        "docs2prompt": {
            "command": "uv",
            "args": [
                "--directory",
                "/YOUR/LOCAL/PATH/docs2prompt-mcp/src",
                "run",
                "main.py"
            ],
            "env": {
                "GITHUB_TOKEN": ""
            }
        }
    }
}

If you need, here are guides to set up MCP for common clients:

Frequently asked questions

What is docs2prompt-mcp?

docs2prompt-mcp is a Model Context Protocol (MCP) server listed in the TrackMCP directory.

How do I install docs2prompt-mcp?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is docs2prompt-mcp open source?

Yes — it is hosted on GitHub at https://github.com/melbourneandrew/docs2prompt-mcp.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP