Quickstart¶
Install¶
Install from PyPI. The package name is mfs-cli; the command is mfs:
For one-off use without installing a persistent tool:
For local embeddings or optional providers, install the matching extra:
For development from source:
The default install uses OpenAI embeddings and Milvus Lite.
For local embeddings while developing from source:
Build your first index¶
By default, mfs add scans files, writes work into ~/.mfs/queue.json, starts a
detached worker, and returns quickly.
To wait for embedding in the foreground:
Check progress:
Search¶
Search needs an explicit path scope or --all.
mfs search "where do we configure database retries" .
mfs search "oauth callback flow" ./docs --top-k 5
mfs search "ERR_TOKEN" ./src --mode keyword
mfs search "session storage" --all
Browse¶
mfs tree --peek -L 2 .
mfs ls --skim ./docs
mfs cat --skim ./docs/auth.md
mfs cat -n 40:90 ./docs/auth.md
Exact search¶
Indexed files use Milvus-backed keyword filtering. Non-indexed text-like files can still be searched through the system grep fallback.