MCP.so
Sign In

Docs MCP Server

@buger

Basic information

Category

Memory & Knowledge

Last updated

License

MIT

Transports

stdio

Author

buger

About Docs MCP Server

Turn any github repo to MCP server, and chat with code or docs

Docs MCP Server 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"
      ]
    }
  }
}

Docs MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

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.

Frequently asked questions

1

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.

2

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.

3

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.

4

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`.

5

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.

Comments

More Memory & Knowledge MCP servers