RAG MCP Gateway
by aniliou-85
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_API_KEY | No | API Key for Google Generative AI. Required for enrichment. | |
| RAG_MCP_DB_PATH | No | Path to the Orama persistence folder. | BASE_DIR/data/orama_db |
| RAG_MCP_BASE_DIR | No | Base directory for all relative paths. | process.cwd() |
| RAG_MCP_LOG_PATH | No | Path to the debug log file. | BASE_DIR/rag-mcp.log |
| RAG_MCP_ENABLE_LLM | No | Enable LLM enrichment (summaries and questions) during indexing. | false |
| RAG_MCP_CONFIG_PATH | No | Path to the downstream servers config file. | BASE_DIR/config.json |
| RAG_MCP_ENABLE_DENSE | No | Enable semantic vector search (Dense retrieval). | true |
| RAG_MCP_ENABLE_SPARSE | No | Enable full-text keyword search (Sparse retrieval). | true |
| RAG_MCP_REBUILD_INDEX | No | Set to 'true' to force a full re-index on every startup. | false |
| RAG_MCP_EMBEDDING_MODEL | No | Transformers.js model for generating vector embeddings. Required if Dense enabled. | |
| RAG_MCP_ENABLE_RERANKER | No | Enable the cross-encoder reranking stage. | true |
| RAG_MCP_LOGGING_ENABLED | No | Set to 'true' to enable debug logging to the log file. | false |
| RAG_MCP_RERANKING_MODEL | No | Transformers.js model for second-stage reranking. Required if Reranker enabled. | |
| RAG_MCP_GENERATIVE_MODEL | No | Google Gemini model for tool enrichment. Required if LLM enabled. | |
| RAG_MCP_SEARCH_THRESHOLD | No | Minimum relevance score (0.0 to 1.0) for search results. | 0.85 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- 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/aniliou-85/rag-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server