Sypnia Files documentation
Sypnia Files stores the files of your app: photos, documents, videos and anything your users upload. Public or private buckets, rules tied to who is signed in, uploads that survive a bad connection, images resized on the fly, and an S3-compatible API.
Store a file from your app
The SDK uploads with the session of whoever is signed in, and your rules decide what they can touch.
npm install @sypnia/filesimport { createFiles } from '@sypnia/files/client';
const files = createFiles('https://<ref>.files.sypnia.com', { session: sypnia.auth });
await files.bucket('avatars').upload(`${user.id}/photo.jpg`, file);
const url = files.bucket('avatars').url(`${user.id}/photo.jpg`, { width: 256, format: 'webp' });Or let your agent do it
Buckets, rules, uploads and signed links are all in the API. Your agent works through MCP, without pasting keys in a chat.
claude mcp add --transport http sypnia-files https://mcp.files.sypnia.comHosted by us, paid with credits
Use Sypnia Files in Sypnia Cloud
- StorageAmazon S3, isolated per project, or your own bucket.
- Sign-inYour Sypnia Data project, or any JWT issuer.
- ImagesTransforms at the edge, cached by the CDN.
Open source, on any S3-compatible storage
Run the open-source engine yourself
- StorageAny S3-compatible storage: AWS S3, R2, MinIO.
- Sign-inAny issuer of JWTs, Sypnia Data included.
- ImagesTransforms in the engine.
Sypnia Cloud runs the same open-source engine, plus the console, the CDN, image transforms at the edge and billing in credits. Compare the two, line by line
The map
Every page says whether it is about the engine, Sypnia Cloud or both.
-
What Sypnia Files is, how it works, what is open source and what is Sypnia Cloud, the quickstarts, and how Sypnia uses it.
-
Buckets, paths, public and private files, metadata and quotas.
-
Who can read and write which file: policies with the same sign-in as Sypnia Data, signed URLs and keys.
-
Direct uploads, resumable uploads for big files and bad connections, and signed upload URLs.
-
Resizing, cropping and converting images in the URL, caching, and serving through the CDN.
-
The S3-compatible API, and bringing your own S3, R2 or MinIO bucket.
-
The @sypnia/files package, the files command and the MCP tools for agents.
-
The Files API: addresses, authentication, errors and limits.
-
How Sypnia Files is built: its parts, where Rust runs, and how they connect.
-
Run the engine with Docker or on AWS against your own storage and Postgres.
-
Policies, content isolation, malware scanning, the threat model and the checklist.
-
Projects, metering in credits, limits and plans.
-
Glossary, design decisions, the changelog and common questions.
Written for people and for coding agents. Every page is also plain Markdown: add .md to its address, or use the «Copy page for your agent» button. Agents can start from the index.