Skip to content
Grok

Virtual Filesystem for Grok

io.github.lu-zhengda/virtual-fs

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

client:Grok transport:stdio runtime:npm

Install Virtual Filesystem in Grok

.mcp.json (in your project root)

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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Virtual Filesystem in other clients