mcp-virtual-fs MCP
A community-driven Model Context Protocol server that exposes a persistent, PostgreSQL-backed virtual filesystem to AI agents. It enables session-isolated file operations, cross-session shared stores for long-term memory, and POSIX-style tools like read, write, and grep. The server decouples storage from the agent runtime, ensuring data survives process restarts and container recycling while supporting Row Level Security for multi-tenant deployments.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Agent scratchpad for persistent workspace across tool calls
- Long-term agent memory using named persistent stores
- Multi-agent collaboration through shared cross-session stores
- Sandboxed file operations without touching the host OS
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
mcp-virtual-fs 0.2.2
{
"version": "0.2.2",
"transport": "stdio",
"identifier": "mcp-virtual-fs",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "DATABASE_URL",
"isRequired": true,
"description": "PostgreSQL connection string (e.g. postgresql://user:pass@host:5432/dbname)"
},
{
"name": "VFS_AUTO_INIT",
"description": "Auto-create database tables on startup (set to 'true' for first run)"
},
{
"name": "VFS_SESSION_ID",
"description": "Deterministic session ID for resumable sessions across restarts"
},
{
"name": "VFS_ENABLE_RLS",
"description": "Enable PostgreSQL Row Level Security for database-enforced session isolation"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"mcp-virtual-fs-mcp": {
"command": "npx",
"args": [
"-y",
"mcp-virtual-fs@0.2.2"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>",
"VFS_AUTO_INIT": "<YOUR_VFS_AUTO_INIT>",
"VFS_SESSION_ID": "<YOUR_VFS_SESSION_ID>",
"VFS_ENABLE_RLS": "<YOUR_VFS_ENABLE_RLS>"
}
}
}
}Cline
{
"mcpServers": {
"mcp-virtual-fs-mcp": {
"command": "npx",
"args": [
"-y",
"mcp-virtual-fs@0.2.2"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>",
"VFS_AUTO_INIT": "<YOUR_VFS_AUTO_INIT>",
"VFS_SESSION_ID": "<YOUR_VFS_SESSION_ID>",
"VFS_ENABLE_RLS": "<YOUR_VFS_ENABLE_RLS>"
}
}
}
}VS Code
{
"servers": {
"mcp-virtual-fs-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-virtual-fs@0.2.2"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>",
"VFS_AUTO_INIT": "<YOUR_VFS_AUTO_INIT>",
"VFS_SESSION_ID": "<YOUR_VFS_SESSION_ID>",
"VFS_ENABLE_RLS": "<YOUR_VFS_ENABLE_RLS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"mcp-virtual-fs-mcp": {
"command": "npx",
"args": [
"-y",
"mcp-virtual-fs@0.2.2"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>",
"VFS_AUTO_INIT": "<YOUR_VFS_AUTO_INIT>",
"VFS_SESSION_ID": "<YOUR_VFS_SESSION_ID>",
"VFS_ENABLE_RLS": "<YOUR_VFS_ENABLE_RLS>"
}
}
}
}Let your agent find its tools
Find servers like mcp-virtual-fs MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.