Model Context Protocol Server
🚀 Агентский RAG с MCP-сервером 
✨ Обзор

Agentic RAG с сервером MCP — это мощный проект, объединяющий сервер и клиент MCP (Model Context Protocol) для создания приложений Agentic RAG (Retrieval-Augmented Generation).
Эта настройка оснащает вашу систему RAG передовыми инструментами, такими как:
🕵️♂️ Извлечение сущностей
🔍 Уточнение запроса
✅ Проверка релевантности
Сервер размещает эти интеллектуальные инструменты, а клиент показывает, как легко их подключить и использовать.
Related MCP server: MCP-RAGNAR
🖥️ Сервер — server.py
Сервер, работающий на основе класса FastMCP из библиотеки mcp , предоставляет следующие удобные инструменты:
Название инструмента | Описание | Икона |
| Возвращает текущую дату и время | ⏰ |
| Использует OpenAI для извлечения сущностей из запроса — повышая релевантность поиска документов | 🧠 |
| Улучшает качество пользовательских запросов с помощью уточнения на основе OpenAI | ✨ |
| Отфильтровывает нерелевантный контент, проверяя релевантность фрагмента с помощью LLM | ✅ |
🤝 Клиент — mcp-client.py
Клиент демонстрирует, как подключаться и взаимодействовать с сервером MCP:
Установить соединение с
ClientSessionиз библиотекиmcpСписок всех доступных серверных инструментов
Вызов любого инструмента с пользовательскими аргументами
Обработка запросов с использованием OpenAI или инструментов Gemini и MCP в тандеме
⚙️ Требования
Python 3.9 или выше
пакет
openaiPythonбиблиотека
mcppython-dotenvдля управления переменными среды
🛠️ Руководство по установке
# Step 1: Clone the repository
git clone https://github.com/ashishpatel26/Agentic-RAG-with-MCP-Server.git
# Step 2: Navigate into the project directory
cd Agentic-RAG-with-MCP-Serve
# Step 3: Install dependencies
pip install -r requirements.txt🔐 Конфигурация
Создайте файл
.env(используйте.env.sampleв качестве шаблона)Установите вашу модель OpenAI в
.env:
OPENAI_MODEL_NAME="your-model-name-here"
GEMINI_API_KEY="your-model-name-here"🚀 Как использовать
Запустите MCP-сервер:
python server.pyЗапустите клиент MCP:
python mcp-client.py📜 Лицензия
Данный проект лицензирован в соответствии с лицензией MIT .
Спасибо за чтение 🙏
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn intelligent codebase processing server that provides agentic RAG capabilities for code repositories, enabling semantic search and contextual understanding through self-evaluating retrieval loops.2MIT
- AlicenseNot gradedqualityDmaintenanceA local RAG server that enables document indexing and sentence window retrieval across multiple file formats like PDF, MD, and DOCX. It supports both local Hugging Face models and OpenAI embeddings for efficient context-aware querying through the Model Context Protocol.GPL 3.0
- FlicenseNot gradedqualityDmaintenanceThe MCP server provides tools for entity extraction, query refinement, and relevance checking to enhance RAG applications by integrating with OpenAI and Gemini.
- AlicenseNot gradedqualityCmaintenanceRAGX MCP Server enables retrieval-augmented generation with document ingestion, hybrid search, and agentic answering using Claude, exposing tools for querying, searching, and managing documents.2MIT
Related MCP Connectors
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Bounded tools for rendering, extraction, RAG, enrichment, local discovery and review analysis.
Governed, auditable knowledge your team curates for its AI assistants, self-hostable
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ashishpatel26/Agentic-RAG-with-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server