Virtual Filesystem for VS Code
io.github.lu-zhengda/virtual-fs
PostgreSQL-backed virtual filesystem for agents: session isolation, shared stores, POSIX ops, RLS.
client:VS Code
transport:stdio
runtime:npm
Install Virtual Filesystem in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "database-url",
"description": "DATABASE_URL",
"password": true
},
{
"type": "promptString",
"id": "vfs-auto-init",
"description": "VFS_AUTO_INIT",
"password": true
},
{
"type": "promptString",
"id": "vfs-session-id",
"description": "VFS_SESSION_ID",
"password": true
},
{
"type": "promptString",
"id": "vfs-enable-rls",
"description": "VFS_ENABLE_RLS",
"password": true
}
],
"servers": {
"virtual-fs": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-virtual-fs"
],
"env": {
"DATABASE_URL": "${input:database-url}",
"VFS_AUTO_INIT": "${input:vfs-auto-init}",
"VFS_SESSION_ID": "${input:vfs-session-id}",
"VFS_ENABLE_RLS": "${input:vfs-enable-rls}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs