GolinksPRO Download Manager
  1. 主页
  2. 帮助
  3. AI 助手 (MCP)

AI 助手 (MCP)

GDM comes with an MCP server, misterdownloadmanager-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 GDM. You ask in your own words:

  • "What is GDM downloading right now, and how long is left?"
  • “今晚把 https://example.com/big.iso 下载到 D:\ISOs,暂时不要开始下载。”
  • “暂停所有正在下载的任务。”
  • “从列表中删除已完成的下载,但保留文件。”

助手会自行启动服务器;您只需告诉助手服务器的位置,告诉一次即可。服务器通过其 自动化 API 将每个请求传递给这台电脑上的应用。

助手能做什么

工具 功能
list_downloads 列出您的下载,最新优先:文件、地址、文件夹、状态、大小、已完成百分比、速度。它可以只列出一种状态(排队中、正在下载、已停止、完成、错误),或者只列出包含某些文本的名称和地址。
add_download Adds an http, https, ftp or ftps address and starts it, or only queues it. It can say which folder and file name to use. A magnet link opens Add torrent in GDM, for you to choose the files.
pause_downloads 暂停正在运行的下载。
resume_downloads 开始或恢复已停止、排队中或失败的下载。
remove_downloads 从列表中删除下载并保留其文件,或者在要求时也删除文件。正在运行的下载必须先暂停。
start_queue 启动主下载队列。

The assistant can't change GDM's options, see your browser, or turn the automation API on by itself.

设置

1. 开启自动化 API

Listing and acting on downloads needs GDM's automation API, which is off until you turn it on. With GDM running, run this once (it stays on):

misterdownloadmanager-cli api on

misterdownloadmanager-cli api off turns it off again. Without the API, the assistant can still add downloads, the same as GDM's command line.

2. 查找服务器

misterdownloadmanager-mcp服务器位于应用旁边:

安装方式 服务器位置
Windows,仅限您(安装程序的默认设置) %LOCALAPPDATA%\Programs\GolinksPRO Download Manager\misterdownloadmanager-mcp.exe
Windows,所有人 C:\Program Files\GolinksPRO Download Manager\misterdownloadmanager-mcp.exe
Windows,zip 或便携版 misterdownloadmanager-mcp.exe在其文件夹中
macOS /Applications/GolinksPRO Download Manager.app/Contents/MacOS/misterdownloadmanager-mcp
Linux,.deb 或 .rpm /usr/bin/misterdownloadmanager-mcp
Linux,.tar.gz 文件 misterdownloadmanager-mcp在其所在文件夹中(AppImage 不会显示该文件:请使用 .tar.gz 文件)

A portable copy's server finds the portable copy's GDM by itself, from its own folder.

3. 告知助手

Claude Desktop:设置 → 开发者 → 编辑配置会打开claude_desktop_config.json。添加服务器,然后重启 Claude Desktop:

{
  "mcpServers": {
    "misterdownloadmanager": {
      "command": "C:\\Users\\you\\AppData\\Local\\Programs\\GolinksPRO Download Manager\\misterdownloadmanager-mcp.exe"
    }
  }
}

Claude Code:

claude mcp add misterdownloadmanager -- "C:\Users\you\AppData\Local\Programs\GolinksPRO Download Manager\misterdownloadmanager-mcp.exe"

Cursor:与 Claude Desktop 相同的mcpServers条目,在~/.cursor/mcp.json中(或在 Cursor 的 MCP 设置中添加)。

VS Code:在.vscode/mcp.json中,或在命令面板中选择MCP: 添加服务器:

{
  "servers": {
    "misterdownloadmanager": {
      "type": "stdio",
      "command": "C:\\Users\\you\\AppData\\Local\\Programs\\GolinksPRO Download Manager\\misterdownloadmanager-mcp.exe"
    }
  }
}

使用第 2 步中的路径(在 JSON 中,每个\都写成\\)。其他助手也使用相同的方式:一个启动命令,没有参数。

隐私

GDM itself still sends nothing anywhere: the server talks only to the GDM 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.

不工作时

助手提示 如何操作
GolinksPRO Download Manager isn't running Start GDM. The server can't start it for you.
自动化 API 已关闭 Run misterdownloadmanager-cli api on with GDM running.
GDM didn't answer in time A window in GDM may be waiting for you (a question, Add torrent); answer it and ask again.
GDM refused the request GDM's channel file is from an earlier start; restart GDM.
工具根本没有显示 检查助手设置中的路径,然后重启助手。手动启动时,misterdownloadmanager-mcp --help会说明其状态。

免费、开源、无广告、无试用版。

Download GolinksPRO Download Manager