GridFSVFS mounts a MongoDB GridFS bucket (file metadata in <bucket>.files, content chunks in <bucket>.chunks) as a read-write filesystem. Files are keyed by slash-separated filenames, writes keep old revisions, and a walk (find, du, ls -R, tree, grep -r) reads the whole subtree with one fs.files query (Walks).
Setup steps for the connection URI live at GridFS Credentials.
Node
mongodb driver is an optional peer dependency; it is only loaded when a GridFSVFS is constructed.
Scoping to a key prefix
/data/notes.md, the stored filename is users/<id>/data/notes.md. YAML configs may spell it key_prefix; both are accepted.
Browser
GridFS requires a direct MongoDB connection, soGridFSVFS ships in @struktoai/mirage-node only. Browser workspaces can reach GridFS content through a Node-side MIRAGE server instead.