Drop to CDN
Upload files and get instant public CDN URLs from Claude Desktop, Cursor, and other MCP hosts.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
mcp-server-droptocdnclaude mcp add drop-to-cdn -e 'DROPTOCDN_API_KEY=<your droptocdn_api_key>' -e 'DROPTOCDN_API_URL=<DROPTOCDN_API_URL>' -- npx -y mcp-server-droptocdn@0.1.3
{
"mcpServers": {
"drop-to-cdn": {
"command": "npx",
"args": [
"-y",
"mcp-server-droptocdn@0.1.3"
],
"env": {
"DROPTOCDN_API_KEY": "<your droptocdn_api_key>",
"DROPTOCDN_API_URL": "<DROPTOCDN_API_URL>"
}
}
}
}
متغيرات البيئة
DROPTOCDN_API_KEYإلزامي سري Drop to CDN API key (dtc_...). Create one at https://droptocdn.com/dashboard/settingsDROPTOCDN_API_URLAPI base URL (default https://api.droptocdn.com/v1)
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
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
| Tool | Description |
|---|---|
| upload_file | Upload a local file or base64 content → public CDN URL |
| get_file | Get CDN URL and metadata by file ID |
| list_files | List files in your account (paginated) |
| delete_file | Permanently delete a file by ID |
Auth: Authorization: Bearer dtc_... (validated via GET /v1/profile).
Environment variables
| Variable | Required | Description |
|---|---|---|
DROPTOCDN_API_KEY | Yes | Your API key (dtc_...) |
DROPTOCDN_API_URL | No | API base URL (default https://api.droptocdn.com/v1) |
Example prompts
- "Upload
~/Downloads/report.pdfto 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
الأسئلة الشائعة
ما هو Drop to CDN؟
Upload files and get instant public CDN URLs from Claude Desktop, Cursor, and other MCP hosts.
كيف أثبّت Drop to CDN؟
يعمل على جهازك. في Claude Code: claude mcp add drop-to-cdn -e 'DROPTOCDN_API_KEY=<your droptocdn_api_key>' -e 'DROPTOCDN_API_URL=<DROPTOCDN_API_URL>' -- npx -y mcp-server-droptocdn@0.1.3. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Drop to CDN إلى مفتاح API؟
نعم. يتطلب DROPTOCDN_API_KEY، وتضبطها في إعداداته.
هل Drop to CDN مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون Drop to CDN؟
ينشره Nexus-JPF. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.