Skip to content

Configuration

All configuration is via environment variables.

VarDefaultMeaning
PORT8765MCP + health + dashboard port
HOST127.0.0.1Bind address; Docker compose overrides this inside the container
AUTH_TOKENemptyBearer token for /mcp and /api; required when binding off loopback
DB_PATH/data/registry.dbSQLite file (on the writable volume)
VarDefaultMeaning
SCAN_ROOTS (SCAN_DIRS)/skillsComma-separated scan roots; auto discovers all local volumes
MAX_DEPTH20Max crawl recursion depth
SCAN_ON_BOOTtruefalse serves the persisted index instantly without re-crawling
VarDefaultMeaning
MODEL_IDXenova/all-MiniLM-L6-v2Embedding model (must match EMBED_DIM)
EMBED_DIM384Vector dimension (must match the model)
ALLOW_REMOTE_MODELS01 lets the model download at runtime

These default to off/empty — Quartermaster refuses the corresponding operation until you opt in. See the security model for the full picture.

VarDefaultMeaning
HYDRATION_ROOTSemptyAllow-list of roots apply_hydration may write under
PACK_OUTPUT_ROOTSemptyAllow-list of roots materialize_pack may write under (empty = refused)
ALLOW_NETWORK_UPDATESunset (off)Master gate for any network resolver call
UPSTREAM_FETCH_TIMEOUT_MS5000Timeout for a single upstream request
MAX_UPSTREAM_FILES200Cap on files in a fetched upstream snapshot
MAX_UPSTREAM_BYTES2097152Cap on total bytes in a fetched upstream snapshot

Something not behaving? See Troubleshooting.