Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SOURCE_DIRNoDocument source directory./data/source
POSTGRES_DBNoPostgreSQL database nameragdb
EMBEDDING_DIMNoEmbedding dimension size1024
POSTGRES_HOSTNoPostgreSQL host addresslocalhost
POSTGRES_PORTNoPostgreSQL port number5432
POSTGRES_USERNoPostgreSQL usernamepostgres
PROCESSED_DIRNoProcessed document directory./data/processed
EMBEDDING_MODELNoEmbedding model to use (e.g., intfloat/multilingual-e5-large, cl-nagoya/ruri-v3-30m)intfloat/multilingual-e5-large
POSTGRES_PASSWORDNoPostgreSQL passwordpassword
EMBEDDING_PREFIX_QUERYNoPrefix automatically added to search queries for the embedding modelquery:
EMBEDDING_PREFIX_EMBEDDINGNoPrefix automatically added to documents being indexed for the embedding modelpassage:

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/karaage0703/mcp-rag-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server