mcp-rag
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENAI_API_KEY | No | API key for OpenAI (required if any backend is openai) | |
| VOYAGE_API_KEY | No | API key for Voyage AI (required if embedding backend is voyage) | |
| ANTHROPIC_API_KEY | No | API key for Anthropic (required if generator backend is anthropic) | |
| MCPRAG_EMBEDDING_BACKEND | No | Embedding backend (local, voyage, openai, sentence-transformers) | local |
| MCPRAG_GENERATOR_BACKEND | No | Generator backend (local, anthropic, openai) | local |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_documentsB | Search the knowledge base for passages relevant to a query. Args: query: natural-language search query. top_k: number of passages to return. method: retrieval strategy — "semantic", "lexical", or "hybrid". |
| answer_questionA | Answer a question grounded in the knowledge base, with citations. Args: question: the user's question. top_k: how many passages to ground the answer in. |
| list_sourcesA | List the documents available in the knowledge base. |
| get_statsA | Return index size and the active embedding/generation backends. |
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/elhassane1230/mcp-rag'
If you have feedback or need assistance with the MCP directory API, please join our Discord server