
qpd-v/mcp-ragdocs
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
qpd-v/mcp-ragdocs — это кандидат на MCP-сервер, импортированный из https://github.com/qpd-v/mcp-ragdocs.
Обзор
qpd-v/mcp-ragdocs — это кандидат на MCP-сервер, импортированный из https://github.com/qpd-v/mcp-ragdocs.
Обзор (машинный перевод)
Сервер Model Context Protocol (MCP), который позволяет осуществлять семантический поиск и поиск документации с помощью векторной базы данных (Qdrant). Этот сервер позволяет добавлять документацию по URL или локальным файлам, а затем искать по ним с помощью запросов на естественном языке.
Руководство по быстрой установке
-
Установите пакет глобально:
-
Запустить Qdrant (с помощью Docker):
-
Убедитесь, что Ollama работает с стандартной моделью вложения:
-
Добавьте в ваш конфигурационный файл:
- Для Клайна:
%AppData%\Roaming\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json - Для Roo-Code:
%AppData%\Roaming\Code\User\globalStorage\rooveterinaryinc.roo-cline\settings\cline_mcp_settings.json - Для Claude Desktop:
%AppData%\Claude\claude_desktop_config.json
- Проверьте установку:
Версия
Текущая версия: 0.1.6
Особенности
- Добавлять документацию по URL или локальным файлам
- Хранение документации в векторной базе данных для семантического поиска
- Поиск по документации с использованием естественного языка
- Перечислить все источники документации
Установка
Установка по всему миру с помощью npm:
Это установит сервер в вашу глобальную папку npm, которая понадобится для приведённых ниже шагов настройки.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
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
-
Install the package globally:
npm install -g @qpd-v/mcp-server-ragdocs -
Start Qdrant (using Docker):
docker run -p 6333:6333 -p 6334:6334 qdrant/qdrant -
Ensure Ollama is running with the default embedding model:
ollama pull nomic-embed-text -
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" } } } } - For Cline:
-
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
- Using Docker (recommended):
docker run -p 6333:6333 -p 6334:6334 qdrant/qdrant
- Or download from Qdrant’s website
Option 2: Qdrant Cloud
- Create an account at Qdrant Cloud
- Create a new cluster
- Get your cluster URL and API key from the dashboard
- 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
Установка
docker run -p 6333:6333 -p 6334:6334 qdrant/qdrantКонфигурация
{
"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"
}
}
}
}