Virtual Filesystem MCP Server
by lu-zhengdaio.github.lu-zhengda/virtual-fsv0.2.2
MCP server providing AI agents with persistent, PostgreSQL-backed virtual filesystem — session-isolated file operations, cross-session stores, glob/grep search, and Row Level Security
context tax
pending
security
97/100
cold start
pending
freshness
Stale9mo ago
Our reading of Virtual Filesystem, from the data
Virtual Filesystem is a database MCP server from lu-zhengda, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
It looks stale: the newest commit, release or package publish we found was 9 months ago (2026-02-16). For comparison, 63% of database servers are active or maintained.
With 3 GitHub stars it ranks #413 of 1,397 database servers we index.
It runs locally on your machine over stdio and needs one secret (DATABASE_URL); use a scoped, least-privilege key.
Install Virtual Filesystem MCP server
Install in Claude Code
claude mcp add virtual-fs -e DATABASE_URL='<database-url>' -- npx -y mcp-virtual-fsInstall in Cursor
{
"mcpServers": {
"virtual-fs": {
"command": "npx",
"args": [
"-y",
"mcp-virtual-fs"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"virtual-fs": {
"command": "npx",
"args": [
"-y",
"mcp-virtual-fs"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"virtual-fs": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-virtual-fs"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"virtual-fs": {
"command": "npx",
"args": [
"-y",
"mcp-virtual-fs"
],
"env": {
"DATABASE_URL": "<database-url>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test mcp-virtual-fs --env DATABASE_URL
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| DATABASE_URL | yes | yes | PostgreSQL connection string (e.g. postgresql://user:pass@host:5432/dbname) |
| VFS_AUTO_INIT | — | — | Auto-create database tables on startup (set to 'true' for first run) |
| VFS_SESSION_ID | — | — | Deterministic session ID for resumable sessions across restarts |
| VFS_ENABLE_RLS | — | — | Enable PostgreSQL Row Level Security for database-enforced session isolation |
Security signals
97/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
- No security policy (SECURITY.md)-3
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ○Package metadata (install scripts, provenance) — pending
- ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Stale — last maintenance signal 9mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-02-16 · 9mo ago · GitHub
Latest release
2026-02-11 · 9mo ago · GitHub · v0.2.2
Package published
no data · npm/PyPI
Registry entry updated
2026-02-11 · 9mo ago · official registry · v0.2.2
How it compares in Database
Against the most-starred database servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Virtual Filesystem (this) | 3 | — | not measured | Stale | local |
| Screenpipe | 21,982 | — | not measured | Active | — |
| Genai Toolbox | 16,679 | — | not measured | Active | hosted |
| Convex Backend | 12,716 | — | not measured | Active | — |
| Kubeshark | 12,100 | — | not measured | Active | local |
| Baserow | 6,174 | — | not measured | Active | — |
FAQ
›How do I install the Virtual Filesystem MCP server in Claude Code?
Run: claude mcp add virtual-fs -e DATABASE_URL='<database-url>' -- npx -y mcp-virtual-fs. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Virtual Filesystem require an API key?
Yes. It expects DATABASE_URL, of which 1 is a secret.
›Can I use Virtual Filesystem as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Virtual Filesystem in the official MCP registry?
Yes, as io.github.lu-zhengda/virtual-fs.
Sources and method
- Official MCP Registry entry
- updated 2026-02-11
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to Virtual Filesystem
Other database MCP servers.