GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Manage Proton Drive from MCP clients through Proton's official CLI without exposing credentials.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"proton-drive-cli": {
"command": "npx",
"args": [
"-y",
"@borealstack/proton-drive-cli-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add proton-drive-cli -- npx -y @borealstack/proton-drive-cli-mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"proton-drive-cli": {
"command": "npx",
"args": [
"-y",
"@borealstack/proton-drive-cli-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"proton-drive-cli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@borealstack/proton-drive-cli-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 borealstack 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.2)于5个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Proton Drive CLI MCP
Manage Proton Drive from Claude, Codex, VS Code/Copilot, and any MCP client through Proton's official CLI. Authentication and encrypted Drive behavior stay with Proton's tooling.
Install | First Run | Tools | Safety | Tool Reference | Latest Release
AI agents can already run shell commands, but Drive operations should not depend on prompt-crafted command lines. This server exposes Proton Drive as typed MCP tools while delegating the sensitive parts to Proton's official proton-drive CLI.
| What you get | How it works |
|---|---|
| Proton-supported Drive behavior | Calls the official Proton Drive CLI instead of reimplementing auth or encrypted Drive APIs. |
| Structured MCP tools | Agents can list, upload, download, share, trash, and inspect Drive paths through schemas. |
| Safer mutation flow | Destructive or account-changing tools require confirm: true. |
| Low-friction setup | Runs from npm with npx, and can install the official CLI into a managed user-local directory with SHA-512 verification. |
| Lower normal token use | Folder lists and background job status responses are bounded by default; full files still use upload/download or text helpers. |
[!NOTE]
This project is an independent interoperability wrapper. It is not affiliated
with Proton AG.
Add the server to an MCP client as a local stdio server:
{
"mcpServers": { "proton-drive": { "command": "npx", "args": ["-y", "@borealstack/proton-drive-cli-mcp"], "env": {} } } }
The command is a stdio server. If you run it directly in a terminal, no prompt or banner is expected; it waits for MCP JSON-RPC messages on stdin.
| Client | Setup |
|---|---|
| Claude Code | claude mcp add --transport stdio proton-drive -- npx -y @borealstack/proton-drive-cli-mcp |
| Claude Desktop | Use the JSON config above, or install the MCPB bundle. |
| Codex | Use the plugin metadata in plugins/proton-drive-cli-mcp. |
| VS Code | code --add-mcp "{\"name\":\"proton-drive\",\"command\":\"npx\",\"args\":[\"-y\",\"@borealstack/proton-drive-cli-mcp\"]}" |
| npm | npx -y @borealstack/proton-drive-cli-mcp |
Start with diagnosis. The server will report whether the official CLI is found, whether the managed install path exists, which version is available, and whether the CLI can access /my-files.
Call proton_drive_diagnose
If the CLI is missing, run setup:
Call proton_drive_setup with installIfMissing=true
If authentication is missing, start the browser login flow:
Call proton_drive_auth_login
Finish Proton sign-in in the browser Call proton_drive_diagnose again
[!TIP]
The server does not request or store Proton credentials. Login, session
storage, and encrypted Drive behavior remain delegated to Proton's official
CLI.
The CLI is resolved in this order:
PROTON_DRIVE_CLI_PATHproton-drive or proton-drive.exe in the current directory or common download pathsproton-drive on PATHUseful environment switches:
| Variable | Effect |
|---|---|
PROTON_DRIVE_CLI_PATH | Use an explicit Proton Drive CLI binary. |
PROTON_DRIVE_CLI_AUTO_INSTALL=0 | Disable managed CLI installation. |
PROTON_DRIVE_CLI_INSTALL_DIR | Override the managed install directory. |
PROTON_DRIVE_CLI_MANAGE_PATH=0 | Skip managed PATH updates. |
PROTON_DRIVE_AUTH_STATUS_CACHE_MS | Tune successful auth-status caching. |
PROTON_DRIVE_VERSION_CACHE_MS | Tune CLI version caching. |
| Area | Tools |
|---|---|
| Setup and auth | proton_drive_diagnose, proton_drive_setup, proton_drive_auth_status, proton_drive_auth_login, proton_drive_auth_login_status, proton_drive_auth_login_cancel, proton_drive_auth_logout |
| CLI metadata | proton_drive_cli_install, proton_drive_cli_version, proton_drive_cli_help |
| Files | proton_drive_list, proton_drive_info, proton_drive_create_folder, proton_drive_upload, proton_drive_download |
| Long-running work | proton_drive_list_async, proton_drive_upload_async, proton_drive_download_async, proton_drive_job_status, proton_drive_job_cancel |
| Small text files | proton_drive_read_text, proton_drive_write_text |
| Mutations | proton_drive_rename, proton_drive_copy, proton_drive_move, proton_drive_trash, proton_drive_restore, proton_drive_delete, proton_drive_empty_trash |
| Sharing | proton_drive_sharing_status, proton_drive_sharing_invite, proton_drive_sharing_remove, proton_drive_sharing_set_url, proton_drive_sharing_remove_url |
| Invitations | proton_drive_invitation_list, proton_drive_invitation_accept, proton_drive_invitation_reject |
Full schemas and examples are in docs/TOOLS.md.
List the top 20 items in /my-files/Reports.
Uses proton_drive_list with bounded output and pagination metadata.
Upload these local files to /my-files/Reports, then poll until done.
Uses proton_drive_upload_async followed by proton_drive_job_status.
Read /my-files/Notes/todo.txt, update the text, and write it back.
Uses proton_drive_read_text and proton_drive_write_text for small UTF-8 files. Full binary or large-file work should use proton_drive_download and proton_drive_upload.
This project is designed so the MCP layer can orchestrate Drive work without becoming a credential broker.
| Guardrail | Behavior |
|---|---|
| Credential handling | Proton login and session storage stay inside the official CLI. |
| Destructive actions | Delete, empty trash, logout, sharing removal, and invitation decisions require confirm: true. |
| Public-link passwords | Custom passwords are not exposed through MCP arguments because CLI arguments can be visible to local process inspection. |
| Output size | List tools are bounded; background JSON output is summarized with byte counts and truncation metadata. |
| Provenance | npm publishes with provenance; release assets include checksums and Sigstore-backed attestations. |
[!IMPORTANT]
proton_drive_deleteandproton_drive_empty_trashare permanent operations.
Prefer
proton_drive_trashfirst unless the user explicitly asks to delete.
| Channel | Artifact |
|---|---|
| npm | @borealstack/proton-drive-cli-mcp |
| GitHub release | latest release assets |
| MCP Registry manifest | server.json |
| Claude Desktop | proton-drive-cli-mcp.mcpb |
| Codex plugin | plugins/proton-drive-cli-mcp |
Release assets include:
SHA256SUMSbun install
bun run typecheck bun test bun run build npm test
Run the development server through Bun:
{
"mcpServers": { "proton-drive-dev": { "command": "bun", "args": ["run", " /src/index.ts"], "env": {} } } }
Run real-account smoke checks only when you intentionally want to touch a logged-in Proton Drive account. Keep generated smoke artifacts local and out of git.
| Path | Purpose |
|---|---|
| src/index.ts | stdio MCP server entry point |
| src/server.ts | MCP tool registration surface |
| src/cli.ts | shared Proton Drive CLI behavior |
| src/installer.ts | managed official CLI download and checksum verification |
| docs/TOOLS.md | tool inputs, outputs, and examples |
| server.json | MCP Registry metadata |
| mcpb/manifest.json | Claude MCPB metadata |
| plugins/proton-drive-cli-mcp | Codex plugin package |
If this project helps you connect Proton Drive to an MCP client, star the repository so other users can find the maintained official-CLI wrapper: borealstack/proton-drive-cli-mcp.