Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WIKI_ROOTNoRoot directory of the project whose knowledge is managed. Omit to use the server process working directory.
KNOWLEDGE_RAIL_OCR_MODENoOCR mode: 'ollama' (default) or 'native'.ollama
KNOWLEDGE_RAIL_OCR_MODELNoOCR model to use.glm-ocr:latest
KNOWLEDGE_RAIL_NATIVE_HOSTNoNative OCR base URL.http://localhost:5002
KNOWLEDGE_RAIL_OCR_RETRIESNoRetry count for OCR.
KNOWLEDGE_RAIL_OLLAMA_HOSTNoOllama base URL for OCR.http://localhost:11434
KNOWLEDGE_RAIL_OCR_TIMEOUT_MSNoPositive request timeout in milliseconds for OCR.
KNOWLEDGE_RAIL_EMBEDDING_MODELNoEmbedding model name. Required to enable semantic retrieval.
KNOWLEDGE_RAIL_EMBEDDING_API_KEYNoOptional API key for the embeddings endpoint.
KNOWLEDGE_RAIL_EMBEDDING_BASE_URLNoBase URL for OpenAI-compatible embeddings endpoint. Required to enable semantic retrieval.
KNOWLEDGE_RAIL_MERMAID_NO_SANDBOXNoSet to 'true' to disable Chromium sandbox for Mermaid rendering. Only for controlled CI/container environments.
KNOWLEDGE_RAIL_EMBEDDING_DIMENSIONSNoDimensions of the embedding model. Required to enable semantic retrieval.
KNOWLEDGE_RAIL_EMBEDDING_TIMEOUT_MSNoOptional timeout in milliseconds for embeddings requests.
KNOWLEDGE_RAIL_EMBEDDING_MODEL_VERSIONNoOptional model version for the embeddings endpoint.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

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/Deviank88/KnowledgeRail'

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