VDM comes with an MCP server, voltdownloadmanager-mcp, so an AI assistant that supports MCP (Claude Desktop, Claude Code, Cursor, VS Code and others) can work with the downloads in your running VDM. You ask in your own words:
- "What is VDM downloading right now, and how long is left?"
- “今晚把 https://example.com/big.iso 下载到 D:\ISOs,暂时不要开始下载。”
- “暂停所有正在下载的任务。”
- “从列表中删除已完成的下载,但保留文件。”
助手会自行启动服务器;您只需告诉助手服务器的位置,告诉一次即可。服务器通过其 自动化 API 将每个请求传递给这台电脑上的应用。
助手能做什么
| 工具 | 功能 |
|---|---|
list_downloads |
列出您的下载任务,最新任务优先:文件、地址、文件夹、状态、大小、完成度、速度。它可以只列出一个 ID、一种状态(已排队、正在下载、已停止、已完成、错误)、包含特定文本的名称和地址,或者只列出一个类别或队列;还会报告可用磁盘空间。 |
add_download |
Adds an http, https, ftp or ftps address and starts it, or only queues it (into the main queue by default, or a designated queue). It can say which folder, file name and category to use, the checksum the finished file must have, in the same form as the command line's --checksum (hex MD5, SHA-1, SHA-256, SHA-512 or CRC32, optionally named, e.g. sha256:…), and a custom Referer, User-Agent, or Cookie header. A magnet link opens Add torrent in VDM, for you to choose the files. |
pause_downloads |
暂停正在运行的下载。 |
resume_downloads |
开始或恢复已停止、排队中或失败的下载。 |
remove_downloads |
从列表中删除下载并保留其文件,或者在要求时也删除文件。正在运行的下载必须先暂停。 |
start_queue |
启动一个下载队列(默认是主队列,或按名称指定)。 |
stop_queue |
停止一个下载队列(默认是主队列,或按名称指定)。 |
The assistant can't change VDM's options, see your browser, or turn the automation API on by itself.
设置
1. 开启自动化 API
Listing and acting on downloads needs VDM's automation API, which is off until you turn it on. With VDM running, run this once (it stays on):
voltdownloadmanager-cli api on
voltdownloadmanager-cli api off turns it off again. Without the API, the assistant can still add downloads, the same as VDM's command line.
2. 查找服务器
voltdownloadmanager-mcp服务器位于应用旁边:
| 安装方式 | 服务器位置 |
|---|---|
| Windows,仅限您(安装程序的默认设置) | %LOCALAPPDATA%\Programs\Volt Download Manager\voltdownloadmanager-mcp.exe |
| Windows,所有人 | C:\Program Files\Volt Download Manager\voltdownloadmanager-mcp.exe |
| Windows,zip 或便携版 | voltdownloadmanager-mcp.exe在其文件夹中 |
| macOS | /Applications/Volt Download Manager.app/Contents/MacOS/voltdownloadmanager-mcp |
| Linux,.deb 或 .rpm | /usr/bin/voltdownloadmanager-mcp |
| Linux,.tar.gz 文件 | voltdownloadmanager-mcp在其所在文件夹中(AppImage 不会显示该文件:请使用 .tar.gz 文件) |
A portable copy's server finds the portable copy's VDM by itself, from its own folder.
3. 告知助手
Claude Desktop:设置 → 开发者 → 编辑配置会打开claude_desktop_config.json。添加服务器,然后重启 Claude Desktop:
{
"mcpServers": {
"voltdownloadmanager": {
"command": "C:\\Users\\you\\AppData\\Local\\Programs\\Volt Download Manager\\voltdownloadmanager-mcp.exe"
}
}
}
Claude Code:
claude mcp add voltdownloadmanager -- "C:\Users\you\AppData\Local\Programs\Volt Download Manager\voltdownloadmanager-mcp.exe"
Cursor:与 Claude Desktop 相同的mcpServers条目,在~/.cursor/mcp.json中(或在 Cursor 的 MCP 设置中添加)。
VS Code:在.vscode/mcp.json中,或在命令面板中选择MCP: 添加服务器:
{
"servers": {
"voltdownloadmanager": {
"type": "stdio",
"command": "C:\\Users\\you\\AppData\\Local\\Programs\\Volt Download Manager\\voltdownloadmanager-mcp.exe"
}
}
}
使用第 2 步中的路径(在 JSON 中,每个\都写成\\)。其他助手也使用相同的方式:一个启动命令,没有参数。
供 AI 工具阅读网站
Separately from the server in the app, the website describes it for AI tools in an MCP server card, /.well-known/mcp/server-card.json, and has every page in Markdown (/download.md beside /download.html), so an assistant can read how to set VDM up: see For AI tools and agents. There is no MCP server on the website: the server always runs on your computer, next to the app.
隐私
VDM itself still sends nothing anywhere: the server talks only to the VDM on this computer, over the token-protected local channel. But what the assistant reads, it passes to its own AI service: when it lists your downloads, their file names, addresses and folders go to that service, under that service's privacy terms. Turn the automation API off, or remove the server from the assistant, when you don't want that.
不工作时
| 助手提示 | 如何操作 |
|---|---|
| Volt Download Manager isn't running | Start VDM. The server can't start it for you. |
| 自动化 API 已关闭 | Run voltdownloadmanager-cli api on with VDM running. |
| VDM didn't answer in time | A window in VDM may be waiting for you (a question, Add torrent); answer it and ask again. |
| VDM refused the request | VDM's channel file is from an earlier start; restart VDM. |
| 工具根本没有显示 | 检查助手设置中的路径,然后重启助手。手动启动时,voltdownloadmanager-mcp --help会说明其状态。 |
免费、开源、无广告、无试用版。
Download Volt Download Manager