rag-mcp
by MasihMoafi
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RAG_MCP_RRF_K | No | Reciprocal Rank Fusion constant. | 60 |
| RAG_MCP_TOP_K | No | Candidates pulled from vector search before fusion. | 5 |
| RAG_MCP_MAX_DEPTH | No | Directory-scan depth limit. | 20 |
| RAG_MCP_CHUNK_SIZE | No | Characters per chunk before overlap. | 700 |
| RAG_MCP_MAX_TOKENS | No | Directory-scan size limit. | 2000000 |
| RAG_MCP_EMBED_MODEL | No | Embedding model name, meaning depends on provider. | all-MiniLM-L6-v2 |
| RAG_MCP_RERANK_TOP_K | No | Results kept after reranking. | 5 |
| RAG_MCP_CHUNK_OVERLAP | No | Characters shared between adjacent chunks. | 100 |
| RAG_MCP_EMBED_API_KEY | No | API key, only used by openai_compatible provider. | |
| RAG_MCP_RERANKER_TYPE | No | Reranker type: cross-encoder or disabled. | cross-encoder |
| RAG_MCP_EMBED_BASE_URL | No | Override endpoint for openai_compatible provider. Defaults to official OpenAI endpoint. | |
| RAG_MCP_EMBED_PROVIDER | No | Embedding provider to use: sentencetransformer (local), ollama (local server), or openai_compatible (remote). | sentencetransformer |
| RAG_MCP_RERANKER_MODEL | No | Reranker model, used when type is cross-encoder. | cross-encoder/ms-marco-MiniLM-L-6-v2 |
| RAG_MCP_WORKSPACE_ROOT | No | The root directory to search by default. Can be overridden with the doc_path parameter. If unset, the server uses the current working directory. |
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
- 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/MasihMoafi/rag-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server