PD

probelabs/docs-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

92 stars 20 forks 品質 67 トレンド 15MIT

probelabs/docs-mcp は https://github.com/probelabs/docs-mcp. からインポートされた MCP サーバーの候補です

概要

probelabs/docs-mcp は https://github.com/probelabs/docs-mcp. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

プローブによって供給される柔軟なモデルコンテキストプロトコル(MCP)サーバーは、AIアシスタントによる文書やコードベース検索が可能です。

gitリポジトリやフォルダーを指すだけでコードやドキュメントをチャットできます。

ユースケース:

  • GitHubリポジトリーとチャット:** サーバをパブリックまたはプライベートのGitリポジトリに置き、そのコンテンツに関する自然言語のクエリを有効にします。 *ドキュメントを検索: プロジェクトのドキュメントを統合(ローカルディレクトリまたはGitから)簡単に検索できます。 *カスタムMCPサーバーの構築: このプロジェクトをテンプレートとして使用し、特定のドキュメントセットやコードベースに合わせた独自の公式 MCP サーバーを作成できます。

コンテンツソース(ドキュメントまたはコード)は、[[npm run build]]]のステップの間にパッケージに事前ビルド、またはローカルディレクトリまたはGitリポジトリを使用して実行時にダイナミカルを設定できます。 デフォルトでは、自動更新を有効にせずに[gitUrl]を使うと、サーバーはより高速な起動のための[[.tar.gz]アーカイブをダウンロードします。 スタッフ autoUpdateInterval が 0 を超える場合にのみ、Git クローニングが使用されます。

##特徴

  • プローブによって動力を与えられる: プローブ検索エンジンを有効かつ関連性の高い結果にレバレッジします.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Docs MCP Server

A flexible Model Context Protocol (MCP) server powered by Probe that makes any documentation or codebase searchable by AI assistants.

Chat with code or your docs by simply pointing to a git repo or folder:

npx -y @probelabs/docs-mcp@latest --gitUrl https://github.com/probelabs/probe

Use Cases:

  • Chat with any GitHub Repository: Point the server to a public or private Git repository to enable natural language queries about its contents.
  • Search Your Documentation: Integrate your project’s documentation (from a local directory or Git) for easy searching.
  • Build Custom MCP Servers: Use this project as a template to create your own official MCP servers tailored to specific documentation sets or even codebases.

The content source (documentation or code) can be pre-built into the package during the npm run build step, or configured dynamically at runtime using local directories or Git repositories. By default, when using a gitUrl without enabling auto-updates, the server downloads a .tar.gz archive for faster startup. Full Git cloning is used only when autoUpdateInterval is greater than 0.

Features

  • Powered by Probe: Leverages the Probe search engine for efficient and relevant results.
  • Flexible Content Sources: Include a specific local directory or clone a Git repository.
  • Pre-build Content: Optionally bundle documentation/code content directly into the package.
  • Dynamic Configuration: Configure content sources, Git settings, and MCP tool details via config file, CLI arguments, or environment variables.
  • Automatic Git Updates: Keep content fresh by automatically pulling changes from a Git repository at a configurable interval.
  • Customizable MCP Tool: Define the name and description of the search tool exposed to AI assistants.
  • AI Integration: Seamlessly integrates with AI assistants supporting the Model Context Protocol (MCP).

Installation

Quick Start with Claude Desktop

Add to your Claude Desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "docs-search": {
      "command": "npx",
      "args": [
        "-y",
        "@probelabs/docs-mcp@latest",
        "--gitUrl",
        "https://github.com/your-org/your-repo",
        "--toolName",
        "search_docs",
        "--toolDescription",
        "Search documentation"
      ]
    }
  }
}

MCP Client Integration

You can configure your MCP client to launch this server using npx. Here are examples of how you might configure a client (syntax may vary based on the specific client):

Example 1: Dynamically Searching a Git Repository (Tyk Docs)

GitHub で README 全文を見る

インストール

npx -y @probelabs/docs-mcp@latest --gitUrl https://github.com/your-org/your-repo --toolName search_docs --toolDescription Search documentation
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "docs-search": { "command": "npx", "args": [ "-y", "@probelabs/docs-mcp@latest", "--gitUrl", "https://github.com/your-org/your-repo", "--toolName", "search_docs", "--toolDescription", "Search documentation" ] } } }