Virtual Filesystem MCP Server

An MCP server that provides AI agents with a persistent, PostgreSQL-backed virtual filesystem. Supports session-isolated file operations, cross-session shared stores, glob/grep search, and Row Level Security - all exposed as standard Model Context Protocol tools. It runs locally over stdio via the published package.

People connecting filesystem tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-02-16 · ★ 3 · #27 OF 34 MAINTAINED FILESYSTEM · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install Virtual Filesystem

before you install - you'll need

Set DATABASE_URL, VFS_AUTO_INIT, VFS_SESSION_ID, VFS_ENABLE_RLS, POSTGRES_DB, POSTGRES_PASSWORD before connecting.

Claude Code

claude mcp add lu-zhengda-mcp-virtual-fs -- npx -y mcp-virtual-fs

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "lu-zhengda-mcp-virtual-fs": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-virtual-fs"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package mcp-virtual-fs - unscoped; check the name against the project README before installing

registry namespace io.github.lu-zhengda is GitHub-verified and matches the repo owner

03 · What Virtual Filesystem can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v0.2.2 · 2026-02-11

Add MIT LICENSE file · Add branch protection with required CI checks (lint, test-unit, test-integration, build) · Bump version to 0.2.2

v0.2.1 · 2026-02-09

Adds mcpName field to package.json for MCP registry validation. No functional changes.

v0.2.0 · 2026-02-09

Renamed tool: move → mv · Renamed tool: list_stores → stores · Renamed response field: created_parents → has_parents (write tool) · Store param description explains session vs store lifecycle · rm description clarifies…

04 · Who maintains Virtual Filesystem

Virtual Filesystem is maintained by lu-zhengda. We track 2 MCP servers from lu-zhengda - 2 actively maintained, 4 combined GitHub stars, oldest repo from Feb 2026.

05 · Facts

category
filesystem - ranked #27 of 34 actively-maintained filesystem servers as of 2026-08-25.
registry
io.github.lu-zhengda/virtual-fs (active, first published 2026-02-09 · 2 versions)
packages
npm:mcp-virtual-fs

06 · Virtual Filesystem FAQ

What is Virtual Filesystem?

An MCP server that provides AI agents with a persistent, PostgreSQL-backed virtual filesystem. Supports session-isolated file operations, cross-session shared stores, glob/grep search, and Row Level Security - all exposed as standard Model Context Protocol tools. It runs locally over stdio via the published package.

Is Virtual Filesystem still maintained?

Yes - as of 2026-08-25, its last commit was 2026-02-16. We re-verify nightly.

How do I install Virtual Filesystem?

Run `npx -y mcp-virtual-fs`. The README documents 6 environment variables (DATABASE_URL, VFS_AUTO_INIT, VFS_SESSION_ID…) to set first. Set DATABASE_URL, VFS_AUTO_INIT, VFS_SESSION_ID, VFS_ENABLE_RLS, POSTGRES_DB, POSTGRES_PASSWORD before connecting. You can also paste the ready-made client config above.

Does Virtual Filesystem run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Virtual Filesystem

More filesystem MCP servers · Devtools · Octofs · Pickanagency · OWA Exchange MCP Server

More TypeScript MCP servers · Openroad MCP (luarss) · Mismem · YouTube Video Analyzer · Toon Memory · Elster MCP Server · see all