An MCP server that provides AI agents with a persistent, PostgreSQL-backed virtual filesystem. Supports session-isolated file operations, cross-session shared stores, 11 POSIX-style tools (read, write, ls, mkdir, rm, mv, glob, grep, etc.), and optional Row Level Security for multi-tenant deployments. Works with Claude Desktop, Claude Code, Cursor, Windsurf, Cline, and any MCP client.
Server Config
{
"mcpServers": {
"virtual-fs": {
"command": "npx",
"args": [
"-y",
"mcp-virtual-fs"
],
"env": {
"DATABASE_URL": "<YOUR_POSTGRESQL_CONNECTION_STRING>",
"VFS_AUTO_INIT": "true"
}
}
}
}