Koskamo

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.

mcp-virtual-fs MCP logo, by lu-zhengdaCommunity listingLocal stdioSource reviewed; not executedPublished by lu-zhengda
Vendor documentation

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

Community listingRegistry 0.2.2
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

mcp-virtual-fs 0.2.2

npm
mcp-virtual-fs package definition
{
  "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.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "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.