RM

rahulretnan/mcp-ragdocs

Developer tools

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

65 stars 19 forks 品質 61 トレンド 14NOASSERTION

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

概要

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

概要(AI 翻訳)

MCP サーバーの実装により、ベクター検索によるドキュメントの取得と処理のツールを提供し、AI アシスタントが関連する文書のコンテキストで応答を拡張できるようにします。

コンテンツの表

  • 特徴
  • クイックスタート
  • Docker Compose セットアップ
  • Web インターフェイス
  • 構成
  • インライン構成
  • クロードデスクトップ構成
  • アクセシビリティ
  • トラブルシューティング

##特徴

ツール

1。 search documentation

  • ベクター検索でドキュメントを検索
  • ソース情報でドキュメントの関連するチャンクを返す

2。list sources

  • 利用可能なすべてのドキュメントソースのリスト
  • 各ソースに関するメタデータを提供

3。 extract urls

  • テキストからURLを抽出し、ドキュメントに既に存在するかどうかを確認します
  • 重複文書を防止するために有用

4。 remove documentation

  • 特定のソースからドキュメントを削除
  • 削除された文書または関連する文書をクリーンアップ

5。 list queue

  • 処理キューのすべての項目を一覧表示
  • 保留中の文書処理のステータスを表示
  1. run queue
  • キュー内のすべての項目を処理する
  • ベクターストアに新しいドキュメントを自動的に追加

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

README

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

RAG Documentation MCP Server

An MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context.

Table of Contents

Features

Tools

  1. search_documentation

    • Search through the documentation using vector search
    • Returns relevant chunks of documentation with source information
  2. list_sources

    • List all available documentation sources
    • Provides metadata about each source
  3. extract_urls

    • Extract URLs from text and check if they’re already in the documentation
    • Useful for preventing duplicate documentation
  4. remove_documentation

    • Remove documentation from a specific source
    • Cleans up outdated or irrelevant documentation
  5. list_queue

    • List all items in the processing queue
    • Shows status of pending documentation processing
  6. run_queue

    • Process all items in the queue
    • Automatically adds new documentation to the vector store
  7. clear_queue

    • Clear all items from the processing queue
    • Useful for resetting the system
  8. add_documentation

    • Add new documentation directly to the system by providing a URL
    • Automatically fetches, processes, and indexes the content
    • Supports various web page formats and extracts relevant content
    • Chunks content intelligently for optimal retrieval
    • Required parameter: url (must include protocol, e.g., https://)
  9. add_repository

    • Index a local code repository for documentation
    • Configure include/exclude patterns for files and directories
    • Supports different chunking strategies based on file types
    • Uses asynchronous processing to avoid MCP timeouts with large repositories
    • Provides detailed progress logging (heartbeat) to stderr during indexing
    • Required parameter: path (absolute path to repository)
  10. list_repositories

    • List all indexed repositories with their configurations
    • Shows include/exclude patterns and watch status
  11. update_repository

    • Re-index a repository with updated configuration
    • Can modify include/exclude patterns and other settings
    • Provides detailed progress logging (heartbeat) to stderr during re-indexing
    • Required parameter: name (repository name)
  12. remove_repository

    • Remove a repository from the index
    • Deletes all associated documents from the vector database
GitHub で README 全文を見る

インストール

npx kill-port 3030
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "rag-docs": { "command": "node", "args": ["/path/to/your/mcp-ragdocs/build/index.js"], "env": { "EMBEDDING_PROVIDER": "ollama", // default "EMBEDDING_MODEL": "nomic-embed-text", // optional "OPENAI_API_KEY": "your-api-key-here", // required for fallback "FALLBACK_PROVIDER": "openai", // recommended for reliability "FALLBACK_MODEL": "nomic-embed-text", // optional "QDRANT_URL": "http://localhost:6333" }, "disabled": false, "autoApprove": [ "search_documentation", "list_sources", "extract_urls", "remove_documentation", "list_queue", "run_queue", "clear_queue", "add_documentation", "add_repository", "list_repositories", "update_repository", "remove_repository", "watch_repository", "get_indexing_status" ] } } }