DropGone

v0.1.2
com.dropgone/dropgone Checked 3 days ago Published 26 days ago

Send encrypted, expiring file links and inspect availability without consuming a download.

Hand an artifact to a person or another agent as an encrypted, expiring link, without copying its contents through the conversation. A 500 KB file stays out of the context window; the tool returns one capability link. Real link responses measure roughly 90–120 tokens with the current URL format, rather than the old unverified 44-token estimate. Treat links as secrets and preserve their fragments. This package runs as a local stdio server. Node.js 22+ is required. For an unpublished checkout, build from source using the instructions below.

Summary extracted from the README.

dropgone-mcp

Hand an artifact to a person or another agent as an encrypted, expiring link, without copying its contents through the conversation. A 500 KB file stays out of the context window; the tool returns one capability link. Real link responses measure roughly 90–120 tokens with the current URL format, rather than the old unverified 44-token estimate. Treat links as secrets and preserve their fragments.

This package runs as a local stdio server. Node.js 22+ is required.

Install a released version

npx -y dropgone-mcp@0.1.2

For an unpublished checkout, build from source using the instructions below.

Run from source

From the repository root:

npm ci --prefix mcp
npm run build --prefix mcp
DROPGONE_ALLOWED_DIRS=/absolute/path/to/artifacts node mcp/dist/cli.js

The process waits for an MCP client on stdin. Startup diagnostics go to stderr; stdout contains only protocol messages. Incoming protocol messages are capped at 1 MiB. No Railway or Wasabi credential is needed. The bundled DropGone SDK encrypts locally and uploads to the public free-tier API.

For Claude Desktop, add this entry to claude_desktop_config.json (replace both absolute paths):

{
  "mcpServers": {
    "dropgone": {
      "command": "node",
      "args": ["/absolute/path/to/dropgone/mcp/dist/cli.js"],
      "env": { "DROPGONE_ALLOWED_DIRS": "/absolute/path/to/artifacts" }
    }
  }
}

For Claude Code, add the equivalent entry in your project's .mcp.json using the same mcpServers object. Then ask your MCP host:

Send /absolute/path/to/artifacts/report.pdf using DropGone and give me the link.

Use inspect_drop with the link to check availability without consuming it. A recipient opens the link in a browser to decrypt and download. Sending is an external upload: the host should obtain the user's authorization for that file.

Tools

Tool Inputs Result
send_file Absolute path; optional name, content_type, expiry_seconds, download_policy Share link only
send_content UTF-8 content, name; same optional settings Share link only
inspect_drop Full link or bare token Compact availability, expiry, policy, and gate status

Default policy is one_successful_download. Choose until_expiry when several recipients need the file. Expiry is 60–86400 seconds; omission uses the server default. The server may clamp expiry or impose tighter quotas.

inspect_drop does not download, decrypt, or report proof of a download. Expired, consumed, deleted, and unknown drops can all be unavailable. It does not retrieve a content hash or evidence trail. Inspection may record the API's first-access observation. Only the configured API origin is contacted, regardless of the host in the supplied share link.

Configuration

Variable Default Meaning
DROPGONE_BASE_URL https://dropgone.com API origin; HTTPS required except loopback development
DROPGONE_ALLOWED_DIRS Process working directory Absolute directories separated by the platform path delimiter (: on macOS/Linux, ; on Windows)
DROPGONE_MAX_FILE_BYTES 67108864 (64 MiB) Local file cap; configurable up to 256 MiB
DROPGONE_MAX_CONTENT_BYTES 32768 (32 KiB) UTF-8 byte cap; up to 256 KiB, no greater than file cap
DROPGONE_TIMEOUT_MS 60000 Timeout per network request; up to 300000

File paths are resolved before checking allowed directories. Symlinks escaping those directories, non-regular files, and oversized files are refused. This is not an operating-system sandbox against another process modifying directory ancestors during a read. Use host sandboxing for untrusted local workloads. The SDK buffers plaintext in process memory; the file cap is deliberate. It writes no extra plaintext or key files. Existing source files are left in place.

Only one tool operation runs at a time, including inspection. Concurrent calls return BUSY instead of creating a queue. HTTP 429/503 responses return one error; Retry-After (seconds or HTTP date) blocks subsequent network calls until due. There are no automatic retries. A 402 returns an allowance message. Timeout or upload failure can leave a pending upload for the existing server janitor; a retry creates a new drop. Session ownership cookies stay in memory and disappear when the process exits.

The MCP uses the SDK's locally encrypted browser API. The separate /v1/drops developer API encrypts server-side and sees plaintext transiently; this MCP does not invoke it. Keys appear only inside returned share-link fragments, never as a separate tool field. Do not log full share links.

Release and verification

npm run typecheck --prefix mcp
npm test --prefix mcp
npm pack ./mcp

The build bundles this repository's @dropgone/sdk source so a packed MCP needs no sibling checkout or unpublished SDK package. Runtime MCP dependencies remain normal npm dependencies. Tests initialize the real stdio CLI, pin tool schemas, round-trip actual ciphertext through the browser crypto implementation, test multipart boundaries and abuse controls, and install/run a packed tarball. Network adapters in behavioral tests are fixtures. A separate opt-in live check uses the real stdio CLI, public API, and storage, with generated disposable files:

npm run build --prefix sdk
npm run build --prefix mcp
RUN_LIVE=1 npm run test:live --prefix mcp

It sends text, an empty file, and a 16 MiB multipart file; verifies exact bytes and SHA-256; checks one-time consumption and non-consuming inspection; then waits for server-clamped expiry (normally five minutes). It prints no share links or keys. DROPGONE_BASE_URL selects another environment; MCP_CLI selects a packed CLI; REPORT_PATH optionally saves a JSON report. Test drops expire automatically; physical object deletion is asynchronous. Claude Code connection was verified with the packaged server. Version 0.1.1 passed all three tools through the Codex MCP client and Claude Desktop chat on macOS; Codex desktop installation UI and Windows setup remain unverified. See client setup for released-package configuration.

Official MCP Registry metadata is in server.json, using the name com.dropgone/dropgone. The npm mcpName marker matches that name. Validate with mcp-publisher validate server.json before publishing. The presence of this file alone does not mean the listing has been published. Version 0.1.2 uses a domain-based registry identity and omits personal repository metadata; tool behavior is unchanged from 0.1.1.

Next increments

  • create_receive_link needs a backend receive-session lifecycle and upload UI.
  • Durable optional agent_id/task_id provenance and evidence inspection need authenticated API support; no local-memory substitute is presented as evidence.
  • API-key attribution and billing depend on the shared API-key work. Setting DROPGONE_API_KEY currently fails startup instead of silently ignoring it.
  • Resumable transfers depend on the SDK/backend resume work.

The versioned baseline and token-budget deviation are recorded in PROTOTYPE-CONTRACT.md, included in the package.