read-docs-mcp
@ZebraRoy
About read-docs-mcp
A mcp server that read a git repository docs
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"read-docs-{name}": {
"command": "npx",
"args": [
"-y",
"read-docs-mcp",
"--git-repo-path=https://github.com/user/repo",
"--name=YourLibName"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is read-docs-mcp?
read-docs-mcp is a Model Context Protocol (MCP) server that enables AI agents to access and understand package documentation through a structured interface. It supports two modes: Read Documentation Mode, which reads docs from a given git repository, and Create Documentation Mode, which guides users in setting up documentation files. It is intended for developers who want AI assistants to explore or create documentation for their libraries.
How to use read-docs-mcp?
read-docs-mcp is invoked via npx -y read-docs-mcp with optional command-line arguments such as --name, --git-repo-path, --branch, --docs-path, and --clone-location. It can be configured in Cursor by adding a JSON block to the Cursor settings under mcpServers. For Read Documentation Mode, provide both --name and --git-repo-path; omit them to use Create Documentation Mode.
Key features of read-docs-mcp
- Dual usage modes: read existing documentation or create documentation structure
- Automatically generates MCP tools from documentation structure
- Supports multiple documentation modules (hooks, components, utilities, etc.)
- Configurable naming patterns for documentation files and module folders
- Provides listing, overview, and detailed documentation access per module
- Falls back to package.json for version information when not specified in config
Use cases of read-docs-mcp
- Explore available modules and hooks of a library through an AI agent
- Retrieve detailed documentation for a specific component or utility
- Guide the creation of a documentation folder structure and configuration files
- Learn how to use individual features (e.g., authentication, form validation) from documentation
- Set up documentation for a library being developed, with step-by-step instructions
FAQ from read-docs-mcp
What is the difference between Read Documentation Mode and Create Documentation Mode?
In Read Documentation Mode (invoked with --name and --git-repo-path), the server reads documentation from a specified repository and generates tools to access it. In Create Documentation Mode (no repository info provided), the server provides instructions for setting up documentation files.
How do I handle authentication for private repositories?
read-docs-mcp requires direct cloning of the target repository. For SSH URLs, ensure SSH keys are configured. For HTTPS URLs, use a personal access token in the URL or configure Git credential storage on your machine.
What command-line arguments are available?
The server supports --name (package name), --git-repo-path (HTTP or SSH URL), --branch (default: main), --docs-path (default: docs), and --clone-location (default: ~/.temp-repo). --name and --git-repo-path are required for Read Documentation Mode.
How do I set up the documentation structure for my library?
Create a read-docs-mcp.json file in the docs directory with fields like name, description, moduleList, and moduleFolderNamingPattern. For each module, create a folder and a read-module-docs-mcp.json file defining tools and file names. Then add markdown files (list.md, overview.md, and individual detail files).
What naming patterns are supported for module folders and detail files?
The supported patterns are kebab-case (default), camelCase, snake_case, PascalCase, and original (uses names as-is). These are configured via moduleFolderNamingPattern in the main configuration file.
More Memory & Knowledge MCP servers
Context Portal MCP (ConPort)
GreatScottyMacContext Portal (ConPort): A memory bank MCP server building a project-specific knowledge graph to supercharge AI assistants. Enables powerful Retrieval Augmented Generation (RAG) for context-aware development in your IDE.
minutes
silversteinEvery meeting, every idea, every voice note — searchable by your AI. Open-source, privacy-first conversation memory layer.
Basic Memory
basicmachines-coAI conversations that actually remember. Never re-explain your project to your AI again. Join our Discord: https://discord.gg/tyvKNccgqN
Zettelkasten MCP Server
entanglrA Model Context Protocol (MCP) server that implements the Zettelkasten knowledge management methodology, allowing you to create, link, explore and synthesize atomic notes through Claude and other MCP-compatible clients.

Dash Api Docs Mcp Server
KapeliMCP server for Dash, the macOS API documentation browser
Comments