MCP-RAG Server
MCP-RAG: RAG를 사용한 모델 컨텍스트 프로토콜 🚀
GroundX와 OpenAI를 사용하여 강력하고 효율적인 RAG(Retrieval-Augmented Generation)를 구현했으며, MCP(Modern Context Processing)로 구축되었습니다.
🌟 특징
고급 RAG 구현 : 고정확도 문서 검색을 위해 GroundX 활용
모델 컨텍스트 프로토콜 : 향상된 컨텍스트 처리를 위한 MCP와의 원활한 통합
Type-Safe : 강력한 유형 검사 및 검증을 위해 Pydantic으로 구축됨
유연한 구성 : 환경 변수를 통해 설정을 쉽게 사용자 정의할 수 있습니다.
문서 수집 : PDF 문서 수집 및 처리 지원
지능형 검색 : 점수 매기기 기능이 포함된 의미 검색 기능
Related MCP server: Chalee MCP RAG
🛠️ 필수 조건
Python 3.12 이상
OpenAI API 키
GroundX API 키
MCP CLI 도구
📦 설치
저장소를 복제합니다.
지엑스피1
가상 환경을 만들고 활성화하세요.
uv sync
source .venv/bin/activate # On Windows, use `.venv\Scripts\activate`⚙️ 구성
예제 환경 파일을 복사하세요.
cp .env.example .env.env에서 환경 변수를 구성하세요.
GROUNDX_API_KEY="your-groundx-api-key"
OPENAI_API_KEY="your-openai-api-key"
BUCKET_ID="your-bucket-id"🚀 사용법
서버 시작
다음을 사용하여 검사 서버를 실행합니다.
mcp dev server.py문서 수집
새 문서를 수집하려면:
from server import ingest_documents
result = ingest_documents("path/to/your/document.pdf")
print(result)검색 수행
기본 검색어:
from server import process_search_query
response = process_search_query("your search query here")
print(f"Query: {response.query}")
print(f"Score: {response.score}")
print(f"Result: {response.result}")사용자 정의 구성:
from server import process_search_query, SearchConfig
config = SearchConfig(
completion_model="gpt-4",
bucket_id="custom-bucket-id"
)
response = process_search_query("your query", config)📚 종속성
groundx(≥2.3.0): 핵심 RAG 기능openai(≥1.75.0): OpenAI API 통합mcp[cli](≥1.6.0): 최신 컨텍스트 처리 도구ipykernel(≥6.29.5): Jupyter 노트북 지원
🔒 보안
API 키가 포함된
.env파일을 커밋하지 마십시오.모든 민감한 정보에 환경 변수를 사용하세요
API 키를 정기적으로 순환하세요
승인되지 않은 액세스에 대한 API 사용을 모니터링합니다.
🤝 기여하기
저장소를 포크하세요
기능 브랜치를 생성합니다(
git checkout -b feature/amazing-feature)변경 사항을 커밋하세요(
git commit -m 'Add some amazing feature')브랜치에 푸시(
git push origin feature/amazing-feature)풀 리퀘스트 열기
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 Connectors
Ingest, manage, and retrieve documents for RAG-powered AI applications
The Needle MCP server enables semantic search on documents stored in files like PDFs, DOCX, and XLSX by connecting AI applications to external data sources. It provides capabilities to create and manage document collections, perform natural language searches on stored content, and retrieve relevant information without requiring exact keyword matches.
Private persistent memory for Claude, ChatGPT & Gemini via MCP - semantic search, zero-code setup.
The CustomGPT.ai MCP server is a fully managed, RAG-powered endpoint that connects large language models with private knowledge bases and external data sources. It provides tools for retrieval-augmented generation queries (send_message), data ingestion (upload_file), and source listing, enabling AI agents to query private documents like PDFs with high accuracy and real-time citations.
Related MCP Servers
- FlicenseCqualityDmaintenanceA server that implements Retrieval-Augmented Generation using GroundX and OpenAI, enabling semantic search and document retrieval with Modern Context Processing for enhanced context handling.3
- FlicenseNot gradedqualityDmaintenanceEnables RAG (Retrieval-Augmented Generation) capabilities with document processing, vector storage, and intelligent Q\&A using OpenAI embeddings and semantic search.
- AlicenseNot gradedqualityDmaintenanceEnables advanced semantic search and document management by integrating the GroundX API with Claude Desktop and GitHub Copilot. It supports local file uploads, website crawling, and Google Drive synchronization for RAG workflows.1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for document ingestion and semantic search on Qdrant. Enables ingesting local documents, generating embeddings with OpenAI, and performing vector search with metadata filters.Apache 2.0
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/sourangshupal/mcp-rag'
If you have feedback or need assistance with the MCP directory API, please join our Discord server