WireCat ydisk

dev.wirecat由 wirecat.dev 发布v0.4.0更新于 Nov 21, 2026

通过 MCP 为代理提供 ydisk。请先用 ydisk CLI 设置配置文件。

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

ydisk for agents over MCP. Set up a profile with the ydisk CLI first.

发布方自己的服务:Wire Cash: bank wire fees and transfer costs

已验证STDIO仅桌面文件与存储知识与记忆

概览

WireCat ydisk 的本地 MCP 服务,由 wirecat.dev 发布;无需登录;STDIO。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

发布者
wirecat.dev

安装

在 SourceWeft 中

  1. 打开 控制台中的 WireCat ydisk,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[Yandex Disk for your AI agents: search the folders you choose, and work with the files live]

ydisk: Yandex Disk CLI for AI agents

Your Yandex Disk from the terminal, for you and for Claude Code, Codex, Cursor or any AI agent. Search the text of the folders you choose on your computer, and work with the files live.

Docs · Install · Usage

[npm] [CI] [npm downloads] [License: Apache 2.0]

  • Your documents, searchable on your computer. Choose the Disk folders that matter. Their text is copied into WireCat's local store, and one search finds it by words and word forms, and by meaning once indexed.
  • The whole Disk, live. List, read, download, upload, copy, move, delete to the trash, restore and share files without opening a browser.
  • Safe to give to an agent. Deleting and public links ask first at a terminal, and one setting turns either off for an agent.

What you get

  • Find a document by what is in it. "Where is the lease for the flat?" finds the PDF by its text, not by its file name.
  • Read a file without saving it. An agent reads the text of a PDF, docx, xlsx, CSV or Markdown file on the Disk and answers from it.
  • Keep the Disk tidy. Move, copy, rename into a folder, and delete to the trash, where files restore brings a file back.
  • Share on request. A public link for a file or folder, and close it again when you are done.
  • A folder on your computer that stays in step with the Disk. Edit files with your own tools; a mirror sends your changes up and brings the Disk's down. Mirror one folder or the whole Disk, and leave out the folders you choose. A deleted file goes to a trash, never away, and many deletions at once wait for your approval.
  • The Disk as a folder in your file manager, read-only. ydisk personal files serve shows a Disk folder next to your own, on Linux, macOS and Windows, with nothing to install. Open and read any file there; nothing can delete or change the Disk through it (mount).
  • See the whole picture. The copies sit next to your messages, mail, notes and meetings from the other WireCat tools, so one search covers all of them.
You:    Find the lease for the flat and send Bob a link to it.
Agent:  (runs ydisk personal search "lease flat")
        /Documents/Flat/lease-2026.pdf, signed by Alice Example on 12.03.
        A public link lets anyone who has it open the file. Make one?
You:    Yes.
Agent:  (runs ydisk personal files publish /Documents/Flat/lease-2026.pdf --yes)
        Here is the link. Say "close it" when Bob has the file.

Invented people, illustrative output.

Why ydisk

  • No WireCat server. ydisk talks to Yandex Disk's API from your computer. There is no account with us, and the copies of your folders stay in a local store on your computer.
  • The official Disk API, with your own token. ydisk uses Yandex's Disk REST API with an OAuth token from an app you register. The token stays in your system keyring and only goes to Yandex's API.
  • Search that understands the text. Text is read from PDF, docx, xlsx, CSV, TSV, plain text and Markdown files. Search finds other forms of a word, and matches by meaning once the text is indexed.
  • Safe to give to an agent. You decide what an agent may do: read only, or no deleting and no public links. The agent's instructions say that text from files is data, never an instruction to follow.
  • Ready for any agent. A skill for agents with a terminal, an MCP server for Claude Desktop and Cursor, and a secure link for ChatGPT and Claude in the browser.
  • Free and open source. Apache 2.0, on macOS, Linux and Windows. It works with a free Yandex account.

How it compares with rclone, Yandex's own apps and the Yandex Disk MCP servers: compared with other tools.

Quick start

npm install -g @wirecat/yandex-disk-cli
ydisk doctor                              # what is set up, with no network

You need Node.js 22.16 or a later 22.x, or 24 or later. Try it without installing: npx @wirecat/yandex-disk-cli --help.

Sign in once with a Yandex OAuth token. The token is kept in the system keyring, or in a private file only you can read where no keyring works. It is never in an argument or the output.

  1. Register an app at oauth.yandex.ru/client/new ("For API access or debugging"), with the Yandex Disk access cloud_api:disk.read, cloud_api:disk.write and cloud_api:disk.info (only disk.read and disk.info for a read-only token). Copy its ClientID.
  2. Open https://oauth.yandex.ru/authorize?response_type=token&client_id= with your app's ClientID added at the end, allow access and copy the token. Every step, with Yandex's own labels: get a Yandex token.
  3. Sign in under a profile name you choose, then copy a folder and search it:
ydisk personal session start          # paste the token when asked, or pipe it on stdin
ydisk personal session status --check
ydisk personal folders add /Documents
ydisk personal sync
ydisk personal search "quarterly budget"

personal is a name you choose for this account. You can add work or any other later. No profile is ever assumed. Yandex says a token lasts several months and is extended while it is used (Yandex ID). When Yandex stops accepting it, sign in again.

