mcp-curl-downloader
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-curl-downloader Download https://example.com/file.pdf to ~/Downloads"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-curl-downloader
MCP server for downloading files via HTTP/HTTPS — like curl but integrated with AI assistants (Claude Desktop, VS Code, Cursor, etc.).
Quick Start
npx -y mcp-curl-downloaderNo installation needed. The server starts on stdio and speaks the Model Context Protocol (MCP).
Related MCP server: MCP File Downloader
Claude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"curl-downloader": {
"command": "npx",
"args": ["-y", "mcp-curl-downloader"]
}
}
}Config file location:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Tool: download_file
Downloads a file from a URL to any local directory or file path.
Parameters
Parameter | Type | Required | Default | Description |
|
| yes | — | File URL (http/https only) |
|
| yes | — | Destination directory or full file path |
|
| no | auto-detected | Custom filename (only when |
|
| no |
| HTTP headers as key-value pairs |
|
| no |
| Overwrite existing file |
Examples
Download to a directory (filename auto-detected from URL):
{
"url": "https://example.com/report.pdf",
"dest_path": "/home/user/downloads"
}Download with custom filename:
{
"url": "https://example.com/data.csv",
"dest_path": "/tmp",
"filename": "my_data.csv"
}Download with auth headers:
{
"url": "https://api.example.com/export",
"dest_path": "./output.json",
"headers": { "Authorization": "Bearer token123" }
}Overwrite existing file:
{
"url": "https://example.com/latest.zip",
"dest_path": "/home/user/archive.zip",
"overwrite": true
}Response
Success:
{
"success": true,
"file_path": "/home/user/downloads/report.pdf",
"file_size": 1048576,
"content_type": "application/pdf",
"message": "Successfully downloaded: /home/user/downloads/report.pdf (1.00 MB)"
}Failure:
{
"success": false,
"error": "File already exists: \"/home/user/downloads/report.pdf\". Set overwrite=true to replace.",
"url": "https://example.com/report.pdf",
"dest_path": "/home/user/downloads"
}Security
Protocol whitelist: Only
http:andhttps:are allowedURL validation: Malformed URLs are rejected
Path traversal protection: Filenames are sanitized (
../, Windows-illegal characters, control characters removed)File size limit: 500 MB default (configurable via
CONFIG.MAX_FILE_SIZE)Overwrite protection: Existing files are not overwritten unless
overwrite: trueTimeout: 5 minutes per download (configurable via
CONFIG.TIMEOUT_MS)
Development
# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run dev
# Test with MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.jsRequirements
Node.js >= 18 (uses built-in
fetchandstream/promises)
License
MIT
Available Tools
1 tooldownload_fileA
Download a file from a URL to a local directory or file path.
Features:
Supports HTTP and HTTPS protocols
Streams large files efficiently (no memory pressure)
Auto-detects filename from URL or Content-Disposition header
Creates parent directories automatically
Configurable timeout (300s) and size limit (500MB)
Safe filename sanitization (removes dangerous characters)
Examples:
Download to directory: { "url": "https://example.com/file.pdf", "dest_path": "/home/user/downloads" }
Download with custom name: { "url": "https://example.com/data.csv", "dest_path": "/tmp", "filename": "my_data.csv" }
With auth headers: { "url": "https://api.example.com/export", "dest_path": "./output.json", "headers": { "Authorization": "Bearer token123" } }
Inputs: url (required), dest_path (required), headers, filename, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
There is only one tool, so there is zero ambiguity between tools. The tool has a single, clearly defined purpose: downloading files from a URL.
With only one tool, there is no pattern to evaluate for consistency. The name 'download_file' uses a reasonable verb_noun convention, but a single tool doesn't demonstrate any naming system.
A single tool feels thin for a downloader server. The downloader domain could reasonably include tools like list_directory, delete_file, or check_file_status to provide a more complete surface, though a minimalist download-only server is defensible.
The tool covers download functionality well, but represents a dead-end surface. There is no way to check whether a download succeeded (no status/history), no way to remove downloaded files, or resolve/validate URLs before downloading. Agents hit a hard wall after invoking download_file.
Maintenance
Related MCP Connectors
Download files and images from URLs to storage with a public link, size, type and SHA-256
Persistent file storage for AI agents via MCP and curl. Upload, download, and version files.
Turn any video or audio link into files, transcripts and metadata, right from your AI agent.
File tools for your AI chat: PDF tables to Excel, merge PDFs, images to PDF, fill PDF forms.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to download images from URLs and perform basic image optimization tasks.217Apache 2.0
- AlicenseBqualityDmaintenanceEnables Claude Desktop to download files from web URLs with automatic browser fallback for JavaScript-heavy sites. Supports smart redirect handling, custom file naming, and cross-platform compatibility.14MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI to upload local files to RustFS storage service and download files from HTTP/HTTPS URLs to local paths. Built with FastMCP and RustFS SDK for seamless file operations through natural language.-
- AlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that enables AI assistants to download files from URLs to the local filesystem.24MIT