{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.lu-zhengda/virtual-fs",
  "slug": "lu-zhengda.mcp-virtual-fs",
  "title": "Virtual Filesystem",
  "summary": "PostgreSQL-backed virtual filesystem for agents: session isolation, shared stores, POSIX ops, RLS.",
  "version": "0.2.2",
  "serverKey": "virtual-fs",
  "pageUrl": "https://mcpkglabs.com/tool/lu-zhengda.mcp-virtual-fs",
  "installMdUrl": "https://mcpkglabs.com/tool/lu-zhengda.mcp-virtual-fs/install.md",
  "trust": {
    "score": 78,
    "grade": "B",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T16:30:49.064978237Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-virtual-fs@0.2.2"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add virtual-fs -e 'DATABASE_URL=<DATABASE_URL>' -- npx -y mcp-virtual-fs@0.2.2"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"virtual-fs\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-virtual-fs@0.2.2\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"DATABASE_URL\": \"<DATABASE_URL>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"virtual-fs\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-virtual-fs@0.2.2\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"DATABASE_URL\": \"<DATABASE_URL>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"DATABASE_URL\",\n      \"id\": \"database-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"virtual-fs\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-virtual-fs@0.2.2\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"DATABASE_URL\": \"${input:database-url}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.virtual-fs]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-virtual-fs@0.2.2\"]\nenv = { \"DATABASE_URL\" = \"<DATABASE_URL>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "DATABASE_URL",
      "required": true,
      "secret": true,
      "description": "PostgreSQL connection string (e.g. postgresql://user:pass@host:5432/dbname)",
      "help": "PostgreSQL connection string (e.g. postgresql://user:pass@host:5432/dbname)",
      "placeholder": "<DATABASE_URL>"
    },
    {
      "name": "VFS_AUTO_INIT",
      "required": false,
      "secret": false,
      "description": "Auto-create database tables on startup (set to 'true' for first run)",
      "help": "Auto-create database tables on startup (set to 'true' for first run)",
      "placeholder": "<VFS_AUTO_INIT>"
    },
    {
      "name": "VFS_SESSION_ID",
      "required": false,
      "secret": false,
      "description": "Deterministic session ID for resumable sessions across restarts",
      "help": "Deterministic session ID for resumable sessions across restarts",
      "placeholder": "<VFS_SESSION_ID>"
    },
    {
      "name": "VFS_ENABLE_RLS",
      "required": false,
      "secret": false,
      "description": "Enable PostgreSQL Row Level Security for database-enforced session isolation",
      "help": "Enable PostgreSQL Row Level Security for database-enforced session isolation",
      "placeholder": "<VFS_ENABLE_RLS>"
    }
  ],
  "expectedTools": [
    "read",
    "write",
    "append",
    "stat",
    "ls",
    "mkdir",
    "rm",
    "mv",
    "glob",
    "grep",
    "stores"
  ],
  "agentSteps": [
    "Ask the user for: DATABASE_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: read, write, append, stat, ls, mkdir, rm, mv, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T16:30:49.064978237Z"
}
