Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_API_KEYNoAPI key for OpenAI (required if any backend is openai)
VOYAGE_API_KEYNoAPI key for Voyage AI (required if embedding backend is voyage)
ANTHROPIC_API_KEYNoAPI key for Anthropic (required if generator backend is anthropic)
MCPRAG_EMBEDDING_BACKENDNoEmbedding backend (local, voyage, openai, sentence-transformers)local
MCPRAG_GENERATOR_BACKENDNoGenerator backend (local, anthropic, openai)local

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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