Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BASE_URLNoExplicit public origin. HTTPS except on loopback.
CHUNK_SIZENoApprox tokens per chunk512
OLLAMA_URLNoURL of the Ollama instance (used when provider is ollama)
SECRET_KEYYesitsdangerous signer key
VAULT_PATHNoIn-container vault mount/obsidian
FTS_CONFIGSNoKeyword-search text-search config(s). JSON or CSV.english
DATABASE_URLYesPostgreSQL connection string, e.g. postgresql+asyncpg://user:pass@host/db
MCP_HOSTNAMENoPublic hostname. Derives BASE_URL, ALLOWED_ORIGINS and ALLOWED_HOSTS as https://<host>. Required (or BASE_URL) for the transfer tools.
ALLOWED_HOSTSNoAccepted Host headers, JSON list. localhost is always added.
CHUNK_OVERLAPNoToken overlap between chunks0
OPENAI_API_KEYNoOpenAI API key (required when provider is openai)
ALLOWED_ORIGINSNoCORS origins, JSON list
EMBEDDING_MODELNoOllama model namebge-m3
MULTI_USER_MODENoIn-app login, per-user vaults. See Multi-user mode.false
OPENAI_BASE_URLNoOverride for Azure or proxieshttps://api.openai.com/v1
SESSION_MAX_AGENoPanel session lifetime, seconds (multi-user mode)604800
MCP_SANDBOX_MODENoRegistry-eval only. Skips DB, indexer, embedding provider, and /mcp auth.false
IMPORT_ALLOW_HTTPNoLet import_from_url fetch plain httpfalse
OLLAMA_KEEP_ALIVENoHow long Ollama keeps the model resident-1
EMBEDDING_PROVIDERNoEmbedding provider: ollama or openaiollama
MAX_FILE_READ_BYTESNoread_file cap (10 MB)10485760
SESSION_COOKIE_NAMENoPanel session cookie nameomcp_session
EMBEDDING_DIMENSIONSNopgvector column width1024
MAX_FILE_WRITE_BYTESNowrite_file cap (25 MB)26214400
MCP_RATE_LIMIT_BURSTNoCapacity of the general bucket30
INDEX_INTERVAL_SECONDSNoPeriodic reindex cadence300
MCP_AUTH_FAILURE_LIMITNoFailed /mcp authentications one client address may make per window before a 42960
OPENAI_EMBEDDING_MODELNoOpenAI model nametext-embedding-3-small
MAX_READ_RESPONSE_CHARSNoread_note / read_file cap on what is returned to the caller40000
MCP_RATE_LIMIT_PER_MINUTENoSustained tool calls per minute per principal120
SESSION_PURGE_RETAIN_DAYSNoHow long a dead panel session row is kept7
EMBEDDING_EXCLUDE_PATTERNSNoGlobs skipped by the embedder["*.excalidraw.md","Excalidraw/*"]
MCP_WRITE_RATE_LIMIT_BURSTNoCapacity of the write bucket15
OAUTH_KNOWN_REDIRECT_HOSTSNoRedirect hosts the consent screen badges as known connector destinations. JSON or CSV.claude.ai,chatgpt.com
TRANSFER_TOKEN_TTL_SECONDSNoDefault life of a transfer link600
DEFAULT_DAILY_REQUEST_LIMITNoDaily quota a newly created API key receives5000
MCP_AUTH_FAILURE_TABLE_SIZENoCounter slots in the fixed-size address table4096
TRANSFER_MAX_UPLOAD_SECONDSNoHow long one claimed upload may stream before the token is spent600
WRITE_PRECONDITION_REQUIREDNoRequire expected_hash on supported destructive callsfalse
SESSION_TOUCH_INTERVAL_SECONDSNoHow stale a session's last_seen_at may get before a validated GET/HEAD rewrites it60
MCP_AUTH_FAILURE_WINDOW_SECONDSNoWindow for auth failure budget300
MCP_WRITE_RATE_LIMIT_PER_MINUTENoSustained vault-mutating calls per minute per principal60
TRANSFER_MAX_CONCURRENT_UPLOADSNoSimultaneous upload streams4
MCP_REFUSAL_LOG_INTERVAL_SECONDSNoHow long one rate-refusal coalescing window stays open10
MCP_LIMITER_MAX_TRACKED_PRINCIPALSNoPrincipals holding their own limiter entry before sharing one overflow entry10000
VAULT_ALLOW_NAMED_STAGING_FALLBACKNoAccept named staging on filesystems without O_TMPFILEfalse
VAULT_ROOT_OBSERVE_TIMEOUT_SECONDSNoHow long the vault-root overlap check waits on one root before giving up on it. Multi-user mode only.10

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