justdrop-mcp
Enables AI agents to send and receive files securely via JustDrop, with end-to-end encryption, QR codes, and no server-side storage.
README
justdrop-mcp
Give your AI agent a way to hand you files — live, end-to-end encrypted, nothing stored.
justdrop-mcp is an MCP (Model Context Protocol) server for JustDrop. Your agent creates a room, you scan a QR or open a link on any device, and the files move — encrypted before they leave the machine, decrypted only on yours, gone when the room closes. No account on either end. The receiving device needs nothing installed: just a browser.
You: "drop dist/report.pdf to my phone"
Agent: Room code: brave-otter-4821
Link: https://justdrop.ai/app#join=brave-otter-4821
[QR code]
You: *scan, tap, done — the room self-destructs*
It works the other way too: "grab the screenshot from my phone" gives you a QR; whatever you drop from the phone lands decrypted in your working directory, and the agent keeps working with it.
Install
Requires Node.js 20+.
claude mcp add justdrop -- npx -y justdrop-mcp
Or in .mcp.json / any MCP client config:
{
"mcpServers": {
"justdrop": {
"command": "npx",
"args": ["-y", "justdrop-mcp"],
"env": {
"JUSTDROP_ROOT": "C:/path/to/allowed/folder"
}
}
}
}
Tools
| Tool | What it does |
|---|---|
drop |
Send files/folders. Returns room code + link + QR immediately; the transfer runs automatically when the recipient opens the link. Pass room_code to send into an existing room instead. |
receive |
Receive files into a directory. Creates a room (code + link + QR) and saves anything dropped into it, decrypted, automatically. Pass room_code to join a room someone else created. |
status |
Live progress: peer presence, per-file state, saved paths. |
cancel |
Destroys a room this session created (files + metadata deleted), or leaves a joined room. |
Configuration
| Env var | Default | Meaning |
|---|---|---|
JUSTDROP_BASE_URL |
https://justdrop.ai |
Backend to talk to (point at http://localhost:3000 for local dev). |
JUSTDROP_ROOT |
server's working directory | The only directory the server may read from / save into. |
JUSTDROP_DEFAULT_EXPIRY_MINUTES |
60 |
Room lifetime when a tool doesn't specify one (1–1440). |
Safety model
An MCP server that reads local files is a prompt-injection target, so the guardrails are structural, not polite suggestions:
- Root jail — every path (sent or saved) must resolve inside
JUSTDROP_ROOT. Anything else is refused. - Credential refusal — dotfiles (
.env,.npmrc, …), SSH/TLS keys, keystores, cloud credential files, and shell histories are never sent, even when named explicitly. There is no override flag. - Explicit manifests — every
dropresult lists exactly which files were queued, so the user sees what's leaving. - Server-side blocklist parity — extensions JustDrop rejects (
.exe,.bat, …) are refused up front with a hint to zip instead. - Ephemeral by default — rooms carry an expiry (default 60 min) and self-destruct after delivery.
How the transfer works
dropcreates a room and registers an RSA-2048 public key; the tool returns the code/link/QR immediately.- When the recipient opens the link, their browser registers its own key. Rooms are one-to-one by design — treat the room code like the secret it is.
- Each file gets a fresh AES-256-GCM key, encrypted for both parties' RSA keys. The encrypted blob is relayed through short-lived signed URLs — the relay never sees plaintext or keys.
- Delivery is observed live; the room (and everything in it) is destroyed afterwards.
Files are encrypted in one shot in memory (format parity with the web app), so very large files need commensurate RAM. The hard cap is 2GB per file.
Local development
npm install
npm run verify # builds, boots ../justdrop-simple dev server, runs both test suites
# or piecewise, against a server you started yourself:
npm run build
node test/e2e.mjs http://localhost:3000 # core roundtrip (both directions + SSE)
node test/mcp-smoke.mjs http://localhost:3000 # full MCP stdio protocol exercise
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。