get-create-docs-instructions
Get instructions to create a new document
Turn a git repository's docs folder into tools an assistant can list, read and search. Without a repository, it explains how to lay that folder out.
LABSCO SUMMARY
Pointed at a repository, it clones it and builds tools from the docs folder, so the assistant reads your library's own documentation instead of guessing. That folder follows a set layout, a read-docs-mcp.json plus one folder per module, and run without a repository the server returns the instructions for building it.
A documentation reader for one git repository. Started with --name and --git-repo-path, it clones the repository and generates tools from its docs folder; started without them, it offers one tool that explains the folder layout it expects.
Nothing — no account, no key.
One command — npx -y read-docs-mcp --name=<YOUR_LIBRARY_NAME> --git-repo-path=<YOUR_GIT_REPO_PATH>
USE CASES
Search the repository's docs, open the module overview it points to, and answer from what the library's authors wrote rather than from memory.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
get-create-docs-instructionsGet instructions to create a new document
BEFORE YOU INSTALL
1 tool when we connected; the project documents 11. Without --name or --git-repo-path the server runs in Create Documentation Mode with only get-create-docs-instructions. In Read Documentation Mode tools are generated per module, prefixed with the package name, and {name}-read-source-file needs --include-src=true.
Both documented setups run the server on your machine.
INSTALLATION
npx -y read-docs-mcp --name=<YOUR_LIBRARY_NAME> --git-repo-path=<YOUR_GIT_REPO_PATH>{
"mcpServers": {
"<YOUR_LIBRARY_NAME>": {
"command": "npx",
"args": [
"-y",
"read-docs-mcp",
"--git-repo-path=<YOUR_GIT_REPO_PATH>",
"--name=<YOUR_LIBRARY_NAME>"
]
}
}
}{
"mcpServers": {
"<YOUR_LIBRARY_NAME>": {
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"read-docs-mcp",
"--git-repo-path=<YOUR_GIT_REPO_PATH>",
"--name=<YOUR_LIBRARY_NAME>"
]
}
}
}