QV

qpd-v/mcp-ragdocs

Developer tools

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

136 stars 60 forks 品質 70 トレンド 16Apache-2.0

qpd-v/mcp-ragdocsは、https://github.com/qpd-v/mcp-ragdocs.からインポートされたMCPサーバー候補です。

概要

qpd-v/mcp-ragdocsは、https://github.com/qpd-v/mcp-ragdocs.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

ベクターデータベース(Qdrant)を用いた意味検索とドキュメントの取得を可能にするモデルコンテキストプロトコル(MCP)サーバーです。このサーバーでは、URLやローカルファイルからドキュメントを追加し、自然言語クエリでそれらを検索できます。

クイックインストールガイド

  1. パッケージをグローバルにインストールする:

  2. Qdrantの起動(Docker使用):

  3. Ollamaがデフォルトの埋め込みモデルで動作していることを確認しましょう:

  4. 設定ファイルに追加:

  • クラインのために:%AppData%\Roaming\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
  • ルーコードの場合:%AppData%\Roaming\Code\User\globalStorage\rooveterinaryinc.roo-cline\settings\cline_mcp_settings.json
  • Claude Desktop用:%AppData%\Claude\claude_desktop_config.json
  1. 設置の確認:

バージョン

現行バージョン:0.1.6

特徴

  • URLやローカルファイルからドキュメントを追加する
  • 意味検索のためのドキュメントをベクターデータベースに保存する
  • 自然言語を用いたドキュメント検索
  • すべての文書情報源を一覧化

設置

npmを使ってグローバルにインストールする方法:

これにより、サーバーはグローバルnpmディレクトリにインストールされます。以下の設定手順で必要です。

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

README

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

MCP-Ragdocs

A Model Context Protocol (MCP) server that enables semantic search and retrieval of documentation using a vector database (Qdrant). This server allows you to add documentation from URLs or local files and then search through them using natural language queries.

Quick Install Guide

  1. Install the package globally:

    npm install -g @qpd-v/mcp-server-ragdocs
    
  2. Start Qdrant (using Docker):

    docker run -p 6333:6333 -p 6334:6334 qdrant/qdrant
    
  3. Ensure Ollama is running with the default embedding model:

    ollama pull nomic-embed-text
    
  4. Add to your configuration file:

    • For Cline: %AppData%\Roaming\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
    • For Roo-Code: %AppData%\Roaming\Code\User\globalStorage\rooveterinaryinc.roo-cline\settings\cline_mcp_settings.json
    • For Claude Desktop: %AppData%\Claude\claude_desktop_config.json
    {
      "mcpServers": {
        "ragdocs": {
          "command": "node",
          "args": ["C:/Users/YOUR_USERNAME/AppData/Roaming/npm/node_modules/@qpd-v/mcp-server-ragdocs/build/index.js"],
          "env": {
            "QDRANT_URL": "http://127.0.0.1:6333",
            "EMBEDDING_PROVIDER": "ollama",
            "OLLAMA_URL": "http://localhost:11434"
          }
        }
      }
    }
    
  5. Verify installation:

    # Check Qdrant is running
    curl http://localhost:6333/collections
    
    # Check Ollama has the model
    ollama list | grep nomic-embed-text
    

Version

Current version: 0.1.6

Features

  • Add documentation from URLs or local files
  • Store documentation in a vector database for semantic search
  • Search through documentation using natural language
  • List all documentation sources

Installation

Install globally using npm:

npm install -g @qpd-v/mcp-server-ragdocs

This will install the server in your global npm directory, which you’ll need for the configuration steps below.

Requirements

  • Node.js 16 or higher
  • Qdrant (either local or cloud)
  • One of the following for embeddings:
    • Ollama running locally (default, free)
    • OpenAI API key (optional, paid)

Qdrant Setup Options

Option 1: Local Qdrant

  1. Using Docker (recommended):
docker run -p 6333:6333 -p 6334:6334 qdrant/qdrant
  1. Or download from Qdrant’s website

Option 2: Qdrant Cloud

  1. Create an account at Qdrant Cloud
  2. Create a new cluster
  3. Get your cluster URL and API key from the dashboard
  4. Use these in your configuration (see Configuration section below)

Configuration

The server can be used with both Cline/Roo and Claude Desktop. Configuration differs slightly between them:

Cline Configuration

Add to your Cline settings file (%AppData%\Roaming\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json) AND/OR

GitHub で README 全文を見る

インストール

docker run -p 6333:6333 -p 6334:6334 qdrant/qdrant
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "ragdocs": { "command": "node", "args": ["C:/Users/YOUR_USERNAME/AppData/Roaming/npm/node_modules/@qpd-v/mcp-server-ragdocs/build/index.js"], "env": { "QDRANT_URL": "http://127.0.0.1:6333", "EMBEDDING_PROVIDER": "ollama", "OLLAMA_URL": "http://localhost:11434" } } } }