MCP server for Proton Drive via the official Proton Drive CLI.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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:
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.
If the CLI is missing, run setup:
If authentication is missing, start the browser login flow:
[!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.
Uses proton_drive_list with bounded output and pagination metadata.
Uses proton_drive_upload_async followed by proton_drive_job_status.
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. Preferproton_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:
SHA256SUMSRun the development server through Bun:
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.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/proton-drive-cli-mcp)<a href="https://allmcps.com/mcp/proton-drive-cli-mcp"><img src="https://allmcps.com/api/badge/proton-drive-cli-mcp?style=directory" alt="Proton Drive CLI MCP on AllMCPs" /></a>