SRIFT - Secure P2P File Transfer, Encrypted Chat & Communication | Decentralized & Military-Grade Encryption | For Humans & AI Agents / MCPs.
- ✓Open-source license (Apache-2.0)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
- !Install pipes a remote script into a shell (curl | sh)
claude mcp add srift-open-source -- npx -y srift-transfer{
"mcpServers": {
"srift-open-source": {
"command": "npx",
"args": ["-y", "srift-transfer"]
}
}
}MCP Servers overview
# SRIFT — Secure P2P File Transfer & MCP Server for AI Agents
[](https://www.npmjs.com/package/srift-transfer)
[](https://opensource.org/licenses/MIT)
[](https://nodejs.org/)
[](https://registry.modelcontextprotocol.io)
[](https://smithery.ai/servers/srift/srift)
[](https://glama.ai/mcp/connectors/app.srift/srift)
[](https://srift.app)
[](https://srift.app/privacy)
> **Zero-config, zero-token peer-to-peer secure file transfer, encrypted chat, and Model Context Protocol (MCP) server for AI coding agents & developers.**
Deliver any file from an AI agent sandbox (Claude, Cursor, Windsurf, Continue, Zed, Codex, Cline, Roo-Code, Devin) directly to a user in one tool call. End-to-end encrypted with AES-256-GCM. No cloud storage, no account signups, no API keys.
🌐 **Web Platform:** [https://srift.app](https://srift.app)
📦 **GitHub Repository:** [https://github.com/srivardhan113/SRIFT-Open_Source](https://github.com/srivardhan113/SRIFT-Open_Source)
🤖 **AI Agent Hub:** [https://srift.app/ai-agents](https://srift.app/ai-agents)
---
## ⚡ Why SRIFT for AI Agents?
AI coding agents run in sandboxed environments. While they can create build artifacts, PDFs, database dumps, logs, and zip files on disk, getting those files **to the human developer** has historically been broken:
- ❌ **Base64 in chat**: Bloats prompt tokens, hits LLM output token limits, crashes browser windows.
- ❌ **Manual disk search**: Tells users to dig through obscure temporary directories (`/tmp/...` or `~/.cache/...`).
- ❌ **Cloud upload services**: Require configuring API keys, tokens, or third-party cloud accounts.
### The SRIFT Solution: One Command, Instant Delivery
SRIFT gives your agent a local headless daemon and toolset to seed files locally and generate a direct download link:
```bash
srift quick-share ./dist/release-bundle.zip
# ↳ https://srift.app/d/7k3m9xq
```
The user opens the link in any web browser or runs `curl -OJ https://srift.app/d/7k3m9xq` or `wget --content-disposition https://srift.app/d/7k3m9xq`. **The recipient needs nothing installed.**
**Session** transfers are end-to-end encrypted with **AES-256-GCM**, keys derived locally (PBKDF2-SHA256, 100,000 iterations) and never sent to any server.
> **⚠️ The sender's daemon must be alive for the link to work.**
> SRIFT keeps no server-side copy — the daemon streams the file from your disk
> on demand. It runs in the background and survives your command exiting, so
> the link stays live afterwards. But if the daemon stops (machine sleeps or
> reboots, or `srift daemon stop`) the link returns `503 sender is offline`.
> This is the direct trade-off for zero retention: nothing is stored, so
> nothing can be served once the source goes away.
Public `quick-share` links are designed to be opened by any browser, `curl` or `wget` — clients that hold no key and run no SRIFT code. What SRIFT guarantees for quick-share is **zero retention**: bytes stream from the sender straight to the open HTTP response, are never written to SRIFT storage, and are served `Cache-Control: no-store`. If you need the relay to be unable to read the content, use a session transfer instead of a public link.
---
## 🚀 Installation
### Global Install via npm (Node.js 20+)
```bash
npm install -g srift-transfer
```
### Standalone Binary (Zero Node.js dependency)
- **macOS / Linux / WSL / Termux (POSIX sh):**
```bash
curl -fsSL https://srift.app/install.sh | sh
```
- **Windows PowerShell:**
```powershell
irm https://srift.app/install.ps1 | iex
```
- **Windows Command Prompt:**
```cmd
powershell -NoProfile -ExecutionPolicy Bypass -Command "irm https://srift.app/install.ps1 | iex"
```
### On-Demand via npx
```bash
npx srift-transfer quick-share ./build/output.zip
```
---
## 🛠 Model Context Protocol (MCP) Setup
SRIFT ships a native Model Context Protocol server exposing **14 agent tools**, resources, and prompt templates over the local stdio/HTTP transports. The hosted endpoint exposes 8 of them (see below).
### Automatic One-Command Setup
Run the auto-installer to print or register config into supported IDEs:
```bash
srift install-mcp # prints copy-paste config for all major clients
srift install-mcp --auto # writes directly into Claude Desktop config
```
### Manual Client Configuration
#### Claude Desktop
Add to your `%APPDATA%\Claude\claude_desktop_config.json` (Windows) or `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS):
```json
{
"mcpServers": {
"srift": {
"command": "srift",
"args": ["mcp"]
}
}
}
```
#### Cursor
Add to `~/.cursor/mcp.json` or workspace configuration:
```json
{
"mcpServers": {
"srift": {
"command": "srift",
"args": ["mcp"]
}
}
}
```
#### Windsurf
Add to `~/.codeium/windsurf/mcp_config.json`:
```json
{
"mcpServers": {
"srift": {
"command": "srift",
"args": ["mcp"]
}
}
}
```
#### Continue.dev
Add to `~/.continue/config.yaml`:
```yaml
mcpServers:
- name: srift
command: srift
args: ["mcp"]
```
#### Zed
Add to `~/.config/zed/settings.json`:
```json
{
"context_servers": {
"srift": {
"command": { "path": "srift", "args": ["mcp"] }
}
}
}
```
#### Cloud & Browser-Based Agents (Zero-Install MCP)
For web-based agents (ChatGPT, Claude.ai, Gemini, Perplexity) that cannot run local binaries:
```json
{
"mcpServers": {
"srift": {
"type": "streamable-http",
"url": "https://srift.app/mcp"
}
}
}
```
> **This endpoint exposes 8 of the 14 tools** — session and peer orchestration
> only: `start_session`, `join_session`, `session_status`, `close_session`,
> `approve_join`, `reject_join`, `kick_user`, `list_transfers`.
>
> `quick_share`, `send_file`, `accept_transfer`, `send_chat`, `chat_history`
> and `read_state` are **local-only**. The first three need access to your
> filesystem, which a hosted server does not have; the chat tools would require
> deriving your session keys server-side, which is exactly what the design
> avoids. Install the CLI if you need those.
---
## 🧰 MCP Tools Reference (14 Tools)
| Tool | Parameters | Description |
|---|---|---|
| `srift_quick_share` | `filePath` (string), `maxDownloads?` (number), `ttlMs?` (number) | **Primary tool.** Seeds file and returns public `https://srift.app/d/<token>` download URL. |
| `srift_start_session` | `sessionName?` (string), `roomSecret?` (string) | Starts a new peer session with host role; returns room code & URL. |
| `srift_join_session` | `sessionId` (string), `username?` (string), `roomSecret?` (string) | Requests to join an existing session as a peer. |
| `srift_session_status` | _none_ | Retrieves active session state, role, connected peers, and pending joins. |
| `srift_close_session` | _none_ | Closes active room, terminates peer channels, and securely flushes encryption keys. |
| `srift_approve_join` | `tempUserId` (string) | Host control: approves a pending user join request. |
| `srift_reject_join` | `tempUserId` (string), `reason?` (string) | Host control: rejects a pending user join request. |
| `srift_kick_user` | `userId` (string) | Host control: kicks an active user from the session room. |
| `srift_send_file` | `filePath` (string), `protocol?` ("webtorrent" \| "websocket") | Offers a file for direct peer-to-peer transfer to joined peers. |
| `srift_accept_transfer` | `fileId` (string), `saveDir?` (string) | Accepts an inbound file offer and streams it to local disk. |
| `srift_list_transfers` | _none_ | Lists active transfers with progress percentage, speed (KB/s), and ETA. |
| `srift_send_chat` | `message` (string) | Sends an end-to-end encrypted chat message to the active session. |
| `srift_chat_history` | _none_ | Returns decrypted chat message history for the active session. |
| `srift_read_state` | _none_ | Returns atomic snapshot of `.srift-state.json` (transfers, session, peers). |
### MCP Resources & Prompts
- **Resources**: `srift://session/status`, `srift://transfers/active`, `srift://chat/messages`, `srift://workspace/state`, `srift://docs/quickstart`
- **Prompts**: `send_file_to_user`, `receive_file_from_user`, `start_collab_session`
---
## 💻 CLI Command Reference
All CLI commands support `--json` for machine-readable JSON output suitable for subagents and CI/CD pipelines.
### Public File Sharing (Recipient needs nothing installed)
```bash
# Generate public link with unlimited downloads and no expiration
srift quick-share /path/to/archive.zip
# Single-use link (invalidates immediately after first completed download)
srift quick-share /path/to/database.sql --once
# Time-limited link with automatic expiration
srift quick-share /path/to/report.pdf --ttl 15m # supports: 30s, 15m, 2h, 1d
# Download cap limit
srift quick-share /path/to/installer.exe --max-downloads 5
# Manage active links
srift pubshare list # list all active public links and counters
srift pubshare revoke <token> # immediately revoke an active link
```
### Collaborative Sessions & P2P Rooms
```bash
srift session start [--name "Project Review"] # create session as host
srift session join <session-id> # join existing room
srift session status # view peers and role
srift session close # teardown room & clear keys
```
### P2P File What people ask about SRIFT-Open_Source
What is srivardhan113/SRIFT-Open_Source?
+
srivardhan113/SRIFT-Open_Source is mcp servers for the Claude AI ecosystem. SRIFT - Secure P2P File Transfer, Encrypted Chat & Communication | Decentralized & Military-Grade Encryption | For Humans & AI Agents / MCPs. It has 1 GitHub stars and its last recorded update is dated 2026-09-08.
How do I install SRIFT-Open_Source?
+
You can install SRIFT-Open_Source by cloning the repository (https://github.com/srivardhan113/SRIFT-Open_Source) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is srivardhan113/SRIFT-Open_Source safe to use?
+
Our security agent has analyzed srivardhan113/SRIFT-Open_Source and assigned a Trust Score of 87/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains srivardhan113/SRIFT-Open_Source?
+
srivardhan113/SRIFT-Open_Source is maintained by srivardhan113. The last recorded GitHub activity is dated 2026-09-08, with 0 open issues.
Are there alternatives to SRIFT-Open_Source?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy SRIFT-Open_Source to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/srivardhan113-srift-open-source)<a href="https://claudewave.com/repo/srivardhan113-srift-open-source"><img src="https://claudewave.com/api/badge/srivardhan113-srift-open-source" alt="Featured on ClaudeWave: srivardhan113/SRIFT-Open_Source" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!