# 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?"
- 「https://example.com/big.isoを今夜D:\ISOsにダウンロードしてください。まだ開始しないでください。」
- 「ダウンロード中のものをすべて一時停止してください。」
- 「完了したダウンロードをリストから削除しますが、ファイルは残してください。」

アシスタントはサーバー自体を起動します。あなたはアシスタントにその場所を一度だけ伝えます。サーバーは、このコンピューター上でのみ、[自動化API](https://vdm.mikaillab.com/ja/help/command-line.html#the-automation-api)を介して各リクエストをアプリに渡します。

## アシスタントができること

| ツール | 機能 |
|---|---|
| `list_downloads` | ダウンロードを新しい順に一覧表示します: ファイル、アドレス、フォルダー、ステータス、サイズ、完了率、速度。1 つの ID、1 つのステータス (キューに登録済み、ダウンロード中、停止済み、完了、エラー) のみ、特定のテキストを含む名前とアドレスのみ、または 1 つのカテゴリやキューのみを一覧表示できます。利用可能なディスク容量も報告します。 |
| `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` | 実行中のダウンロードを一時停止します。 |
| `resume_downloads` | 停止済み、キュー済み、または失敗したダウンロードを開始または再開します。 |
| `remove_downloads` | ダウンロードをリストから削除し、ファイルを保持します。要求された場合はファイルも削除します。実行中のダウンロードはまず一時停止する必要があります。 |
| `start_queue` | ダウンロード キューを開始します (既定ではメイン キュー、または名前で指定)。 |
| `stop_queue` | ダウンロード キューを停止します (既定ではメイン キュー、または名前で指定)。 |

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

## 設定

### 1. 自動化APIをオンにする

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

### 2. サーバーを見つける

`voltdownloadmanager-mcp`アプリの隣にあります。

| インストール方法 | サーバー |
|---|---|
| Windows、あなたのみ（インストーラーのデフォルト） | `%LOCALAPPDATA%\Programs\Volt Download Manager\voltdownloadmanager-mcp.exe` |
| Windows、全員向け | `C:\Program Files\Volt Download Manager\voltdownloadmanager-mcp.exe` |
| Windows、zipまたは[ポータブルコピー](https://vdm.mikaillab.com/ja/help/portable.html) | `voltdownloadmanager-mcp.exe`そのフォルダー内 |
| macOS | `/Applications/Volt Download Manager.app/Contents/MacOS/voltdownloadmanager-mcp` |
| Linux、.debまたは.rpm | `/usr/bin/voltdownloadmanager-mcp` |
| Linux、.tar.gz | `voltdownloadmanager-mcp`そのフォルダー内（AppImageは公開していません。.tar.gzを使用してください） |

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

### 3. アシスタントの設定

**Claude Desktop**: **設定 → 開発者 → 設定を編集** で `claude_desktop_config.json` が開きます。サーバーを追加してから 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**：Claude Desktopと同じ`mcpServers`エントリが`~/.cursor/mcp.json`にあります（またはCursorのMCP設定で追加します）。

**VS Code**: `.vscode/mcp.json`で設定するか、コマンドパレットで**MCP: サーバーを追加**を実行します。

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

ステップ2のパスを使用します（JSONでは、すべての`\`は`\\`と記述されます）。他のアシスタントも同じものを受け取ります。引数なしで開始するコマンドです。

## AI ツール向け (MCP)

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.

## プライバシー

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.

## 動作しない場合

| アシスタントの表示 | 対処法 |
|---|---|
| Volt Download Manager isn't running | Start VDM. The server can't start it for you. |
| 自動化APIがオフです | 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. |
| ツールがまったく表示されません | アシスタントの設定でパスを確認し、アシスタントを再起動してください。手動で起動すると、`voltdownloadmanager-mcp --help`が何であるかを表示します。 |

## 関連

- [オプション](https://vdm.mikaillab.com/ja/help/options.html)
- [テーマ](https://vdm.mikaillab.com/ja/help/themes.html)
- [言語](https://vdm.mikaillab.com/ja/help/languages.html)
- [ポータブルモード](https://vdm.mikaillab.com/ja/help/portable.html)
- [キーボード ショートカット](https://vdm.mikaillab.com/ja/help/keyboard-shortcuts.html)

[GitHubでこのページを編集](https://github.com/mikailhossenimran/voltdownloadmanager/edit/main/docs/ai-assistants.md) [このページの問題を報告する](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) [ページ履歴](https://github.com/mikailhossenimran/voltdownloadmanager/commits/main/docs/ai-assistants.md)

無料、オープンソース、広告なし、試用期間なし。

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