MCP server and Claude-powered CLI for Mega.nz, Box, and OneDrive — one tool to manage all your cloud storage
Project description
cloud-storage-mcp
One MCP server and Claude-powered CLI to manage Mega.nz, Box, and OneDrive — all from a single install.
Install
pip install cloud-storage-mcp
Supported Providers
| Provider | Status |
|---|---|
| Mega.nz | ✅ Full support |
| Box | ✅ Full support |
| OneDrive | ✅ Full support |
Setup
Credentials are stored locally at ~/.config/cloud-storage-mcp/config (mode 600) and are never included in the package.
On first use, you'll be prompted for each provider's credentials. Or set env vars:
# Mega.nz
export MEGA_EMAIL=your@email.com
export MEGA_PASSWORD=yourpassword
# Box — create app at https://developer.box.com
export BOX_CLIENT_ID=...
export BOX_CLIENT_SECRET=...
export BOX_ACCESS_TOKEN=...
# OneDrive — register app at https://portal.azure.com
export ONEDRIVE_CLIENT_ID=...
export ONEDRIVE_CLIENT_SECRET=...
export ONEDRIVE_TENANT_ID=common # or your Azure tenant ID
# Claude API (CLI only)
export ANTHROPIC_API_KEY=sk-ant-...
Usage
CLI
cloud-storage
# or pre-select a provider
cloud-storage --provider mega
Example prompts:
show storage usage on boxlist all files on onedrivesearch for invoices on megaupload /home/user/report.pdf to boxcreate a folder called Backups on onedrivedownload photo.jpg from mega to /tmp
MCP Server
cloud-storage-mcp
Add to Claude Code (~/.claude/settings.json):
{
"mcpServers": {
"cloud-storage": {
"command": "cloud-storage-mcp",
"env": {
"MEGA_EMAIL": "your@email.com",
"MEGA_PASSWORD": "yourpassword",
"BOX_CLIENT_ID": "...",
"BOX_CLIENT_SECRET": "...",
"BOX_ACCESS_TOKEN": "...",
"ONEDRIVE_CLIENT_ID": "...",
"ONEDRIVE_CLIENT_SECRET": "..."
}
}
}
}
Available MCP Tools
| Tool | Description |
|---|---|
storage_info |
Get storage usage and quota |
storage_list |
List files and folders |
storage_search |
Search by name |
storage_upload |
Upload a local file |
storage_download |
Download a file |
storage_create_folder |
Create a folder |
storage_delete |
Delete a file or folder |
All tools take a provider parameter: "mega", "box", or "onedrive".
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cloud_storage_mcp-0.1.0.tar.gz.
File metadata
- Download URL: cloud_storage_mcp-0.1.0.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f00f561ec665725580189d92438e5dc324294c0b55d81f146d0f4733b488bc1c
|
|
| MD5 |
920999b4e9147b201abc2cd4bff7b389
|
|
| BLAKE2b-256 |
25d072d82fdfc1013f825f8f7e447f2d9fd769d7f506705ff965169191a64dc1
|
File details
Details for the file cloud_storage_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cloud_storage_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fd95390dcd6014edbf34feab9ad4131b0229590e984eeefb21d246eb3a16440
|
|
| MD5 |
9bd1df20170d28ecccb020d73067fa4c
|
|
| BLAKE2b-256 |
bf5bc44e7865ff3e4c40be9828245e21a0e91dde68a3fcf85c2e58d1854137e0
|