This MCP server enables AI assistants to securely download files from HTTP/HTTPS URLs to the local filesystem with comprehensive validation and control features.
Core Capabilities:
Single & batch downloads - Download individual files or up to 100 files concurrently
Configurable limits - File size validation (1-5000 MB, default 500MB) and timeout settings (1-300 seconds, default 60 seconds)
Smart file handling - Automatic unique filename generation to prevent overwrites, custom output directories (default ~/Downloads/mcp-downloads/)
Detailed results - Returns file paths, sizes, content types, and success/failure status for each download
Security features - URL validation and size restrictions for safe operations
MCP URL Downloader
A Model Context Protocol (MCP) server that enables AI assistants to download files from URLs to the local filesystem.
Features
Download single or multiple files from URLs with concurrent support
File size validation (configurable, default 500MB)
Unique filename generation to prevent overwrites
Security
Installation
Configuration
Claude Desktop
To integrate server with Claude, add the following to your claude_desktop_config.json file:
Tools
download_single_file
Download a single file from a URL with optional custom filename.
Parameters:
url(string, required): URL of the file to downloadMust be a valid HTTP/HTTPS URL
Maximum length: 2048 characters
output_dir(string, optional): Directory to save the fileDefault:
~/Downloads/mcp-downloads/Must be a valid writable directory path
filename(string, optional): Custom filename for the saved fileIf not provided, extracted from URL
Will be sanitized automatically
Extension will be preserved or detected
timeout(number, optional): Download timeout in secondsDefault:
60Range:
1-300
max_size_mb(number, optional): Maximum file size in MBDefault:
500Range:
1-5000
download_files
Download multiple files from URLs concurrently.
Parameters:
urls(array of strings, required): List of URLs to downloadEach URL must be valid HTTP/HTTPS
Maximum: 100 URLs per request
Each URL max length: 2048 characters
output_dir(string, optional): Directory to save all filesDefault:
~/Downloads/mcp-downloads/All files will be saved to this directory
timeout(number, optional): Download timeout in seconds per fileDefault:
60Range:
1-300
max_size_mb(number, optional): Maximum file size in MB per fileDefault:
500Range:
1-5000
Rate Limits
Maximum 100 URLs per
download_filesrequestMaximum concurrent downloads: 10 (configurable up to 50)
URL length limited to 2048 characters
Timeout range: 1-300 seconds
File size range: 1-5000 MB
Development
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A Model Context Protocol (MCP) server that enables AI assistants to download files from URLs to the local filesystem.
Related MCP Servers
- AsecurityAlicenseAqualityEnables AI assistants to download images from URLs and perform basic image optimization tasks.Last updated -2811Apache 2.0
- AsecurityFlicenseAqualityProvides a tool to download entire websites using wget. It preserves the website structure and converts links to work locally.Last updated -1138
- AsecurityAlicenseAqualityThis server enables users to download entire websites and their assets for offline access, supporting configurable depth and concurrency settings.Last updated -15MIT License