Odel
Drop to CDN

Drop to CDN

Local
@nexus-jpfTypeScriptMITUpdated 4 days ago

Upload files and get instant public CDN URLs from Claude Desktop, Cursor, and other MCP hosts.

mcp-server-droptocdn

MCP server for Drop to CDN — upload files and get instant public CDN URLs from Claude Desktop, Cursor, and other MCP hosts.

Install

Add to .cursor/mcp.json, ~/.cursor/mcp.json, or Claude Desktop's claude_desktop_config.json:

{
  "mcpServers": {
    "droptocdn": {
      "command": "npx",
      "args": ["-y", "mcp-server-droptocdn"],
      "env": {
        "DROPTOCDN_API_KEY": "dtc_YOUR_API_KEY"
      }
    }
  }
}

Create an API key at Drop to CDN → Settings → API keys (dtc_...).

Tools

ToolDescription
upload_fileUpload a local file or base64 content → public CDN URL
get_fileGet CDN URL and metadata by file ID
list_filesList files in your account (paginated)
delete_filePermanently delete a file by ID

Auth: Authorization: Bearer dtc_... (validated via GET /v1/profile).

Environment variables

VariableRequiredDescription
DROPTOCDN_API_KEYYesYour API key (dtc_...)
DROPTOCDN_API_URLNoAPI base URL (default https://api.droptocdn.com/v1)

Example prompts

  • "Upload ~/Downloads/report.pdf to CDN and give me the public URL"
  • "List my recent Drop to CDN uploads"
  • "Delete file abc123 from my CDN account"

Development

npm install
npm run build
DROPTOCDN_API_KEY=dtc_... node dist/index.js

Source

Developed by Drop to CDN. This public repo is synced from the private monorepo for npm provenance publishing.

License

MIT