docs2prompt MCP Server
README.md
# MCP Server for docs2prompt
[](https://modelcontextprotocol.io/introduction)
[](https://github.com/rezabrizi/docs2prompt/blob/main/LICENSE)
[docs2prompt](https://github.com/rezabrizi/docs2prompt) is a python library and line tool developed by [Reza Tabrizi](https://github.com/rezabrizi) 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](https://docs.astral.sh/uv/getting-started/installation/)
```
curl -LsSf https://astral.sh/uv/install.sh | sh
```
2. Clone the repository:
```
git clone https://github.com/Melbourneandrew/docs2prompt-mcp
```
3. Put this in your MCP client config (Add your path and [github access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens)):
```
{
"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:
* [Cursor](https://docs.cursor.com/context/model-context-protocol)
* [Claude Desktop](https://modelcontextprotocol.io/quickstart/server#test-with-commands)TDQS
A3.7/5.0
Scored across 2 tools
Disambiguation5/5
The two tools have clearly distinct purposes: one retrieves documentation from a GitHub repository, the other from a generic URL. There is no ambiguity between them.
Naming Consistency5/5
Both tools follow a consistent 'get_<source>_docs' pattern, making their purpose immediately clear and predictable.
Tool Count4/5
With only two tools, the server is minimal but focused. The count is slightly low for broad usefulness, but it may be appropriate for a narrowly scoped documentation retrieval service.
Completeness3/5
The tools cover retrieval from two common sources, but the server name 'docs2prompt' suggests conversion to prompts, which is missing. The current surface is incomplete for the implied purpose.
Maintenance
ActivityInactive
ResponsivenessNo issues