Skip to content
Cursor

Virtual Filesystem for Cursor

io.github.lu-zhengda/virtual-fs

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

client:Cursor transport:stdio runtime:npm

Install Virtual Filesystem in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

{
  "mcpServers": {
    "virtual-fs": {
      "type": "stdio",
      "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>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Virtual Filesystem in other clients