MCP RAG Integrations
Provides a SQLite database backend for storing and querying FAQ data as part of a retrieval-augmented generation (RAG) system.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP RAG IntegrationsHow do I return a damaged product?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Lesson 3 project: scalable and modular RAG
The lesson is a conceptual reading rather than a filmed code-along. This project makes each idea executable:
Lesson concept | Project implementation |
Separate orchestration from application code |
|
Retrieval as a first-class capability | Discoverable MCP tool |
Multiple independent data sources | Text documents, an in-memory SQLite FAQ, and a runtime status feed behind four |
Dynamic, context-aware retrieval | Gemini selects source keys, depth, and keyword/broad ranking; offline mode has a deterministic fallback |
Observability and control | Every route/read/retrieve decision is returned in |
Modular and replaceable components | Each source is a catalog entry and independent text adapter |
adapters.py gives every source the same small read() contract. Products and
policies use document adapters, support is queried through SQLite, and live
status is generated at request time from environment configuration. Any one of
them can be replaced by an API adapter without changing the client,
orchestration code, resource URI, or model-facing contract.
Setup
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -r requirements.txt
Copy-Item .env.example .envAdd your Gemini API key to GEMINI_API_KEY in .env. The default model is
gemini-3.6-flash; set GEMINI_MODEL to another Gemini model ID if needed.
Related MCP server: MCP Docs Server
Run
python modular_rag_client.py --question "How do I return a damaged product?"See discovery, deterministic routing, evidence, and the retrieval trace without an API call:
python modular_rag_client.py --question "Are there current shipping delays?" --no-llmTry an unrelated question to observe the router's safe fallback to all sources:
python modular_rag_client.py --question "Explain quantum entanglement." --no-llmTest
python -m unittest discover -s tests -vProduction extension seam
To replace the simulated status file with a live API:
Keep the
statuscatalog key andrag://statusURI stable.Add an API-backed implementation of the
KnowledgeAdaptercontract and select it inbuild_adapters().Add timeout, caching, authentication, and retry behavior in that adapter.
The client and model-facing retrieval contract do not need to change.
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.
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/zeezafra/MCP-RAG-Integrations'
If you have feedback or need assistance with the MCP directory API, please join our Discord server