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، یک فایل فشرده یا نسخه قابل حمل | 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: همان ورودی mcpServers Claude Desktop، در ~/.cursor/mcp.json (یا آن را در تنظیمات MCP Cursor اضافه کنید).
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