OptionalcacheOverride the persistent cache file location.
OptionalcacheIn-memory parsed-note cache capacity.
OptionaldiagnosticExpose diagnostic / debug tools (obsidian_full_text_search etc.).
OptionaldisabledPer-tool gating: deny list. Tools named here won't register.
OptionalenabledPer-tool gating: allow list. Only listed tools register (deny still applies).
Optionalenablev2.9.0 — enable BGE cross-encoder reranking on top of RRF in obsidian_search. Off by default; adds ~30-50ms per query at top-50.
OptionalenableAllow write tools (obsidian_create_note, obsidian_append_note,
obsidian_rename_file). Default false (read-only).
OptionalexcludePrivacy: glob patterns to exclude from the vault.
Optionalhnswv2.13.0 — HNSW search-time beam width (default 100; ≥k).
Optionalhnswv2.16.0 — persist HNSW index to disk for fast reload on next serve.
Default true (the persistence is a pure optimization; corrupt files
fall back to rebuild gracefully). Pass --no-hnsw-persist to opt out.
Optionalincludev2.8.0 — also index PDFs into FTS5 (and embeddings, if a build-embeddings with --include-pdfs ran). Off by default; opt-in because PDF extraction is slower than markdown.
OptionalindexOverride the FTS5 index file location.
Optionallatev2.15.0 — late-chunking context windowing for embeddings (default 0 chars).
OptionalmaxPer-file size cap (parsed via parsePositiveInt).
Optionalocrv3.9.0-rc.1 — Tesseract language pack for OCR-on-watch. Default "eng".
Multi-lang via +, e.g. "eng+rus". Languages must be pre-installed
via enquire-mcp install-ocr-lang <code> (no runtime download).
Optionalocrv3.9.0-rc.1 — page cap for OCR-on-watch runs. Default 200 (matches
DEFAULT_OCR_MAX_PAGES). Image-only PDFs exceeding this skip embed-sync
(FTS5 still updates from the pdfjs extractPdfText result, which
returns empty pages for image-only PDFs).
Optionalocrv3.9.0-rc.1 — also run Tesseract OCR on image-only / scanned PDFs that
pdfjs can't read text from, so the watcher's embed-db sync keeps
OCR'd PDFs in sync with edits during a long serve session. Requires
--watch + --include-pdfs + the tesseract.js / @napi-rs/canvas
optional dependencies. Off by default — OCR is slow (~1-2s per page
on M1 CPU; bounded by --ocr-max-pages, default 200).
OptionalpersistentPersist the parse cache across server restarts.
OptionalpersistentEnable the persistent FTS5 index (requires better-sqlite3).
Optionalquantizev2.17.0 — vector storage encoding for the persistent embed db.
"f32" (default) — Float32 BLOB, identical to v2.16- behavior."int8" — int8-quantized BLOB + per-vector (vMin, scale) Float32
tuple. ~4× storage reduction at ~1-2% recall@10 cost.
Mode is per-database; switching modes triggers a full rebuild
(the meta-table contamination guard treats it as a schema change).
Must match the mode used at build-embeddings time — serving with a
different mode would auto-rebuild the index.OptionalreadPrivacy: glob patterns that form a strict allowlist.
Optionalrerankerv2.9.0 — reranker model alias (default "rerank-multilingual").
Optionalrerankerv2.9.0 — how many top fused candidates to rerank (default 50).
OptionaltokenizeFTS5 tokenizer mode.
Optionalusev2.13.0 — build an in-memory HNSW vector index on serve start. Off by default; rebuild cost ~25s for 50K chunks. Sub-10ms top-K per query thereafter, vs O(n) brute-force without it. Defers persistence to v3.0.
Absolute path to the vault root directory. Required.
OptionalwatchEnable the filesystem watcher (auto-reindex on change).
Configuration for startServer / prepareServerDeps. Mirrors the CLI flag surface (
enquire-mcp serve --vault X --enable-write) but typed as a plain options object so HTTP transport / tests can call the same entry points programmatically.Strings on numeric fields (e.g.
maxFileBytes,cacheSize) reflect the fact that callers usually pass CLI args verbatim — parsing happens insideprepareServerDepsvia parsePositiveInt.