Skip to content

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/files
import { 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' });

Full quickstart

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.com

The MCP tools

Hosted 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.

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.

    Search pages, sections and terms