myskygoogle25 downloadsBrowse and manage your 115 cloud drive, and expose safe 115 tools to your agent over a local MCP endpoint.
115 Cloud browses and manages your 115 cloud drive from inside Obsidian, and exposes a set of policy-guarded 115 tools to your agent (Copilot / OpenCode / Claude, …) over a token-protected local MCP endpoint.
Plugin ID:
cloud-netdisk· Desktop only (needs Node.js and a local 115 MCP helper for the backup feature).
English | 中文说明
127.0.0.1 and exposes 115 read/write capabilities as structured tools that an agent can call. Every request must carry the x-115-token header._去重待删_YYYYMMDD/ quarantine folder, and are only cleared after a human confirms;Settings → Community plugins → Browse → search for 115 Cloud.
main.js, manifest.json and styles.css from this repository's Releases;<vault>/.obsidian/plugins/cloud-netdisk/;Settings → 115 Cloud → "扫码登录" (QR login), then scan the code with the 115 mobile app. The cookie is stored in the plugin's data.json.
Click the cloud icon in the left ribbon, or run "打开 115 网盘侧栏" from the command palette.
The settings tab has a "复制 MCP 配置" (copy MCP config) button that copies:
{
"mcpServers": {
"cloud-netdisk": {
"url": "http://127.0.0.1:7300/mcp",
"headers": { "x-115-token": "<token from the plugin settings>" }
}
}
}
Paste it into your agent's MCP configuration. The token is persisted, so it survives an Obsidian restart.
There is also a "复制 agent 使用指引" (copy agent guide) button containing the tool list, the red lines and the recommended workflow, ready to paste into a conversation.
Tick "允许写工具" (allow write tools). Even then, every operation is subject to the policy above: rate limiting, quarantine for deletions, a stop after 3 consecutive writes, and the cross-process lock.
Read-only (always available)
| Tool | Description |
|---|---|
list_dir({cid}) |
List a folder; the root folder has cid 0 |
stat({cid_or_fid}) |
Metadata for one file or folder (size, sha1, mtime) |
search({query, page}) |
Search by name |
quota() |
Storage usage (total / used / free) |
health() |
115 session health check |
Write (must be enabled in the settings)
| Tool | Description |
|---|---|
mkdir({pid, name}) |
Create a folder |
rename({fid, new_name}) |
Rename (the extension must be kept) |
move({fid, to_pid}) |
Move an item |
quarantine({fid, name, size}) |
Preferred way to delete: move into the quarantine folder |
delete_small_garbage({fid, name, size}) |
Only small whitelisted junk files |
confirm_writes() |
Human confirmation after 3 consecutive writes |
preflight() |
Always called first (session / rate-limit state / quota / checklist freshness) |
127.0.0.1, and every request needs the x-115-token header.data.json only; it is never sent anywhere except to 115 itself.data/ subfolder of the plugin folder.115-MCP-Server Python helper (scripts/vault_backup_115.py), which does the 7-Zip compression and the chunked upload to 115;115-MCP-Server state directory;npm install
npm run dev # watch build
npm run build # type check + production build (output: dist/main.js)
npm run typecheck # type check only
npm run lint # eslint, including the official obsidianmd rules
npm test # vitest
Deploy to a local vault on Windows:
powershell -ExecutionPolicy Bypass -File scripts/deploy.ps1
version in manifest.json and add the matching entry to versions.json;0.2.3, no v prefix);main.js, manifest.json and styles.css to the Release;MIT, see LICENSE.
在 Obsidian 里浏览和管理你的 115 网盘,并把一组带安全策略的 115 工具通过本地 MCP 端点暴露给你的 Agent(Copilot / OpenCode / Claude 等)。
插件 ID:
cloud-netdisk| 仅桌面端(需要 Node.js / 本地 HTTP 监听)
127.0.0.1 上开一个带令牌校验的 MCP 端点,把 115 的读/写能力暴露成结构化工具给 Agent 调用。_去重待删_YYYYMMDD/ 隔离目录,人工确认后再清空;115 Cloud。main.js、manifest.json、styles.css,放入 <库>/.obsidian/plugins/cloud-netdisk/,重启 Obsidian 后在第三方插件里启用。data.json 中。url 为 http://127.0.0.1:7300/mcp,headers 带 x-115-token),粘到 Agent 客户端的 MCP 配置里即可。令牌持久化保存,重启 Obsidian 不变。同页的「复制 agent 使用指引」包含工具清单、红线和推荐流程。只读(随时可用):list_dir({cid})、stat({cid_or_fid})、search({query, page})、quota()、health()。
写(需在设置里放开):mkdir({pid, name})、rename({fid, new_name})、move({fid, to_pid})、quarantine({fid, name, size})、delete_small_garbage({fid, name, size})、confirm_writes()、preflight()。
127.0.0.1 上监听,访问需要 x-115-token 头。data.json,不会上传到任何第三方。data/ 子目录。npm install
npm run build # 类型检查 + 生产构建(产物在 dist/main.js)
npm run typecheck
npm test
部署到本地库(Windows):powershell -ExecutionPolicy Bypass -File scripts/deploy.ps1。
发布:改 manifest.json 的 version 并同步 versions.json → 打与版本号完全一致的 tag(不带 v)→ 推 tag,GitHub Actions 自动构建并挂 Release → 到 community.obsidian.md 提交仓库。