Skip to main content
Glama

MCP Docs RAG Server

by kazuph

add_git_repository

Add a Git repository to the MCP Docs RAG Server for document querying with optional sparse checkout. Specify a repository URL, customize the document name, and select a subdirectory for targeted data retrieval.

Instructions

Add a git repository to the docs directory with optional sparse checkout. Please do not use 'docs' in the document name.

Input Schema

NameRequiredDescriptionDefault
document_nameNoOptional: Custom name for the document (defaults to repository name). Use a simple, descriptive name without '-docs' suffix. For example, use 'react' instead of 'react-docs'.
repository_urlYesURL of the git repository to clone
subdirectoryNoOptional: Specific subdirectory to sparse checkout (e.g. 'path/to/specific/dir'). This uses Git's sparse-checkout feature to only download the specified directory.

Input Schema (JSON Schema)

{ "properties": { "document_name": { "description": "Optional: Custom name for the document (defaults to repository name). Use a simple, descriptive name without '-docs' suffix. For example, use 'react' instead of 'react-docs'.", "type": "string" }, "repository_url": { "description": "URL of the git repository to clone", "type": "string" }, "subdirectory": { "description": "Optional: Specific subdirectory to sparse checkout (e.g. 'path/to/specific/dir'). This uses Git's sparse-checkout feature to only download the specified directory.", "type": "string" } }, "required": [ "repository_url" ], "type": "object" }
Install Server

Other Tools from MCP Docs RAG Server

Related Tools

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/kazuph/mcp-docs-rag'

If you have feedback or need assistance with the MCP directory API, please join our Discord server