Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KNOWLEDGE_OCR__ENABLEDNoWhether to enable OCR for scanned documents. Default is true.true
KNOWLEDGE_OCR__LANGUAGENoOCR language code (e.g., 'eng', 'fra'). Default is eng.eng
KNOWLEDGE_LOGGING__LEVELNoLogging verbosity level (DEBUG, INFO, etc.). Default is INFO.INFO
KNOWLEDGE_OCR__FORCE_OCRNoWhether to force OCR on all documents regardless of text extraction quality. Default is false.false
KNOWLEDGE_LOGGING__FORMATNoThe format for log messages ('text'). Default is text.text
KNOWLEDGE_EMBEDDING__DEVICENoComputation device for embeddings (e.g., 'cpu' or 'cuda'). Default is cpu.cpu
KNOWLEDGE_SEARCH__MAX_TOP_KNoMaximum number of search results allowed. Default is 50.50
KNOWLEDGE_CHUNKING__STRATEGYNoThe strategy used for chunking (e.g., 'sentence'). Default is sentence.sentence
KNOWLEDGE_CHUNKING__CHUNK_SIZENoThe number of characters per document chunk. Default is 500.500
KNOWLEDGE_EMBEDDING__BATCH_SIZENoNumber of embeddings to process per batch. Default is 32.32
KNOWLEDGE_EMBEDDING__MODEL_NAMENoThe Sentence Transformers model name to use for embeddings. Default is sentence-transformers/all-MiniLM-L6-v2.sentence-transformers/all-MiniLM-L6-v2
KNOWLEDGE_SEARCH__DEFAULT_TOP_KNoDefault number of search results to return. Default is 10.10
KNOWLEDGE_CHUNKING__CHUNK_OVERLAPNoThe number of overlapping characters between chunks. Default is 50.50
KNOWLEDGE_STORAGE__DOCUMENTS_PATHNoThe directory path where documents are stored. Default is ./data/documents../data/documents
KNOWLEDGE_STORAGE__VECTOR_DB_PATHNoThe directory path for the ChromaDB vector database. Default is ./data/chromadb../data/chromadb
KNOWLEDGE_OCR__CONFIDENCE_THRESHOLDNoOCR confidence threshold. Default is 0.0.0.0
KNOWLEDGE_PROCESSING__MAX_FILE_SIZE_MBNoMaximum allowed file size in MB for processing. Default is 100.100
KNOWLEDGE_PROCESSING__MAX_CONCURRENT_TASKSNoMaximum number of background indexing tasks to run concurrently. Default is 3.3

Capabilities

Server capabilities have not been inspected yet.

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/maxzrff/KnowledgeMCP'

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