Proton Drive CLI MCP server

Proton Drive CLI MCP server

proton-drive-cli-mcp•byborealstack

A stdio MCP server that lets agents manage Proton Drive through Proton's official CLI, keeping authentication and encrypted Drive behavior in Proton's tooling.

License: Not specified•Runtime: Awaiting documentation review•Category: file systems-docs

WHAT IT DOES

  • •Exposes Proton Drive as typed MCP tools for listing, uploading, downloading, sharing, trashing and inspecting Drive paths.
  • •Delegates login, session storage and encrypted Drive behavior to the official proton-drive CLI rather than implementing them itself.
  • •Requires confirmation for destructive or account-changing operations such as delete, empty trash, logout, sharing removal and invitation decisions.
  • •Supports long-running background jobs with status and cancel tools, and small UTF-8 text file reads and writes.

BEST FOR

  • •Agents that need to list, paginate and inspect files in a Proton Drive folder.
  • •Uploading local files to a Drive path and polling job status until completion.
  • •Reading and updating small text files stored in Proton Drive.

ABOUT PROTON-DRIVE-CLI-MCP

Proton Drive CLI MCP server is cataloged as an MCP server attributed to borealstack. A stdio MCP server that lets agents manage Proton Drive through Proton's official CLI, keeping authentication and encrypted Drive behavior in Proton's tooling. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Proton Drive CLI MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server store Proton credentials?

No; login and session storage stay inside Proton's official CLI, and the server does not request or store Proton credentials.

What happens with destructive operations like delete or empty trash?

They require confirm: true and are permanent, so trashing first is recommended unless deletion is explicitly requested.

上游原版 README

在 GitHub 查看同一版本原文

README.md · bbc3209e33aa · 采集于 2026-11-13 11:36:55 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Proton Drive CLI MCP

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.

npm version npm downloads MCP stdio Claude MCPB Codex plugin Node.js 22+ OpenSSF Scorecard

Install | First Run | Tools | Safety | Tool Reference | Latest Release


Why This Exists

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 getHow it works
Proton-supported Drive behaviorCalls the official Proton Drive CLI instead of reimplementing auth or encrypted Drive APIs.
Structured MCP toolsAgents can list, upload, download, share, trash, and inspect Drive paths through schemas.
Safer mutation flowDestructive or account-changing tools require confirm: true.
Low-friction setupRuns from npm with npx, and can install the official CLI into a managed user-local directory with SHA-512 verification.
Lower normal token useFolder 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.

Install

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 Shortcuts

ClientSetup
Claude Codeclaude mcp add --transport stdio proton-drive -- npx -y @borealstack/proton-drive-cli-mcp
Claude DesktopUse the JSON config above, or install the MCPB bundle.
CodexUse the plugin metadata in plugins/proton-drive-cli-mcp.
VS Codecode --add-mcp "{\"name\":\"proton-drive\",\"command\":\"npx\",\"args\":[\"-y\",\"@borealstack/proton-drive-cli-mcp\"]}"
npmnpx -y @borealstack/proton-drive-cli-mcp

First Run

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.

Requirements

  • Node.js 22+ for the published package.
  • Bun 1.3+ for repository development and Bun test coverage.
  • The official Proton Drive CLI, or network access to Proton's CLI download index for managed install.
  • Browser access for the official Proton login flow.

The CLI is resolved in this order:

  1. PROTON_DRIVE_CLI_PATH
  2. The managed user-local install path
  3. proton-drive or proton-drive.exe in the current directory or common download paths
  4. proton-drive on PATH
  5. Managed install from Proton's CLI download index

Useful environment switches:

VariableEffect
PROTON_DRIVE_CLI_PATHUse an explicit Proton Drive CLI binary.
PROTON_DRIVE_CLI_AUTO_INSTALL=0Disable managed CLI installation.
PROTON_DRIVE_CLI_INSTALL_DIROverride the managed install directory.
PROTON_DRIVE_CLI_MANAGE_PATH=0Skip managed PATH updates.
PROTON_DRIVE_AUTH_STATUS_CACHE_MSTune successful auth-status caching.
PROTON_DRIVE_VERSION_CACHE_MSTune CLI version caching.

What Agents Can Do

AreaTools
Setup and authproton_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 metadataproton_drive_cli_install, proton_drive_cli_version, proton_drive_cli_help
Filesproton_drive_list, proton_drive_info, proton_drive_create_folder, proton_drive_upload, proton_drive_download
Long-running workproton_drive_list_async, proton_drive_upload_async, proton_drive_download_async, proton_drive_job_status, proton_drive_job_cancel
Small text filesproton_drive_read_text, proton_drive_write_text
Mutationsproton_drive_rename, proton_drive_copy, proton_drive_move, proton_drive_trash, proton_drive_restore, proton_drive_delete, proton_drive_empty_trash
Sharingproton_drive_sharing_status, proton_drive_sharing_invite, proton_drive_sharing_remove, proton_drive_sharing_set_url, proton_drive_sharing_remove_url
Invitationsproton_drive_invitation_list, proton_drive_invitation_accept, proton_drive_invitation_reject

Full schemas and examples are in docs/TOOLS.md.

Common Agent Workflows

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.

Safety Model

This project is designed so the MCP layer can orchestrate Drive work without becoming a credential broker.

GuardrailBehavior
Credential handlingProton login and session storage stay inside the official CLI.
Destructive actionsDelete, empty trash, logout, sharing removal, and invitation decisions require confirm: true.
Public-link passwordsCustom passwords are not exposed through MCP arguments because CLI arguments can be visible to local process inspection.
Output sizeList tools are bounded; background JSON output is summarized with byte counts and truncation metadata.
Provenancenpm publishes with provenance; release assets include checksums and Sigstore-backed attestations.

[!IMPORTANT] proton_drive_delete and proton_drive_empty_trash are permanent operations. Prefer proton_drive_trash first unless the user explicitly asks to delete.

Release Channels

ChannelArtifact
npm@borealstack/proton-drive-cli-mcp
GitHub releaselatest release assets
MCP Registry manifestserver.json
Claude Desktopproton-drive-cli-mcp.mcpb
Codex pluginplugins/proton-drive-cli-mcp

Release assets include:

  • npm package tarball
  • MCPB bundle
  • SHA256SUMS
  • Sigstore JSON attestation bundle

Develop Locally

bun 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", "<path-to-repo>/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.

Project Map

PathPurpose
src/index.tsstdio MCP server entry point
src/server.tsMCP tool registration surface
src/cli.tsshared Proton Drive CLI behavior
src/installer.tsmanaged official CLI download and checksum verification
docs/TOOLS.mdtool inputs, outputs, and examples
server.jsonMCP Registry metadata
mcpb/manifest.jsonClaude MCPB metadata
plugins/proton-drive-cli-mcpCodex plugin package

References

Help Discovery

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.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Proton Drive CLI MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/proton-drive-cli-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related file systems-docs MCP Servers

Alternative and complementary servers in the same category

View all in file systems-docs →

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Repository stats unavailable
Files & Documentation
LoreKeeper MCP server
lorekeeper-rpg-lorekeeper-com•lore-keeper

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

Repository stats unavailable
Files & Documentation

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.

Repository stats unavailable
Files & Documentation