Skip to content
Zed

Virtual Filesystem for Zed

io.github.lu-zhengda/virtual-fs

PostgreSQL-backed virtual filesystem for agents: session isolation, shared stores, POSIX ops, RLS.

client:Zed transport:stdio runtime:npm

Install Virtual Filesystem in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "virtual-fs": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-virtual-fs"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "VFS_AUTO_INIT": "<VFS_AUTO_INIT>",
        "VFS_SESSION_ID": "<VFS_SESSION_ID>",
        "VFS_ENABLE_RLS": "<VFS_ENABLE_RLS>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

Virtual Filesystem in other clients