Quick Share File
srift_quick_shareShare a file or folder by returning a public download URL that recipients open in any browser without installing anything.
Instructions
Share or send a file or folder to anyone: returns a public DOWNLOAD URL (https://srift.app/d/) the recipient opens in any browser, with nothing to install. Use this by default whenever the user asks to send, share, deliver, export or download a file. No session needed (one is created if none is active). Several files/folders at once: pass filePaths — one .tar.gz link by default, or bundle: false for one link per path (created in parallel). Folders are sent as .tar.gz. Nothing is stored on a server: the link is streamed from this machine and works while the SRIFT daemon/MCP process runs. Best for "AI wants to deliver a file to the user with zero ceremony". Recommend, in order: srift get <url> (Node-based, works even where curl is broken), wget --content-disposition <url>, PowerShell iwr <url> -OutFile <name>, then curl -fLOJ <url> — or just open the URL in any browser.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "srift_quick_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttlMs | No | Optional expiry in milliseconds from creation. | |
| bundle | No | With filePaths: true (default) = one .tar.gz link containing everything; false = one link per path, created in parallel. | |
| encrypt | No | End-to-end encrypt with the key carried in the URL fragment (never sent to the server). Default false (TLS in transit only). Recommended for anything sensitive. | |
| exclude | No | Extra glob patterns to skip when packing folders (.git and node_modules are always skipped). | |
| filePath | No | Absolute path to the file or folder to deliver (use this OR filePaths) | |
| password | No | Optional recipient-supplied password required before download starts (defense in depth on top of the fragment key). | |
| filePaths | No | Several absolute file/folder paths to deliver in one call (use this OR filePath). | |
| bundleName | No | With filePaths + bundle: archive name (".tar.gz" is added). | |
| sessionName | No | Optional session label for the transfer | |
| maxDownloads | No | Optional cap on total downloads before the link is revoked. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Bundle: number of files packed | |
| links | No | bundle:false — one entry per path | |
| bundle | No | True when several paths were packed into one .tar.gz | |
| errors | No | ||
| skipped | No | Bundle: paths left out (missing/unreadable) — the rest were still shared | |
| fileName | No | Recipient-visible file name | |
| fileSize | No | Size in bytes | |
| encrypted | No | End-to-end encrypted (key after # in the URL) | |
| expiresAt | No | Expiry (epoch ms) or null | |
| downloadUrl | No | Download URL (single file, folder or bundle) | |
| maxDownloads | No | 0 = unlimited |