home / mcp / proton drive mcp server
MCP server for Proton Drive - enables AI assistants to access your Proton Drive files
Configuration
View docs{
"mcpServers": {
"anyrxo-proton-drive-mcp": {
"command": "node",
"args": [
"path/to/proton-drive-mcp/dist/index.js"
],
"env": {
"PROTON_DRIVE_PATH": "\\/custom\\/path\\/to\\/ProtonDrive"
}
}
}
}You can run a lightweight MCP server on your machine to let AI assistants interact with Proton Drive files. This enables you to list, read, write, create folders, and delete items directly through your MCP client, all locally and securely.
Once you have the MCP server running, you connect it to Claude Desktop, Cursor, or any MCP-compatible client. You will be able to ask your AI assistant to perform common file operations on Proton Drive, such as listing files, reading file contents, creating or updating files, creating folders, and deleting items. The server operates locally, so your data stays on your device without sending information to external servers.
Prerequisites you need before installing:
Choose one installation path:
Install from npm (recommended)
npm install -g proton-drive-mcpInstall from source
git clone https://github.com/anyrxo/proton-drive-mcp.git
cd proton-drive-mcp
npm install
npm run buildProton Drive path auto-detection is supported, but you can also specify it manually for your environment.
Path examples by platform:
macOS: ~/Library/CloudStorage/ProtonDrive-[email]-folder
Windows: C:\Users\[username]\Proton Drive
Linux: ~/ProtonDrive
Claude Desktop and Cursor can run the MCP server as a local process. Use the following configurations in your client to start the MCP server.
{
"mcpServers": {
"proton-drive": {
"command": "node",
"args": ["path/to/proton-drive-mcp/dist/index.js"]
}
}
}Cursor configuration follows the same pattern, placed in your client settings.
If you keep Proton Drive in a non-standard location, provide the path via an environment variable in your MCP config.
{
"mcpServers": {
"proton-drive": {
"command": "node",
"args": ["path/to/proton-drive-mcp/dist/index.js"],
"env": {
"PROTON_DRIVE_PATH": "/custom/path/to/ProtonDrive"
}
}
}
}Verify the MCP server is working by running tests or performing a few simple tasks from your MCP client, such as listing files or reading a file.
All operations are performed locally on your filesystem. No data is sent to external servers. Path validation helps prevent directory traversal issues.
Development commands include installing dependencies, building, starting in development mode, and running tests.
npm install
npm run dev
npm run build
npm testVerify Proton Drive is accessible from the MCP server.
List contents of a directory on Proton Drive.
Read and return the contents of a file.
Create or overwrite a file with provided content.
Remove files or folders.
Create a new directory at a specified path.