Repository navigation
protondrive 0.3.0
Added
- MCP server for AI assistants.
protondrive mcplets AI clients such as Claude Code, Claude Desktop or Cursor
use Proton Drive through the Model Context Protocol. It runs over stdin and stdout only and never listens on the
network. Its tools list folders, show details, read small text files, download and upload (only within the folder
given with--local-dir), create folders, move, rename and move items to the trash, with the same rules as the
commands: nothing is overwritten and nothing is deleted permanently.--read-only,--root <path>and
--no-contentlimit what it can see and do. Contents that a tool returns reach the AI client, and with a cloud
model its provider; see the README.
Changed
downloadcreates no local folders until it has listed everything. Before, the folders were created while
listing Proton Drive, so a listing that failed partway left empty folders behind.deletereports every missing path at once. Likemove, it lists all the paths that do not exist, then
Nothing deleted., instead of stopping at the first one.moveandrenamereport every missing source at once. Before, the first missing path stopped the command
with only that error; now all of them are listed, followed byNothing was moved., like the other problems that
are checked before anything moves. The rules themselves are unchanged: nothing is overwritten, and nothing moves
unless every item can.moveandrenameprint the sync notes after the moved items. The notes about synced folders now follow the
Moved ...lines instead of coming first.downloadno longer printsScanning <folder> .... The status line shows the listing while it runs.
Fixed
- "Needs attention" messages can no longer control your terminal. The summary printed when you open a terminal,
and thePROTONDRIVE-SYNC-NEEDS-ATTENTION.txtnotice in a synced folder, now show control characters as visible
escapes (such as\x1B), like the rest of protondrive's output. Before, an error message containing them was
printed as is. Found in the security review; not judged exploitable. uploadand sync no longer hang on a named pipe (FIFO), socket or device. .NET shows these as ordinary
files, so they were treated as files to upload, and reading a FIFO blocks forever:uploadwould hang, and
sync --watchwould stop syncing. Now the kernel is asked for the real file type.uploadskips them (and refuses
one given as the path to upload), the sync leaves them alone on both sides, and both check again just before
reading a file.deleteno longer counts an item as done when Proton Drive gives no answer for it. Such an item is now
reported as failed, and with--permanentit is not deleted from the trash.sync removeno longer fails for a folder that was never synced. Removing a folder before its first sync
stopped with "Could not find a part of the path" after it had already been removed from the settings.sync addchecks for overlapping folders again while saving. Twosync addcommands run at the same time could
both add folders that overlap. It also no longer treats a folder whose name starts with..(such as..data) as
outside its parent.
Full list of changes: v0.2.13...v0.3.0
Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.