📁 A rust implementation of a aria2 MCP server. 🤖
6.6K
A high-performance Model Context Protocol (MCP) server written in Rust that enables Large Language Models (LLMs) to manage and monitor aria2 download instances. This server acts as a secure, context-efficient bridge for autonomous download management, queue monitoring, and automated file organization.
Start the server quickly by providing your aria2 RPC secret and host information:
docker run --rm \
-e ARIA2_RPC_SECRET="your-secret-token" \
-e ARIA2_RPC_ENDPOINT="http://localhost:6800/jsonrpc" \
nicholaswilde/aria2-mcp-rs
Deploy the MCP server alongside a local aria2 instance:
services:
mcp-server:
image: nicholaswilde/aria2-mcp-rs
environment:
- ARIA2_RPC_ENDPOINT=http://aria2:6800/jsonrpc
- ARIA2_RPC_SECRET=${ARIA2_SECRET}
depends_on:
- aria2
aria2:
image: p3terx/aria2-pro
# ... standard aria2 configuration ...
The server exposes several specialized tools to LLMs for advanced management:
manage_downloads: Add, pause, resume, or remove downloads.inspect_download: Get detailed metadata and status for specific GIDs.search_downloads: Find downloads using regex patterns on filenames or URIs.manage_torrent: Specialized tools for adding and inspecting BitTorrent files.configure_aria2: Dynamically update global or session-specific aria2 settings.The image is highly configurable via environment variables:
ARIA2_RPC_ENDPOINT: The JSON-RPC URL for your aria2 instance.ARIA2_RPC_SECRET: Authentication token for the RPC interface.MCP_LOG_LEVEL: Adjust logging verbosity (info, debug, trace).ARIA2_MCP_STORAGE_PATH: Path for persistent state and file organization.Note: This project is currently in active development. Features and tool signatures may change.
Content type
Image
Digest
sha256:41724efe3…
Size
13.5 MB
Last updated
7 months ago
docker pull nicholaswilde/aria2-mcp-rs