PD

probelabs/docs-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

92 stars 20 forks 품질 67 트렌드 15MIT

probelabs/docs-mcp는 MCP 서버 후보자로 https://github.com/probelabs/docs-mcp.에서 수입

개요

probelabs/docs-mcp는 MCP 서버 후보자로 https://github.com/probelabs/docs-mcp.에서 수입

개요(AI 번역)

Probe에 의해 구동되는 유연한 모델 Context Protocol (MCP) 서버는 AI 조수에 의해 검색 할 수있는 문서 또는 코드베이스를 만듭니다.

코드 또는 docs를 사용하여 git repo 또는 폴더에 간단히 지적하십시오.

사용 사례:

  • ** GitHub 저장소와 채팅:** 서버가 공개 또는 개인 Git 저장소에 해당 콘텐츠에 대한 자연적인 언어 쿼리를 가능하게합니다.
  • ** 문서 검색:** 프로젝트의 문서 통합 (local directory 또는 Git에서) 쉬운 검색.
  • **Build 사용자 정의 MCP 서버 : ** 이 프로젝트를 템플릿으로 사용하여 특정 문서 세트 또는 코드베이스에 맞게 자신의 공식 MCP 서버를 만들 수 있습니다.

콘텐츠 소스 (문서 또는 코드)는 ** 사전 제작 ** npm run build] 단계 동안 패키지에, 또는 구성 ** 동적 ** 로컬 디렉토리 또는 Git 저장소를 사용하여 실행 시간에. 기본적으로 auto-updates를 사용하지 않고 gitUrl를 사용할 때 서버는 .tar.gz] 아카이브를 빠른 시작으로 다운로드합니다. 한국어 Git cloning은 autoUpdateInterval]가 0보다 큰 경우에만 사용됩니다.

특징

  • **Probe에 의해 구동 : ** 효율적이고 관련 결과를 위한 Probe 검색 엔진 활용.

이 페이지는 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" ] } } }