mfs-cli 0.4.0-beta.1

MFS CLI — shell-native client for Multi-source File-like Search
mfs-cli-0.4.0-beta.1 is not a library.

mfs — CLI for Multi-source File-like Search

mfs is the CLI client for MFS: a unified file-like search interface over codebases, docs, databases and SaaS workspaces. It exposes everything through familiar shell verbs (ls, cat, tree, head, tail, grep) plus mfs search for hybrid semantic + literal retrieval.

This crate is the binary. The matching server (Python, in the same monorepo) runs the connectors, ingest pipeline, embedding and retrieval. See the main project README for the server setup:

https://github.com/zilliztech/mfs

Install

One-line installer (Linux / macOS, x86_64 / arm64):

curl --proto '=https' --tlsv1.2 -LsSf \
  https://github.com/zilliztech/mfs/releases/latest/download/mfs-cli-installer.sh | sh

Or:

cargo install mfs-cli

Quickstart

Assumes the server is running on 127.0.0.1:8765 (the CLI's default endpoint). See the main repo for how to start it.

mfs status                              # server up? connectors registered?
mfs add ./my-repo                       # register a directory, indexes in the background
mfs status file://my-repo               # poll until 'available'

mfs search "rate limit handler" --connector-uri file://my-repo --top-k 5
mfs cat file://my-repo/src/throttle.go --range 42:78

Pointing at a non-default server

export MFS_API_URL=http://my-server:8765
mfs status

Status

This is the v0.4.x beta line. APIs may shift before v0.4.0 stable. Track the main repo for changes:

https://github.com/zilliztech/mfs/releases

License

Apache-2.0.