Skip to content
Cursor

FS Sandbox for Cursor

io.github.cardinelabs/fs-sandbox-mcp

Filesystem MCP server with folder allow-list, tamper-evident audit log, dry-run writes and undo.

client:Cursor transport:stdio runtime:npm

Install FS Sandbox in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "fs-sandbox-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cardinelabs/fs-sandbox-mcp"
      ],
      "env": {
        "FS_SANDBOX_RW_DIR": "<FS_SANDBOX_RW_DIR>",
        "FS_SANDBOX_RO_DIR": "<FS_SANDBOX_RO_DIR>",
        "FS_SANDBOX_POLICY": "<FS_SANDBOX_POLICY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

FS Sandbox in other clients