Docs MCP Server
@buger
About Docs MCP Server
Turn any github repo to MCP server, and chat with code or docs
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"docs-mcp": {
"command": "npx",
"args": [
"-y",
"@probelabs/docs-mcp@latest",
"--gitUrl",
"https://github.com/probelabs/probe"
]
}
}
}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 Docs MCP Server?
A flexible Model Context Protocol (MCP) server powered by Probe that makes any documentation or codebase searchable by AI assistants. It allows you to chat with code or documentation by simply pointing to a Git repository or a local folder.
How to use Docs MCP Server?
Install and run the server via npx with CLI arguments, or configure it in an MCP client like Claude Desktop. For example:
npx -y @probelabs/docs-mcp@latest --gitUrl https://github.com/your-org/your-repo --toolName search_docs --toolDescription "Search documentation".
Configuration can also be provided via a docs-mcp.config.json file or environment variables.
Features of Docs MCP Server
- Powered by Probe search engine for relevant results.
- Supports local directories, Git repositories, and pre-built content.
- Dynamic configuration via config file, CLI, or environment variables.
- Automatic Git updates at configurable intervals.
- Customizable MCP tool name and description.
- Seamless integration with MCP-supporting AI assistants.
Use cases of Docs MCP Server
- Chat with any GitHub repository using natural language queries.
- Search your project's documentation or codebase.
- Build and publish custom MCP servers with pre-built documentation or code.
FAQ from Docs MCP Server
What is the difference between using a gitUrl with and without auto‑updates?
If autoUpdateInterval is 0 (default), the server downloads a .tar.gz archive from GitHub for faster startup. Setting it to a positive value triggers a full git clone and periodic git pull operations.
Can I use a local directory as the content source?
Yes, set the includeDir configuration option to an absolute path to a local directory. This works both during build and at runtime.
How do I customize the tool name exposed to AI assistants?
Use the --toolName and --toolDescription CLI arguments (or set them in the config file). They control the name and description of the search tool that AI assistants see.
How can I create a pre‑built, zero‑configuration MCP server?
Fork or clone this repository, configure docs-mcp.config.json with your content source and tool details, run npm run build, and publish to npm. Users can then run npx @my-org/my-docs-mcp@latest.
Does Docs MCP Server work with non‑GitHub Git repositories?
When autoUpdateInterval is 0, the server currently assumes a GitHub URL structure for tarball downloads. For other Git hosts, set autoUpdateInterval greater than 0 to use full git clone instead.
Frequently asked questions
What is the difference between using a `gitUrl` with and without auto‑updates?
If `autoUpdateInterval` is 0 (default), the server downloads a `.tar.gz` archive from GitHub for faster startup. Setting it to a positive value triggers a full `git clone` and periodic `git pull` operations.
Can I use a local directory as the content source?
Yes, set the `includeDir` configuration option to an absolute path to a local directory. This works both during build and at runtime.
How do I customize the tool name exposed to AI assistants?
Use the `--toolName` and `--toolDescription` CLI arguments (or set them in the config file). They control the name and description of the search tool that AI assistants see.
How can I create a pre‑built, zero‑configuration MCP server?
Fork or clone this repository, configure `docs-mcp.config.json` with your content source and tool details, run `npm run build`, and publish to npm. Users can then run `npx @my-org/my-docs-mcp@latest`.
Does Docs MCP Server work with non‑GitHub Git repositories?
When `autoUpdateInterval` is 0, the server currently assumes a GitHub URL structure for tarball downloads. For other Git hosts, set `autoUpdateInterval` greater than 0 to use full `git clone` instead.
Basic information
More Memory & Knowledge MCP servers
MemoryMesh
CheMiguel23A knowledge graph server that uses the Model Context Protocol (MCP) to provide structured memory persistence for AI models.
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.
JupyterMCP - Jupyter Notebook Model Context Protocol Integration
jjsantos01A Model Context Protocol (MCP) for Jupyter Notebook
Mcp Knowledge Graph
shanehollomanMCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development
MCP server for Obsidian
MarkusPfundsteinMCP server that interacts with Obsidian via the Obsidian rest API community plugin
Comments