npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@missionsquad/mcp-dropbox

v0.4.4

Published

A Model Context Protocol server for Dropbox integration

Downloads

1,011

Readme

mcp-dropbox

@missionsquad/mcp-dropbox is a standalone Dropbox MCP server that runs over Streamable HTTP.

MissionSquad connects to this server through external MCP OAuth. This server then manages the real Dropbox OAuth lifecycle internally and persists Dropbox refresh tokens in an encrypted SQLite database on a mounted volume.

Architecture

There are two auth boundaries:

  1. mcp-api authenticates to mcp-dropbox
  2. mcp-dropbox authenticates to Dropbox

MissionSquad stores only the OAuth state needed to call this MCP server.

mcp-dropbox stores:

  • Dropbox refresh tokens
  • cached Dropbox access tokens and expiry
  • linked Dropbox account metadata
  • MCP OAuth authorization codes, access tokens, refresh tokens, and browser session state

HTTP Surface

Primary MCP endpoints:

  • POST /mcp
  • GET /mcp
  • DELETE /mcp
  • GET /healthz

OAuth and discovery endpoints:

  • /.well-known/oauth-protected-resource/mcp
  • /.well-known/oauth-authorization-server
  • /authorize
  • /token
  • /revoke
  • /register
  • /oauth/dropbox/start
  • /oauth/dropbox/callback

Persistence

The server uses:

  • SQLite on a mounted persistent volume
  • default database path: /data/mcp-dropbox.sqlite
  • AES-256-GCM encryption for sensitive persisted fields

This deployment assumes one active writer instance per database file.

Required Configuration

PORT=3000
HOST=0.0.0.0
PUBLIC_BASE_URL=https://dropboxmcp.example.com
MCP_PATH=/mcp
ALLOWED_ORIGINS=https://app.missionsquad.ai

SQLITE_PATH=/data/mcp-dropbox.sqlite
ENCRYPTION_KEY=replace-me

MCP_OAUTH_CLIENT_ID=missionsquad-dropbox
MCP_OAUTH_CLIENT_SECRET=replace-me
MCP_OAUTH_REDIRECT_URIS=https://api.missionsquad.ai/v1/mcp/oauth/callback

DROPBOX_APP_KEY=replace-me
DROPBOX_APP_SECRET=replace-me
DROPBOX_REDIRECT_URI=https://dropboxmcp.example.com/oauth/dropbox/callback
DROPBOX_SCOPES=account_info.read,files.metadata.read,files.metadata.write,files.content.read,files.content.write,sharing.read,sharing.write

LOG_LEVEL=info
DROPBOX_RETRY_MAX_ATTEMPTS=3
DROPBOX_RETRY_BASE_DELAY_MS=250

Optional local Dropbox fallback for standalone testing only:

DROPBOX_ACCESS_TOKEN=
DROPBOX_EMAIL=

MissionSquad Registration

Register the deployed server as:

{
  "source": "external",
  "transportType": "streamable_http",
  "authMode": "oauth2",
  "url": "https://dropboxmcp.example.com/mcp"
}

OAuth registration modes now supported by the server:

  • pre-registered manual client credentials using:
    • MCP_OAUTH_CLIENT_ID
    • MCP_OAUTH_CLIENT_SECRET
  • dynamic client registration through /register

The server advertises registration_endpoint in OAuth metadata when DCR is available.

Local Development

npm install
npm run build
npm test
npm run typecheck
npm start

Tool Surface

Registered tools:

  • list_folder
  • list_files
  • list_folder_continue
  • get_metadata
  • create_folder
  • delete
  • delete_batch
  • move
  • move_batch
  • copy
  • copy_batch
  • upload_file
  • upload_file_chunked
  • download_file
  • search
  • search_file_db
  • search_continue
  • list_revisions
  • restore_revision
  • create_shared_link
  • get_temporary_link
  • list_shared_links
  • revoke_shared_link
  • modify_shared_link_settings
  • get_shared_link_metadata
  • get_current_account
  • get_space_usage

Notes

  • create_shared_link is the reusable public-download-link tool
  • get_temporary_link is the short-lived anonymous direct-download tool
  • Dropbox Business delegated-member retry is preserved through the stored linked account email when available

License

MIT