← Back to browse

Virtual Filesystem

Indexed by io.github.lu-zhengda

About

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

Use this server

Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.

Transportstdio (runs a local command)
Env varsDATABASE_URL VFS_AUTO_INIT VFS_SESSION_ID VFS_ENABLE_RLS
Claude Code
claude mcp add --env DATABASE_URL= --env VFS_AUTO_INIT= --env VFS_SESSION_ID= --env VFS_ENABLE_RLS= virtual-fs -- npx mcp-virtual-fs
Cursor

Add to Cursor

If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.

VS Code
code --add-mcp '{"name":"virtual-fs","command":"npx","args":["mcp-virtual-fs"],"env":{"DATABASE_URL":"","VFS_AUTO_INIT":"","VFS_SESSION_ID":"","VFS_ENABLE_RLS":""}}'
JSON
{
  "mcpServers": {
    "virtual-fs": {
      "command": "npx",
      "args": [
        "mcp-virtual-fs"
      ],
      "env": {
        "DATABASE_URL": "",
        "VFS_AUTO_INIT": "",
        "VFS_SESSION_ID": "",
        "VFS_ENABLE_RLS": ""
      }
    }
  }
}

Environment variables are listed by name only — fill in your own values. Entries never carry secrets.