M. ZAHAN // SENIOR SYSTEMS ARCHITECTURE
01 SYSTEM ENGINEERING
02 ALGO TRADING
03 FULL-STACK
04 AUTOMATION
05 AI SYSTEMS
> INITIALIZING QUANTUM SYSTEMS CORE...
0%
Theme:
Active Currency:
Home Articles & Case Studies Services Products
ZDM Z Download Manager (IDM alternative)
APP
ZDM Overview & Features Download for Windows & Linux Speed Benchmarks vs IDM IDM vs ZDM Comparison Matrix zAds YouTube Blocker (Download ZIP) User Guide & Documentation
Free Web Utility Tools
QuickInvoice Studio CleanReceipt Studio QuickSign & PDF Stamp SquashPix Compressor QuoteCraft Studio PaySlip Pro QRCraft Studio FeeCalc Pro GlassUI Studio MarkdownDocs SEO Audit Checker Keyword Research & Density Viral Hashtag Generator YouTube Tags Generator YouTube Title & Description
Resources Hub
Books & Guides Tools I Use Business Ideas
AI Prompts Vault
Tons of Prompts: AI Image Gen, Midjourney & Dev
Job Board & Marketplace New Contests & Competitions Win Cash
Community & About
Portfolio & Works Community Forum
Live Discussion Hub
Live
About M. Zahan Contact & Hire
Track Order
Sign In / Join Community
ZDM / Help & Docs / Settings & Customisation / AI assistants (MCP)

AI assistants (MCP)

Settings & Customisation Verified for ZDM v2.0 View source on GitHub

AI assistants (MCP)

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

  • "What is ZDM downloading right now, and how long is left?"
  • "Download https://example.com/big.iso to D:\ISOs tonight, don't start it yet."
  • "Pause everything that's downloading."
  • "Remove the finished downloads from the list but keep the files."

The assistant starts the server itself; you only tell the assistant where it is, once. The server passes each request to the app through its automation API, on this computer only.

What the assistant can do

Tool What it does
list_downloads Lists your downloads, newest first: file, address, folder, status, size, how much is done, speed. It can list only one status (Queued, Downloading, Stopped, Complete, Error) or only names and addresses that contain some text.
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 ZDM, for you to choose the files.
pause_downloads Pauses running downloads.
resume_downloads Starts or resumes stopped, queued or failed downloads.
remove_downloads Removes downloads from the list and keeps their files, or deletes the files too when asked. A running download must be paused first.
start_queue Starts the main download queue.

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

Set it up

1. Turn on the automation API

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

zdm-cli api on

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

2. Find the server

zdm-mcp is next to the app:

You installed The server
Windows, for you only (the installer's default) %LOCALAPPDATA%\Programs\Zahan Download Manager\zdm-mcp.exe
Windows, for everyone C:\Program Files\Zahan Download Manager\zdm-mcp.exe
Windows, a zip or portable copy zdm-mcp.exe in its folder
macOS /Applications/Zahan Download Manager.app/Contents/MacOS/zdm-mcp
Linux, the .deb or .rpm /usr/bin/zdm-mcp
Linux, the .tar.gz zdm-mcp in its folder (the AppImage doesn't expose it: use the .tar.gz)

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

3. Tell your assistant

Claude Desktop: Settings → Developer → Edit Config opens claude_desktop_config.json. Add the server, then restart Claude Desktop:

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

Claude Code:

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

Cursor: the same mcpServers entry as Claude Desktop's, in ~/.cursor/mcp.json (or add it in Cursor's MCP settings).

VS Code: in .vscode/mcp.json, or MCP: Add Server in the command palette:

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

Use the path from step 2 (in JSON, every \ is written \\). Other assistants take the same thing: a command to start, no arguments.

Privacy

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

When it doesn't work

The assistant says What to do
Zahan Download Manager isn't running Start ZDM. The server can't start it for you.
The automation API is off Run zdm-cli api on with ZDM running.
ZDM didn't answer in time A window in ZDM may be waiting for you (a question, Add torrent); answer it and ask again.
ZDM refused the request ZDM's channel file is from an earlier start; restart ZDM.
The tools don't show up at all Check the path in the assistant's settings, and restart the assistant. Started by hand, zdm-mcp --help says what it is.