インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Yandex Disk をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
AnythingMCP は Claude のコネクタディレクトリに掲載されています。ワンクリックで Claude に追加 (新しいタブで開きます)し、サインインして Claude が使える MCP サーバーを選んでください。
概要
AI から Yandex Disk を操作できます。フォルダーの閲覧、全ファイルや最近のアップロードの一覧、ファイル詳細の確認、ダウンロードリンクの取得、フォルダーの作成、ファイルのコピー、移動、公開と公開停止、URL からのファイル保存、ゴミ箱からの復元ができます。Yandex アカウントでサインインして使います。
こう聞いてみよう
Yandex Disk のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Yandex Disk をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
Yandex Disk + Claude
AI から Yandex Disk を操作できます。フォルダーの閲覧、全ファイルや最近のアップロードの一覧、ファイル詳細の確認、ダウンロードリンクの取得、フォルダーの作成、ファイルのコピー、移動、公開と公開停止、URL からのファイル保存、ゴミ箱からの復元ができます。Yandex アカウントでサインインして使います。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
YANDEX_DISK_CLIENT_ID, YANDEX_DISK_CLIENT_SECRET
ステップ 1 — 認証情報を取得
設定は 5 分ほどで終わります。AI に扱わせる Disk の Yandex アカウントと、そのアカウントで Yandex OAuth に登録したアプリが必要です。
- その Yandex アカウントでサインインし、oauth.yandex.ru/client/new(または oauth.yandex.com)を開いてアプリを作成します。
- プラットフォームは Web services を選びます。Redirect URI には
https://cloud.anythingmcp.com/api/mcp-oauth/callbackを入力します。AnythingMCP をセルフホストしている場合は、代わりにhttps://your-anythingmcp-host/api/mcp-oauth/callbackを入力します。 - データアクセスで、Yandex Disk REST API の権限
cloud_api:disk.read(Disk 全体の読み取り)、cloud_api:disk.write(Disk 全体への書き込み)、cloud_api:disk.info(Disk の情報)を追加します。cloud_api:disk.app_folderだけを選ぶと、アプリが専用フォルダーしか扱えなくなるので避けてください。 - アプリを作成し、ClientID を
YANDEX_DISK_CLIENT_IDに、Client secret をYANDEX_DISK_CLIENT_SECRETにコピーして、コネクタをインストールします。 - コネクタのページで Authorize with Provider をクリックし、Yandex アカウントを選んでアクセスを許可します。
- まず
yandex_disk_get_disk_infoを実行します。どの Disk にサインインしているか、使用容量、ゴミ箱のサイズが表示されます。
権限と読み取り専用の設定: Yandex は、手順 3 でアプリに付けた権限をそのまま付与します。読み取り専用にするなら、アプリを cloud_api:disk.read と cloud_api:disk.info だけで登録し、yandex_disk_create_folder、yandex_disk_copy、yandex_disk_move、yandex_disk_publish、yandex_disk_unpublish、yandex_disk_upload_from_url、yandex_disk_restore_from_trash をオフにしてください。
サインイン: Yandex のトークンは約 1 年有効で、リフレッシュトークンも発行されます。AnythingMCP はこれを使ってトークンを更新し、どちらも暗号化して保存します。id.yandex.ru/security でアプリを取り消したり権限を変えたりした場合は、もう一度 Authorize with Provider をクリックしてください。
パス: ファイルとフォルダーは disk:/folder/file.txt の形で指定し、ルートは disk:/、ゴミ箱の項目は trash:/... です。フォルダー名やファイル名を言うだけで構いません。AI は拡張子を含む正確な名前を使います。
変更はあなたの承認後: フォルダーの作成、コピー、移動や名前の変更、公開と公開停止、URL からのファイル保存、ゴミ箱からの復元は Disk を変更します。AI は何が起きるかを説明してあなたの確認を待ち、既存ファイルの上書きもあなたが同意した場合だけ行います。yandex_disk_publish はリンクを知っている誰もがファイルやフォルダーを開けるようにします。yandex_disk_unpublish はリンクを無効にし、再度公開すると新しいリンクが作られます。
インストール時はオフ: yandex_disk_delete。管理者が有効にすると、項目をゴミ箱へ移動し、yandex_disk_restore_from_trash で戻せます。完全に削除するのは、あなたがはっきり指示した場合だけです。
検索機能なし: Yandex Disk の API には名前や内容による検索がありません。ファイルを探すとき、AI は yandex_disk_list_folder でフォルダーを一覧したり、yandex_disk_list_files で全ファイルを(画像や文書だけなどに絞って)順に見て名前を比べたり、yandex_disk_list_last_uploaded で最近のアップロードを確認したりします。
ファイルの中身: このコネクタはファイルの中身を読み込んだりアップロードしたりしません。yandex_disk_get_download_link は開いて使える一時的なリンクを返し(フォルダーは zip でダウンロード)、yandex_disk_upload_from_url はすでにインターネット上にあるファイルを保存します。yandex_disk_get_public_resource は、自分のものでも他人のものでも、Yandex Disk の公開リンクを読み取れます。
バックグラウンド処理: 大きなフォルダーのコピー、移動、復元、削除と、URL からのアップロードはすべて Yandex 側でバックグラウンド実行されます。AI は処理が終わるまで yandex_disk_get_operation_status で進行状況を確認します。
よくあるエラー: 401 UnauthorizedError は、サインインがない、取り消された、または期限切れであることを示します。もう一度認可してください。403: アプリに手順 3 の権限がない(例: 変更に必要な cloud_api:disk.write)、Disk が容量を超えている、または読み取り専用モードです。404: パスが存在しません。綴り、拡張子、disk:/ の接頭辞を確認してください。409: 移動先がすでに存在するか、その親フォルダーがありません。423: 他の処理で項目がロックされているか、アップロードが一時停止中です。後で再試行してください。507: Disk の空き容量が足りません。429: リクエストが多すぎます。少し待って再試行してください。
このコネクタは、ファイルの中身の読み込みやアップロード、カスタムプロパティの編集、ゴミ箱を空にすること、特定の人とのフォルダー共有、Yandex 360 の管理設定の変更は行いません。
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — Claude にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
推奨ルート:設定ファイルを触らずに claude.ai web で動作します。
- Claude で Customize → Connectors を開きます。
- + をクリックし、Add custom connector を選びます。
- 名前(例:
Yandex Disk)とリモート MCP サーバー URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを入力し、Add をクリックします。 - Connect をクリックし、AnythingMCP にサインイン(OAuth)してアクセスを許可します。
下記のすべてのツールがチャットに表示されます。プロンプトを入力し始めてください。
利用可能なツール
| Tool | What it does |
|---|---|
yandex_disk_get_disk_info | Get the Disk's totals: total_space, used_space and trash_size in bytes, the owner (login, display_name), whether the account is paid, the… |
yandex_disk_list_folder | List what is inside one folder of the Disk (files and subfolders), one page at a time |
yandex_disk_get_resource | Get the details of one file or folder by its path (disk:/folder/file): name, type, size, mime_type, media_type, md5 and sha256, created and… |
yandex_disk_list_files | List every file on the Disk as one flat list, across all folders (folders themselves are not listed), optionally only certain kinds such as… |
yandex_disk_list_last_uploaded | List the files uploaded most recently, newest first, optionally only certain kinds such as images |
yandex_disk_get_download_link | Get a temporary download URL for a file or folder (a folder downloads as a zip archive) |
yandex_disk_list_public | List the files and folders the user has published (shared by public link) |
yandex_disk_get_public_resource | Read the details of a public Yandex Disk link, the user's own or anyone's: name, type, size, owner and, for a folder, its contents… |
yandex_disk_create_folder | Create a folder |
yandex_disk_copy | Copy a file or folder to a new path |
yandex_disk_move | Move or rename a file or folder |
yandex_disk_publish | Publish a file or folder: anyone with the link can then open and download it |
yandex_disk_unpublish | Stop sharing a published file or folder: its public link stops working (publishing again creates a new link) |
yandex_disk_upload_from_url | Save a file from a public internet URL onto the Disk |
yandex_disk_get_operation_status | Check a background operation started by upload from URL, copy, move, restore or delete: status is in-progress, success or failed |
yandex_disk_list_trash | List what is in the Trash |
yandex_disk_restore_from_trash | Restore an entry from the Trash to where it was deleted from (origin_path), optionally under a new name |
yandex_disk_delete | Delete a file or folder |
プロンプトの例
- 「Yandex Disk の空き容量はあとどれくらい?ゴミ箱のサイズは?」
- 「先週アップロードした写真はどれ?それぞれどのフォルダーにある?」
- 「Disk に Clients/Acme フォルダーを作って、Downloads にある Acme の契約書 PDF をそこへ移動して。」
- 「Presentations/Pitch.pdf の公開リンクを作って教えて。そのあと、ほかに公開しているものを一覧にして。」
FAQ
Claude Code は Claude Desktop と同じように動作しますか? はい。両方を https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID に向けてください。
次のステップ
このガイドは役に立ちましたか?