# Assistants IA (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?"
- « Téléchargez https://example.com/big.iso dans D:\ISOs ce soir, sans le démarrer pour le moment. »
- « Mettez en pause tous les téléchargements en cours. »
- « Supprimez de la liste les téléchargements terminés, mais conservez les fichiers. »

L'assistant démarre lui-même le serveur ; il vous suffit de lui indiquer où il se trouve, une seule fois. Le serveur transmet chaque requête à l'application via son [API d'automatisation](https://vdm.mikaillab.com/fr/help/command-line.html#the-automation-api), uniquement sur cet ordinateur.

## Ce que l'assistant peut faire

| Outil | Fonction |
|---|---|
| `list_downloads` | Liste vos téléchargements, du plus récent au plus ancien : fichier, adresse, dossier, état, taille, progression, vitesse. Elle peut lister un seul identifiant, un seul état (En file d’attente, Téléchargement, Arrêté, Terminé, Erreur), uniquement les noms et adresses contenant un certain texte, ou une seule catégorie ou file d’attente ; elle indique également l’espace disque disponible. |
| `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` | Met en pause les téléchargements en cours. |
| `resume_downloads` | Démarre ou reprend les téléchargements arrêtés, en attente ou en échec. |
| `remove_downloads` | Supprime les téléchargements de la liste tout en conservant leurs fichiers, ou supprime aussi les fichiers si vous le demandez. Un téléchargement en cours doit d’abord être mis en pause. |
| `start_queue` | Démarre une file d’attente de téléchargement (la file d’attente principale par défaut, ou par nom). |
| `stop_queue` | Arrête une file d’attente de téléchargement (la file d’attente principale par défaut, ou par nom). |

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

## Configurer

### 1. Activer l’API d’automatisation

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

### 2. Rechercher le serveur

`voltdownloadmanager-mcp`se trouve dans le même dossier que l’application :

| Vous avez installé | Le serveur |
|---|---|
| Windows, pour vous seulement (par défaut de l'installateur) | `%LOCALAPPDATA%\Programs\Volt Download Manager\voltdownloadmanager-mcp.exe` |
| Windows, pour tous les utilisateurs | `C:\Program Files\Volt Download Manager\voltdownloadmanager-mcp.exe` |
| Windows, fichier zip ou [version portable](https://vdm.mikaillab.com/fr/help/portable.html) | `voltdownloadmanager-mcp.exe`dans son dossier |
| macOS | `/Applications/Volt Download Manager.app/Contents/MacOS/voltdownloadmanager-mcp` |
| Linux, le .deb ou .rpm | `/usr/bin/voltdownloadmanager-mcp` |
| Linux, le fichier .tar.gz | `voltdownloadmanager-mcp`dans son dossier (l’AppImage ne permet pas de le voir : utilisez le fichier .tar.gz) |

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

### 3. Indiquez à votre assistant

**Claude Desktop** : **Paramètres → Développeur → Modifier la configuration** ouvre `claude_desktop_config.json`. Ajoutez le serveur, puis redémarrez 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 même entrée `mcpServers` que celle de Claude Desktop, dans `~/.cursor/mcp.json` (ou ajoutez-la dans les paramètres MCP de Cursor).

**VS Code** : dans `.vscode/mcp.json`, ou **MCP : Ajouter un serveur** dans la palette de commandes :

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

Utilisez le chemin de l’étape 2 (en JSON, chaque `\` s’écrit `\\`). Pour les autres assistants, procédez de la même façon : indiquez une commande à lancer, sans arguments.

## Pour les outils d’IA qui lisent le site 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.

## Confidentialité

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.

## En cas de problème

| L'assistant dit | Que faire |
|---|---|
| Volt Download Manager isn't running | Start VDM. The server can't start it for you. |
| L'API d'automatisation est désactivée | 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. |
| Les outils ne s'affichent pas du tout | Vérifiez le chemin dans les paramètres de l'assistant, et redémarrez l'assistant. Démarré manuellement, `voltdownloadmanager-mcp --help` indique ce qu'il est. |

## Rubriques connexes

- [Options](https://vdm.mikaillab.com/fr/help/options.html)
- [Thèmes](https://vdm.mikaillab.com/fr/help/themes.html)
- [Langues](https://vdm.mikaillab.com/fr/help/languages.html)
- [Mode portable](https://vdm.mikaillab.com/fr/help/portable.html)
- [Raccourcis clavier](https://vdm.mikaillab.com/fr/help/keyboard-shortcuts.html)

[Modifier cette page sur GitHub](https://github.com/mikailhossenimran/voltdownloadmanager/edit/main/docs/ai-assistants.md) [Signaler un problème avec cette page](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) [Historique de la page](https://github.com/mikailhossenimran/voltdownloadmanager/commits/main/docs/ai-assistants.md)

Gratuit, open source, sans publicité ni période d’essai.

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