# Asisten AI (MCP)

VDM comes with an [MCP](https://modelcontextprotocol.io) 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?"
- "Unduh https://example.com/big.iso ke D:\ISOs malam ini, jangan mulai dulu."
- "Jeda semua yang sedang diunduh."
- "Hapus unduhan yang sudah selesai dari daftar, tetapi simpan berkasnya."

Asisten memulai server itu sendiri. Anda hanya perlu memberi tahu asisten lokasi server sekali saja. Server meneruskan setiap permintaan ke aplikasi melalui [API otomatisasi](https://vdm.mikaillab.com/id/help/command-line.html#the-automation-api) milik VDM, hanya di komputer ini.

## Apa yang bisa dilakukan asisten

| Alat | Apa yang dilakukannya |
|---|---|
| `list_downloads` | Mencantumkan unduhan Anda, yang terbaru lebih dulu: file, alamat, folder, status, ukuran, berapa banyak yang sudah selesai, kecepatan. Dapat mencantumkan hanya satu ID, hanya satu status (Mengantre, Sedang diunduh, Dihentikan, Selesai, Galat), hanya nama dan alamat yang berisi teks tertentu, atau hanya satu kategori atau antrean; juga melaporkan ruang disk yang tersedia. |
| `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` | Menjeda unduhan yang sedang berjalan. |
| `resume_downloads` | Memulai atau melanjutkan unduhan yang dihentikan, dalam antrean, atau gagal. |
| `remove_downloads` | Menghapus unduhan dari daftar dan menyimpan berkasnya, atau menghapus berkasnya juga jika diminta. Unduhan yang sedang berjalan harus dijeda terlebih dahulu. |
| `start_queue` | Memulai antrean unduhan (antrean utama secara default, atau berdasarkan nama). |
| `stop_queue` | Menghentikan antrean unduhan (antrean utama secara default, atau berdasarkan nama). |

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

## Siapkan

### 1. Nyalakan API otomatisasi

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](https://vdm.mikaillab.com/id/help/command-line.html#the-apps-command-line).

### 2. Temukan server

`voltdownloadmanager-mcp`berada di sebelah aplikasi:

| Anda menginstal | Server |
|---|---|
| Windows, hanya untuk Anda (standar penginstal) | `%LOCALAPPDATA%\Programs\Volt Download Manager\voltdownloadmanager-mcp.exe` |
| Windows, untuk semua orang | `C:\Program Files\Volt Download Manager\voltdownloadmanager-mcp.exe` |
| Windows, zip atau [salinan portabel](https://vdm.mikaillab.com/id/help/portable.html) | `voltdownloadmanager-mcp.exe`di foldernya |
| macOS | `/Applications/Volt Download Manager.app/Contents/MacOS/voltdownloadmanager-mcp` |
| Linux, .deb atau .rpm | `/usr/bin/voltdownloadmanager-mcp` |
| Linux, file .tar.gz | `voltdownloadmanager-mcp`di foldernya (AppImage tidak menampilkannya: gunakan .tar.gz) |

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

### 3. Beri tahu asisten Anda

**Claude Desktop**: **Settings → Developer → Edit Config** membuka `claude_desktop_config.json`. Tambahkan server, lalu mulai ulang 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**: entri `mcpServers` yang sama dengan Claude Desktop, di `~/.cursor/mcp.json` (atau tambahkan di pengaturan MCP Cursor).

**VS Code**: di `.vscode/mcp.json`, atau **MCP: Tambahkan Server** di palet perintah:

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

Gunakan jalur dari langkah 2 (dalam JSON, setiap `\` ditulis `\\`). Asisten lain mengambil hal yang sama: perintah untuk memulai, tanpa argumen.

## Untuk alat AI yang membaca situs web

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](https://vdm.mikaillab.com/.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](https://vdm.mikaillab.com/agents.html). There is no MCP server on the website: the server always runs on your computer, next to the app.

## Privasi

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.

## Jika tidak berfungsi

| Asisten mengatakan | Apa yang harus dilakukan |
|---|---|
| Volt Download Manager isn't running | Start VDM. The server can't start it for you. |
| API otomatisasi mati | 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. |
| Alat tidak muncul sama sekali | Periksa jalur di pengaturan asisten, lalu mulai ulang asisten. Jika dijalankan secara manual, `voltdownloadmanager-mcp --help` akan menampilkan informasinya. |

## Terkait

- [Opsi](https://vdm.mikaillab.com/id/help/options.html)
- [Tema](https://vdm.mikaillab.com/id/help/themes.html)
- [Bahasa](https://vdm.mikaillab.com/id/help/languages.html)
- [Mode portabel](https://vdm.mikaillab.com/id/help/portable.html)
- [Pintasan keyboard](https://vdm.mikaillab.com/id/help/keyboard-shortcuts.html)

[Edit halaman ini di GitHub](https://github.com/mikailhossenimran/voltdownloadmanager/edit/main/docs/ai-assistants.md) [Laporkan masalah dengan halaman ini](https://github.com/mikailhossenimran/voltdownloadmanager/issues/new?template=website.yml&title=Website%3A%20AI%20assistants%20%28MCP%29&page=https%3A//vdm.mikaillab.com/help/ai-assistants.html) [Riwayat halaman](https://github.com/mikailhossenimran/voltdownloadmanager/commits/main/docs/ai-assistants.md)

Gratis, sumber terbuka, tanpa iklan, tanpa masa uji coba.

[Download Volt Download Manager](https://vdm.mikaillab.com/id/download.html)
