Skip to main content
Glama

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

curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Clone the repository:

git clone https://github.com/Melbourneandrew/docs2prompt-mcp
  1. Put this in your MCP client config (Add your path and github access token):

{ "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:

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

Related MCP Servers

  • -
    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 -
    850
    MIT License
    • Apple
  • A
    security
    A
    license
    A
    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 -
    3
    11
    Apache 2.0
  • -
    security
    F
    license
    -
    quality
    A 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 -
    • Linux
    • Apple
  • A
    security
    -
    license
    A
    quality
    A 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 -
    9
    5
    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