Skip to content

Black Friday

Annual Pro is $90 for the first year, normally $120. Or start monthly at $6 for two months, then $12.

Ends Dec 4, 11:59 PM PT.

Create an account
← Public packages

@kentcdodds/dropbox

Upload, share, and manage Dropbox files via OAuth — small or large uploads and direct download URLs.

FollowFork

IntegrationsTopics: dropbox, files, storage, oauth, sharing, search, upload

Version
1.3.1
License
MIT
Published
November 8, 2026
Pinned commit
9d06efa
Rating
★ 5.0 (1)
Forks
0
Adaptation effort
1.0

README

Agent docs

@kentcdodds/dropbox

Intent

Provide reusable, account-agnostic Dropbox helpers for Kody agents through the standard saved dropbox OAuth integration. Cover common account, metadata, search, transfer (small and large uploads), deletion, and sharing workflows, including direct content URLs, while retaining a generic escape hatch for the rest of the Dropbox API. Agents should use these MCP exports instead of the Dropbox website UI.

What it does

  • Inspect the connected Dropbox account or storage usage
  • List folders, read metadata, and search for files
  • Download or upload file content (small single-shot or large upload sessions)
  • Upload a local file of any size from a computer with one command (scripts/upload-to-dropbox.mjs), with automatic resume and a content_hash check against the local file
  • Compute a Dropbox content_hash to verify uploads
  • Save a remote URL into Dropbox when chat cannot carry large base64
  • Delete files or create shared links with explicit confirmation
  • Ensure a shared link and return a curl-friendly direct content URL
  • Call less-common Dropbox RPC and content endpoints through ./request

Mutating helpers require confirm: true and support dryRun: true. Paths begin with /. Kody-writable files usually live under /Apps/Kody/…; list the root first. Agents: copy-paste upload and share recipes live in AGENTS.md.

Prerequisites / setup

  1. Connect a Dropbox OAuth integration named dropbox at https://kody.codes/connect/oauth?provider=dropbox.
  2. Grant the scopes your workflows need. Common scopes: account_info.read, files.metadata.read, files.metadata.write, files.content.read, files.content.write, sharing.read, sharing.write.
  3. Agents: see AGENTS.md for import paths, smoke, dryRun, and the Upload a file (small vs large) playbook.

Done when

  • The dropbox OAuth integration is connected
  • Smoke test returns { ok: true } without account PII
  • Mutations refuse without confirm: true; dryRun: true never calls Dropbox
  • A local file uploaded with scripts/upload-to-dropbox.mjs reports ok: true with matching size and content_hash
  • Large uploads use ./upload-large (or ./upload auto-delegate) with bytesBase64 in execute params, not inlined in code

Reliable large files

Use the included local-file uploader with Node 22+ and Kody CLI 3.33.1 or newer. It resumes bounded chunks and verifies Dropbox’s content hash. An uncertain finish stops for reconciliation unless the destination hash proves completion; it never silently restarts a closed session. Existing OAuth credentials are unchanged.

Report this listing

Log in to report this listing.