360 AI Cloud Drive MCP Server
Allows saving content in Markdown format directly to 360 AI Cloud Drive, supporting formatted text storage through the file-save tool.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@360 AI Cloud Drive MCP Server search for my quarterly report PDFs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
360 AI 云盘 MCP Server & CLI
360 AI 云盘的 MCP Server + CLI 工具,为 AI Agent 和开发者提供云盘文件管理能力。基于 TypeScript / Node.js 构建,包含两个产物:
360 AI 云盘 CLI — 面向终端用户和 AI Agent(通过 Shell)的命令行工具,命令名
360disk,结构化 JSON 输出。360 AI 云盘 MCP Server — 面向支持 Model Context Protocol (MCP) 的 AI Agent(如 Claude Desktop、Cursor)的服务端,支持 Stdio / Streamable HTTP / SSE 三种传输方式。
快速开始
npm install # 安装依赖
npm run build # 构建Related MCP server: Storacha MCP Storage Server
MCP Server
在 MCP Client 配置文件中添加(适用于 Cursor、Claude Desktop 等):
{
"mcpServers": {
"360-ai-cloud-disk-mcp": {
"command": "node",
"args": ["build/index.js", "--stdio"],
"env": {
"API_KEY": "yunpan_xxxxxxxxxx"
}
}
}
}其他传输方式:
node build/index.js --stdio # stdio 模式
node build/index.js --sse # SSE 模式
node build/index.js --http # Streamable HTTP 模式MCP 工具
工具 | 说明 |
| 获取目录文件列表 |
| 搜索文件 |
| 保存文件到云盘(URL / 文本内容) |
| 生成分享链接 |
| 移动文件或文件夹 |
| 重命名文件或文件夹 |
| 创建目录 |
| 获取下载链接 |
| 获取用户信息 |
| 上传本地文件(仅 Stdio 模式) |
| 下载云盘文件(仅 Stdio 模式) |
CLI
node build/cli.js --help
# 登录
node build/cli.js auth login --api-key yunpan_xxxxxxxxxx
# 常用操作
node build/cli.js dir ls / # 列出目录
node build/cli.js file search "报告" # 搜索文件
node build/cli.js file upload ./report.pdf --dest /文档/ # 上传文件
node build/cli.js file download <nid> --dir ./ # 下载文件
node build/cli.js file share /文档/报告.pdf # 分享文件CLI 命令
命令组 | 子命令 | 说明 |
|
| 鉴权管理 |
|
| 用户信息 |
|
| 目录操作 |
|
| 文件操作 |
|
| Shell 补全 |
CLI 特性
结构化输出:默认 JSON,支持
--format text和--quiet模式统一错误码:语义化错误码,进程退出码对应
管道集成:stdin 输入、批量操作,可与
jq等工具组合超时/重试:
--timeout和--retries全局选项Shell 补全:bash / zsh 自动补全
认证
使用前需要 360 AI 云盘 API 密钥(yunpan_ 开头)。
鉴权优先级:--api-key 参数 > API_KEY 环境变量 > ~/.360disk/config.json
环境变量
变量 | 说明 | 默认值 |
| 云盘 API 密钥 | — |
| 环境 |
|
| 子渠道 |
|
| 日志级别 |
|
许可证
Apache-2.0
Available Tools
11 toolsfile-download-stdioB
获取云盘中指定文件的下载链接并支持直接下载文件。可以指定下载目录,默认下载到用户主目录的 .mcp-downloads 文件夹中。
Inputs: nid (required), auto, downloadDir.
file-listA
获取云盘指定路径下的文件和文件夹列表,支持分页查询。返回文件名、大小、创建时间、修改时间等详细信息。
Inputs: page, page_size, path.
file-moveB
移动云盘中的文件或文件夹到指定位置。支持批量移动多个文件。
Inputs: src_name (required), new_name (required).
file-renameC
重命名云盘中的文件或文件夹。
Inputs: src_name (required), new_name (required).
file-saveC
通过URL或文本内容保存文件到云盘
Inputs: url, content, upload_path.
file-searchC
在云盘中根据关键词搜索文件和文件夹,支持按文件类型筛选和分页查询。返回符合条件的文件详细信息。
Inputs: file_category, key, page, page_size.
file-upload-stdioA
将本地文件上传到云盘指定路径。支持批量上传多个文件。
Inputs: filePaths (required), uploadPath.
get-download-urlC
获取云盘中文件的下载链接。可以通过文件NID或路径获取。
Inputs: nid, fpath.
make-dirC
在云盘中创建新文件夹,支持指定路径。
Inputs: fname (required).
user-infoB
获取360AI云盘用户详细信息。
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Most tools have distinct purposes focused on specific file operations (e.g., list, move, rename, search, share, upload, download, create folder), with clear boundaries. However, there is some overlap between 'file-download-stdio' and 'get-download-url', as both handle download links, which could cause minor confusion in selection.
The naming follows a consistent pattern of verb-noun with hyphens (e.g., file-list, file-move, file-rename), which is predictable and readable. The only deviation is 'user-info', which uses a noun-verb structure instead, but this is a minor inconsistency that doesn't significantly impact usability.
With 11 tools, the count is well-scoped for a cloud drive server, covering essential file management operations (CRUD, search, share, user info). Each tool serves a clear purpose, and there are no redundant or missing tools that would make the set feel too thin or bloated.
The tool set provides comprehensive coverage for cloud drive operations, including full CRUD (create via upload/save, read via list/search, update via move/rename, delete implied by move/overwrite), file sharing, downloading, and user management. There are no obvious gaps that would hinder an agent from performing typical file management tasks.
Maintenance
Related MCP Connectors
Securely search and manage workspace context files for AI agents and teams.
Swiss encrypted cloud drive for Claude, ChatGPT and AI agents: search, read and save files.
Search, organize and share the files in your S3-compatible buckets from your AI assistant.
Persistent file storage for AI agents via MCP and curl. Upload, download, and version files.
Related MCP Servers
- AlicenseDqualityDmaintenanceEnables AI models to perform file system operations (reading, creating, and listing files) on a local file system through a standardized Model Context Protocol interface.3ISC
- AlicenseNot gradedqualityDmaintenanceEnables AI applications to interact with decentralized storage through a standardized Model Context Protocol interface, allowing file uploads, retrievals, and identity management.13Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables comprehensive Google Drive operations including file management, content retrieval, permission handling, commenting, and collaboration through the Model Context Protocol.5MIT
- AlicenseAqualityDmaintenanceEnables AI agents to perform file operations and sharing management on NextCloud servers via the Model Context Protocol.145MIT