Proton Drive MCP logo

Proton Drive MCP

Community
anyrxo

MCP server for Proton Drive - enables AI assistants to access your Proton Drive files

Publisheranyrxo
Repositoryproton-drive-mcp
LanguageJavaScript
Forks
3
Stars
17
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Proton Drive MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    17 stars and 3 forks from the linked repository.

Proton Drive MCP

A Model Context Protocol (MCP) server that enables AI assistants like Claude Desktop, Cursor, and other MCP-compatible clients to interact with your Proton Drive files.

✨ Features

  • 📁 List files and folders in your Proton Drive
  • 📄 Read file contents directly
  • ✏️ Create and write files to Proton Drive
  • 🗑️ Delete files and folders
  • 📂 Create new folders
  • 🔄 Cross-platform support (Windows, macOS, Linux)
  • 🔒 Secure - Works through local filesystem, no credentials needed
  • 🚀 Easy to install - Just npm install and configure

📋 Prerequisites

  • Node.js 16 or higher
  • Proton Drive desktop app installed and synced
  • Claude Desktop, Cursor, or any MCP-compatible client

🚀 Quick Start

1. Install from npm (Recommended)

bash
npm install -g proton-drive-mcp

2. Or install from source

bash
git clone https://github.com/anyrxo/proton-drive-mcp.git
cd proton-drive-mcp
npm install
npm run build

⚙️ Configuration

Finding your Proton Drive path

The MCP will try to auto-detect your Proton Drive location, but you can also set it manually:

  • macOS: ~/Library/CloudStorage/ProtonDrive-[email]-folder
  • Windows: C:\Users\[username]\Proton Drive
  • Linux: ~/ProtonDrive

Claude Desktop

Add to your Claude Desktop config:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

json
{
  "mcpServers": {
    "proton-drive": {
      "command": "node",
      "args": ["path/to/proton-drive-mcp/dist/index.js"]
    }
  }
}

Cursor

Add to your Cursor settings:

json
{
  "mcp.servers": {
    "proton-drive": {
      "command": "node",
      "args": ["path/to/proton-drive-mcp/dist/index.js"]
    }
  }
}

Custom Proton Drive Path

If your Proton Drive is in a non-standard location:

json
{
  "mcpServers": {
    "proton-drive": {
      "command": "node",
      "args": ["path/to/proton-drive-mcp/dist/index.js"],
      "env": {
        "PROTON_DRIVE_PATH": "/custom/path/to/ProtonDrive"
      }
    }
  }
}

🎯 Usage Examples

Once configured, you can ask your AI assistant:

  • "List all files in my Proton Drive"
  • "Create a new file called notes.txt with some content"
  • "Read the contents of Documents/report.pdf"
  • "Create a new folder called Projects"
  • "Delete the file old-notes.txt"

🛠️ Available Tools

The MCP provides these tools:

ToolDescription
check_mountVerify Proton Drive is accessible
list_filesList contents of a directory
read_fileRead file contents
write_fileCreate or overwrite files
delete_fileRemove files or folders
create_folderCreate new directories

🧪 Testing

Test if the MCP is working:

bash
# Check if Proton Drive is detected
npm run test:connection

# Run all tests
npm test

🔧 Troubleshooting

Proton Drive not found

  1. Make sure Proton Drive desktop app is running
  2. Check if your files are synced
  3. Set PROTON_DRIVE_PATH environment variable manually

Permission errors

  • Ensure the MCP has read/write access to your Proton Drive folder
  • On macOS, you may need to grant permissions in System Preferences

Tool not showing in Claude/Cursor

  1. Restart your AI client after configuration
  2. Check the logs for any error messages
  3. Verify the path to the MCP is correct

📝 Development

bash
# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build

# Run tests
npm test

🤝 Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

📄 License

MIT License - see LICENSE file

🔒 Security

  • All operations are performed locally on your filesystem
  • No data is sent to external servers
  • Proton's end-to-end encryption is preserved
  • Path validation prevents directory traversal attacks

🐛 Known Issues

  • Large files (>10MB) may take time to read
  • Binary files are not supported for reading (yet)
  • Some special characters in filenames may cause issues

📮 Support


Made with ❤️ for the Proton Drive community

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "anyrxo-proton-drive-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "proton-drive-mcp"
      ]
    }
  }
}

Use Proton Drive MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Proton Drive MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Proton Drive MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Proton Drive MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "anyrxo-proton-drive-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "proton-drive-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Proton Drive MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Proton Drive MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Proton Drive MCP to help me with this task?
Proton Drive MCP
Sure. I read it.
Here is what I found using Proton Drive MCP.

Frequently asked questions

What is the Proton Drive MCP MCP server used for?

Proton Drive MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Proton Drive MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Proton Drive MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Proton Drive MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Proton Drive MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Proton Drive MCP MCP to TypingMind?

Proton Drive MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Proton Drive MCP MCP provide in TypingMind?

Proton Drive MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Proton Drive MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Proton Drive MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