# Assistenti 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?"
- "Scarica https://example.com/big.iso in D:\ISOs stanotte, ma non avviarlo ancora."
- "Metti in pausa tutti i download in corso."
- "Rimuovi i download completati dall'elenco ma conserva i file."

L'assistente avvia il server da solo; devi solo indicargli dove si trova, una volta sola. Il server inoltra ogni richiesta all'app tramite la sua [API di automazione](https://vdm.mikaillab.com/it/help/command-line.html#the-automation-api), solo su questo computer.

## Cosa può fare l'assistente

| Strumento | Cosa fa |
|---|---|
| `list_downloads` | Elenca i tuoi download, i più recenti per primi: file, indirizzo, cartella, stato, dimensione, percentuale completata, velocità. Può elencare un solo ID, un solo stato (In coda, Download in corso, Interrotto, Completato, Errore), solo nomi e indirizzi che contengono un certo testo, o solo una categoria o coda; segnala anche lo spazio disponibile sul disco. |
| `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` | Mette in pausa i download in corso. |
| `resume_downloads` | Avvia o riprende i download interrotti, in coda o non riusciti. |
| `remove_downloads` | Rimuove i download dall'elenco conservando i relativi file, oppure elimina anche i file se richiesto. Prima, un download in corso deve essere messo in pausa. |
| `start_queue` | Avvia una coda di download (la coda principale per impostazione predefinita, o per nome). |
| `stop_queue` | Interrompe una coda di download (la coda principale per impostazione predefinita, o per nome). |

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

## Configurazione

### 1. Attiva l'API di automazione

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/it/help/command-line.html#the-apps-command-line).

### 2. Trova il server

`voltdownloadmanager-mcp`si trova accanto all'app:

| Hai installato | Il server |
|---|---|
| Windows, solo per te (impostazione predefinita del programma di installazione) | `%LOCALAPPDATA%\Programs\Volt Download Manager\voltdownloadmanager-mcp.exe` |
| Windows, per tutti | `C:\Program Files\Volt Download Manager\voltdownloadmanager-mcp.exe` |
| Windows, uno zip o una [copia portatile](https://vdm.mikaillab.com/it/help/portable.html) | `voltdownloadmanager-mcp.exe`nella cartella dell'app |
| macOS | `/Applications/Volt Download Manager.app/Contents/MacOS/voltdownloadmanager-mcp` |
| Linux, il .deb o .rpm | `/usr/bin/voltdownloadmanager-mcp` |
| Linux, il .tar.gz | `voltdownloadmanager-mcp`nella sua cartella (l'AppImage non lo rende accessibile: usa il .tar.gz) |

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

### 3. Indica al tuo assistente

**Claude Desktop**: **Impostazioni → Sviluppatore → Modifica configurazione** apre `claude_desktop_config.json`. Aggiungi il server, poi riavvia 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**: la stessa voce `mcpServers` di Claude Desktop, in `~/.cursor/mcp.json` (o aggiungila nelle impostazioni MCP di Cursor).

**VS Code**: in `.vscode/mcp.json`, oppure **MCP: Aggiungi server** nel riquadro comandi:

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

Usa il percorso del passaggio 2 (in JSON, ogni `\` è scritto `\\`). Altri assistenti richiedono la stessa cosa: un comando per avviare, senza argomenti.

## Per gli strumenti AI che leggono il sito 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.

## Privacy

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.

## Quando non funziona

| L'assistente dice | Cosa fare |
|---|---|
| Volt Download Manager isn't running | Start VDM. The server can't start it for you. |
| L'API di automazione è disattivata | 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. |
| Gli strumenti non vengono visualizzati affatto | Controlla il percorso nelle impostazioni dell'assistente e riavvia l'assistente. Avviato manualmente, `voltdownloadmanager-mcp --help` dice cos'è. |

## Correlati

- [Opzioni](https://vdm.mikaillab.com/it/help/options.html)
- [Temi](https://vdm.mikaillab.com/it/help/themes.html)
- [Lingue](https://vdm.mikaillab.com/it/help/languages.html)
- [Modalità portatile](https://vdm.mikaillab.com/it/help/portable.html)
- [Scorciatoie da tastiera](https://vdm.mikaillab.com/it/help/keyboard-shortcuts.html)

[Modifica questa pagina su GitHub](https://github.com/mikailhossenimran/voltdownloadmanager/edit/main/docs/ai-assistants.md) [Segnala un problema con questa pagina](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) [Cronologia della pagina](https://github.com/mikailhossenimran/voltdownloadmanager/commits/main/docs/ai-assistants.md)

Gratuito, open source, senza pubblicità, senza periodo di prova.

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