More: installation

Use it with your agent

Ask in plain words. The agent picks the commands.

"Use ydisk. Find the contract with the printing house and tell me the payment terms." "Use ydisk. What did I upload to /Photos/Trips this month?" "Use ydisk. Move last year's invoices to /Archive."

  • Claude Code, Codex, Gemini CLI and other agents with a terminal run ydisk themselves. ydisk skill install teaches them how.
  • Claude Desktop, Cursor and other MCP apps connect to ydisk personal mcp serve.
  • ChatGPT or Claude in the browser reach it through your own tunnel, after a login with a one-time code.
ydisk skill install                                # Claude Code, Codex, Gemini CLI and OpenClaw
ydisk personal mcp add claude-code --allow-writes  # or: codex
ydisk personal mcp config                          # the entry for Claude Desktop, Cursor and others

More: connect your agent · recipes

What it can do

Search the folders you choose

ydisk personal folders browse                     # the Disk's folders, one level at a time
ydisk personal folders add /Documents
ydisk personal sync                               # read what changed since the last sync
ydisk personal search "quarterly budget" --json
ydisk personal documents list

To read one document in full, pass an id from documents list or search to ydisk personal documents show. Tags, notes and memories stay attached to a document, and documents export writes it to a Markdown file.

Choose folders rather than the whole Disk: each sync lists every one of their subfolders.

Work with the files live

ydisk personal files list --folder /Documents
ydisk personal files download /Documents/notes.md                  # its text
ydisk personal files download /Documents/plan.pdf --output ./plan.pdf
ydisk personal files upload ./notes.md --folder /Documents
ydisk personal files move /Documents/old.pdf --folder /Archive
ydisk personal files delete /Documents/old.pdf       # to the Disk's trash, files restore brings it back
ydisk personal files publish /Documents/plan.pdf     # a public link: anyone with it can open the file
ydisk personal files unpublish /Documents/plan.pdf

files show, files copy and files create (a new folder) are commands too.

Keep a local folder in step

ydisk personal mirrors add /Notes ~/notes
ydisk personal mirrors preview                        # what a sync would copy, and nothing else
ydisk personal mirrors sync                           # both ways; a file changed on both sides is reported
ydisk personal mirrors watch                          # keep syncing until Ctrl-C

More: mirrors

Open the Disk as a read-only folder

ydisk personal files serve /Documents                 # prints the address and how to mount it; Ctrl-C ends it

More: mount

The whole Disk API

ydisk personal api list lists the 20 operations of the Disk API, each as its own command, such as the trash, the public links and the Disk's own operations that run in the background. ydisk personal api show resources-list shows an operation's parameters without calling Yandex.

More: commands

With your other sources

ydisk keeps what it reads in the same local store as the other WireCat tools, such as Telegram, WhatsApp, mail, Google Drive and Notion. memo context shows one person across all of them.

More: WireCat

How it works

  • A local copy of the folders you choose. Yandex Disk has no change feed, so each sync lists the chosen folders again and reads only the files that changed since the last one (by MD5). A stop loses nothing: the next sync goes on from where it stopped.
  • Stable ids. A file moved inside the chosen folders keeps its id (Yandex's resource_id), its tags and its notes. A file deleted on the Disk leaves the copy at the end of the pass.
  • Renamed folders. A chosen folder renamed or moved on the Disk is unavailable, and its copies leave the store, until you add it again under its new path.
  • Files go straight to Yandex. Downloads and uploads go to the address Yandex gives, without the token.
  • Made for scripts. --json gives the same shape for every command, and each kind of failure has its own exit code.

Settings and permissions

Each profile has its own settings. files.delete (a delete, and an upload, copy or move with --replace) and files.share (a public link) ask first at a terminal. Over MCP there is no one to ask, so turn them off for an agent that should not do them:

ydisk personal config set permissions.files.delete deny
ydisk personal mcp serve --permission files.share=deny   # stricter for this server only

YDISK_READ_ONLY=1 refuses every change.

More: settings

Security

The token is in the system keyring, and no command takes it as an argument. It goes only to Yandex's API, never into a link, the output or a log. Over MCP an agent reads a file's text but cannot save a file to a path, and an upload refuses credential files and the WireCat folders unless you allow it.

More: security · Report a vulnerability: SECURITY.md

When something goes wrong

ydisk doctor                            # what is set up, without connecting
ydisk personal doctor --online          # check that the token works

More: troubleshooting · Bugs go to this repository's issues.

Documentation

Every page is in docs/.

Development

pnpm install && pnpm test

More: design · testing · pnpm docs:images renders the banner from docs/images/src/banner.html.

Pull requests, bug reports and ideas go to issues.

Part of WireCat

ydisk is one of the WireCat tools: open-source, local-first command-line tools that give AI agents your context from messengers, mail, calendars and documents. Each one works on its own.

License

Apache 2.0

来源:README.md,提交 cb7a627

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:服务器未能启动。

版本历史

3
  1. v0.4.0最新Nov 21, 2026
  2. v0.3.0Nov 19, 2026
  3. v0.2.0Nov 19, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Wire 集成