# Drop to CDN MCP Server

> Upload files to CDN from Cursor or Claude Desktop via MCP. Install mcp-server-droptocdn with your API key.

mcp-server-droptocdn is a Model Context Protocol server that gives Cursor, Claude Desktop, and other MCP hosts four tools for uploading files and managing CDN URLs. The host launches it locally with npx; your API key stays on your machine.

## MCP quick install

Add the server to Cursor or Claude Desktop.

- Add a droptocdn entry to .cursor/mcp.json (Cursor) or claude_desktop_config.json (Claude Desktop).
- Command: npx -y mcp-server-droptocdn, with DROPTOCDN_API_KEY set in the env block.
- Restart the MCP host so it picks up the new server.

## Connect the MCP server

Three steps to go live.

- Get your API key: create one in Dashboard → Settings (starts with dtc_). Each user configures their own key locally.
- Add the MCP server: add the droptocdn block to your host config, then restart the host.
- Ask the model to upload: reference a local file path or generated content — the model calls upload_file and returns a public CDN URL.

## MCP tools

What the model can call.

- upload_file — inputs: file_path or content_base64, optional filename, retention_days, never_expire. Outputs: id, url, expires_at, size, mime_type, original_name.
- get_file — inputs: file_id. Outputs: id, url, expires_at, size, mime_type, original_name.
- list_files — inputs: optional limit, cursor. Outputs: data[], has_more, next_cursor.
- delete_file — inputs: file_id. Outputs: id, deleted: true.

## MCP server FAQ

Common questions about the MCP server.

### Do I need Node.js?

Yes. The MCP host launches npx mcp-server-droptocdn as a local process. Node 20 or newer is required.

### Where does my API key go?

Into the env block of your local MCP host config. The server reads DROPTOCDN_API_KEY on startup and calls the Drop to CDN REST API directly.

### What can the model do with it?

Upload a local file or generated content, fetch metadata by ID, list recent uploads, and delete files — all through the four MCP tools.

## More from Drop to CDN

- [Home](https://droptocdn.com/)
- [Pricing](https://droptocdn.com/pricing)
- [API Docs](https://droptocdn.com/docs)
- [Image to CDN](https://droptocdn.com/image-to-cdn)
- [Video to CDN](https://droptocdn.com/video-to-cdn)
- [PDF to CDN](https://droptocdn.com/pdf-to-cdn)
- [n8n Integration](https://droptocdn.com/integrations/n8n)
- [Zapier Integration](https://droptocdn.com/integrations/zapier)
- [Make Integration](https://droptocdn.com/integrations/make)
- [Activepieces Integration](https://droptocdn.com/integrations/activepieces)
- [MCP (Cursor, Claude)](https://droptocdn.com/integrations/mcp)
- [CLI (agents & terminal)](https://droptocdn.com/integrations/cli)
- [Buffer Integration](https://droptocdn.com/integrations/buffer)
- [Loom to CDN](https://droptocdn.com/loom-to-cdn)
- [Privacy Policy](https://droptocdn.com/privacy)
- [Terms of Service](https://droptocdn.com/terms)

- [Site index for agents (llms.txt)](https://droptocdn.com/llms.txt)
- [XML sitemap](https://droptocdn.com/sitemap.xml)
- [OpenAPI specification](https://api.droptocdn.com/v1/openapi.json)

---

Canonical HTML page: https://droptocdn.com/integrations/mcp
