跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 pCloud,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
AnythingMCP 已收录在 Claude 的连接器目录中:一键添加到 Claude (在新标签页中打开),然后登录并选择 Claude 可以使用哪些 MCP 服务器。
摘要
让你的 AI 使用 pCloud 中的文件:浏览文件夹,读取文件详情、历史版本和小型文本文件,获取下载链接并列出公开链接,在你确认后还能新建文件夹、复制、移动、重命名,或通过公开链接分享。支持美国和欧盟账户。使用你自己的 pCloud 应用登录。
试试这样问
pCloud 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → pCloud、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
pCloud + Claude
让你的 AI 使用 pCloud 中的文件:浏览文件夹,读取文件详情、历史版本和小型文本文件,获取下载链接并列出公开链接,在你确认后还能新建文件夹、复制、移动、重命名,或通过公开链接分享。支持美国和欧盟账户。使用你自己的 pCloud 应用登录。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
PCLOUD_CLIENT_ID, PCLOUD_CLIENT_SECRET, PCLOUD_API_HOST
步骤 1 — 获取凭证
配置大约需要 5 分钟。你先在 pCloud 创建一个属于自己的小应用,然后用 pCloud 账户登录。
先确认数据所在区域。 pCloud 会把每个账户的数据存放在美国或欧洲(卢森堡),由注册时的选择决定,而 API 只在账户所在区域响应。如果你在 e.pcloud.com 登录网页版,账户在欧洲,请使用 eapi.pcloud.com;如果在 my.pcloud.com 登录,账户在美国,请使用 api.pcloud.com。主机填错时,登录会失败,或者每次调用都返回 "Invalid 'access_token' provided"。
- 登录 docs.pcloud.com,打开 My Apps,点击 Create new app。选择应用可以访问的范围:仅限它自己的应用文件夹,或整个网盘。如果 AI 需要处理你已有的文件,请选择整个网盘。
- 在应用设置中添加重定向 URI
https://cloud.anythingmcp.com/api/mcp-oauth/callback。如果你自行部署 AnythingMCP,请改为添加https://your-anythingmcp-host/api/mcp-oauth/callback。 - 把 Client ID 复制到
PCLOUD_CLIENT_ID,把 Client secret 复制到PCLOUD_CLIENT_SECRET,在PCLOUD_API_HOST中填写你所在区域的主机(eapi.pcloud.com或api.pcloud.com,不要带 https://),然后安装连接器。 - 在连接器页面点击 Authorize with Provider,登录 pCloud 并允许访问。pCloud 的令牌不会过期,无需续期。
- 先运行
pcloud_get_user_info:它会显示账户、套餐和已用空间。
可以读取的内容:从根目录开始的每个文件夹的内容;文件的详情,例如大小、类型、日期,照片和视频还包括宽度和高度;文件的历史版本;txt、csv、md、json、html 等小型文本文件的正文(约 100 KB 以内);任意文件或历史版本的临时下载链接,供你自己使用而非用于分享;以及你的公开链接和到目前为止的下载次数。
没有搜索功能:pCloud 的 API 不提供搜索。要找文件时,AI 会逐个浏览文件夹并比对名称,所以如果你知道大概位置,请告诉它。
修改前等你同意:新建文件夹、复制、移动和重命名文件及文件夹、创建公开链接,都会改变你的网盘,或让任何拿到链接的人都能访问文件。每次操作前,AI 都会明确告诉你会发生什么(来源、目标位置、新名称或链接设置),并等你确认。移动或复制到已有同名文件的位置会覆盖该文件,遇到这种情况 AI 会提醒你。公开链接可以设置到期日期、下载次数上限,高级套餐还可以设置密码。
只读设置:在连接器页面关闭 pcloud_create_folder、pcloud_copy_file、pcloud_copy_folder、pcloud_move_file、pcloud_move_folder、pcloud_create_file_public_link 和 pcloud_create_folder_public_link。
安装时默认关闭:pcloud_delete_file 和 pcloud_delete_folder。只有管理员有意开启后才能使用;删除的项目会进入 pCloud 回收站,而且 AI 只会在你确认后才删除。文件夹必须为空才能删除。
常见错误:"Log in required" 或 "Invalid 'access_token' provided" 表示授权已被撤销,或者 PCLOUD_API_HOST 指向了另一个区域;请改正主机并重新授权。"Access denied":仅限自身文件夹的应用试图访问其他文件。找不到文件或文件夹,说明 ID 或路径有误;名称区分大小写。超出配额:网盘已满。请求过多:请等一分钟。
该连接器不会上传或删除文件(删除默认关闭),不会清空回收站,不会与其他 pCloud 用户共享文件夹,不会创建上传链接或 zip 压缩包,不会播放视频或音频流,也无法打开 pCloud Crypto 文件夹,因为这些文件夹在你的设备上加密,API 无法读取。
步骤 2 — 安装 adapter
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。
- 输入名称(例如
pCloud)和远程 MCP 服务器 URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID,然后点击 Add。 - 点击 Connect,登录 AnythingMCP(OAuth)并允许访问。
下面所有工具都会出现在你的聊天中,开始输入提示。
可用工具
| Tool | What it does |
|---|---|
pcloud_get_user_info | Read the pCloud account: e-mail, whether it is verified, premium plan and its end date, storage quota and used space in bytes, language and… |
pcloud_list_folder | List the contents of a folder: name, file or folder id, whether it is a folder, size in bytes, content type and modification date of each… |
pcloud_stat | Read the details of one file: name, id, parent folder id, size in bytes, content type, created and modified dates, content hash and, for… |
pcloud_read_text_file | Read the text of a small text file (txt, csv, md, json, xml, html, source code) as UTF-8 |
pcloud_get_file_link | Get a temporary download address for a file |
pcloud_list_revisions | List the earlier revisions of a file: revision id, size in bytes, content hash and the date it was created |
pcloud_list_public_links | List your public links: link id, the link address, code, the file or folder it points to, created date, downloads and traffic so far, and… |
pcloud_create_folder | Create a folder: either path (e.g. /Projects/2026) or parent folder_id plus name |
pcloud_copy_file | Copy a file into a folder (to_folder_id or to_path), optionally under a new name |
pcloud_move_file | Move and/or rename a file: give a new to_name, a destination folder (to_folder_id or to_path ending in /), or both |
pcloud_move_folder | Move and/or rename a folder with everything in it: give a new to_name, a destination folder (to_folder_id or to_path ending in /), or both |
pcloud_copy_folder | Copy a folder with everything in it into another folder (to_folder_id or to_path) |
pcloud_create_file_public_link | Create a public link to a file: anyone with the address can download it |
pcloud_create_folder_public_link | Create a public link to a folder: anyone with the address can browse and download everything in it |
pcloud_delete_file | Delete a file (it goes to pCloud's trash) |
pcloud_delete_folder | Delete an empty folder (it goes to pCloud's trash); a folder with contents is refused |
示例提示
- “我的 pCloud 还剩多少空间?套餐付费到什么时候?”
- “我的 Projects 文件夹里有什么?最近修改的是哪些文件?”
- “给我看 notes.md 的历史版本,并给我上周那个版本的下载链接。”
- “新建文件夹 Clients/Acme,把 Downloads 里的 Acme 合同移进去。动手前先告诉我你要做什么。”
- “我创建过哪些公开链接?每个链接各被下载了多少次?”
FAQ
Claude Code 和 Claude Desktop 一样工作吗? 是的,两者都指向 https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。
下一步
这份指南对你有帮助吗?