S2
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
S2
Self-hosted file storage with folder permissions for people, apps, and AI agents.
Give each one only the folders it needs: Read or Read + Write per path, with an expiry date. Use it from the web UI, REST, WebDAV, and MCP. Files are stored as plaintext at rest.
Getting started
Two containers (app, Postgres) from ghcr.io/hrs23/s2. The app listens on 127.0.0.1:${S2_PORT:-3000}; put a TLS proxy in front.
mkdir s2 && cd s2
curl -fsSLO https://raw.githubusercontent.com/hrs23/s2/main/compose.yaml
printf 'AUTH_SECRET=%s\nPOSTGRES_PASSWORD=%s\nAPP_URL=http://localhost:3000\n' \
"$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .envSet APP_URL to the public URL. Keep AUTH_SECRET and POSTGRES_PASSWORD unchanged afterwards; other options are in .env.example.
docker compose up -d
curl --fail http://127.0.0.1:3000/health
docker compose exec app pnpm user create --email owner@example.comUpdate
docker compose pull && docker compose up -dSet S2_VERSION in .env to pin a release (default latest). Migrations run on startup.
Reset password
docker compose exec app pnpm user set-password --email owner@example.comBackup
Stop the stack and copy .env and ./data (POSTGRES_DATA_PATH and S2_STORAGE_PATH) together; the database cannot be opened without the original POSTGRES_PASSWORD. Do this before an upgrade that notes a breaking change.
Flags
Variable | Default | Effect |
|
| Self-service sign-up |
|
| Passkeys |
|
| TOTP and recovery codes |
|
| Email verification and password reset; needs |
Maintenance
Runs daily in the app (MAINTENANCE_ENABLED=true, MAINTENANCE_CRON="0 17 * * *", UTC). One-shot:
docker compose exec app pnpm maintenanceTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
User-owned files and explicit AI Memories for authorized assistants with scoped access.
Persistent file storage for AI agents via MCP and curl. Upload, download, and version files.
Cloud storage with email-receiving buckets. Store and share files with people and AI agents.
Persistent file storage for AI agents. Save files over MCP, get a link a human can open.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to read, write, and manage files on the local system with security features like path restrictions and optional read-only mode.92MIT
- AlicenseBqualityBmaintenancePathgate is a MCP server which gives AI tools access to your filesystem102MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search, update, manage files, and run terminal commands on a computer, with remote access via Streamable HTTP and OAuth 2.0 for integration with ChatGPT and web agents.1MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to read and optionally write Jottacloud files via the MCP protocol, with secure token-based authentication and configurable path restrictions.7242 npmMIT