Dropbox MCP Server
MCP (Model Context Protocol) server implementation for Dropbox API.
Tools
This server provides the following tools:
-
copy_file
- Copy a file from one location to another in Dropbox
- Inputs:
from_path
(string): Source file path in Dropbox
to_path
(string): Destination path in Dropbox
autorename
(optional boolean): Auto rename if conflict exists
allow_ownership_transfer
(optional boolean): Allow transfer of ownership
-
delete_file
- Permanently delete a file from Dropbox
- Inputs:
path
(string): Path of the file to delete
-
move_file
- Move a file to a new location in Dropbox
- Inputs:
from_path
(string): Current file path
to_path
(string): New file path
autorename
(optional boolean): Auto rename if conflict exists
allow_ownership_transfer
(optional boolean): Allow transfer of ownership
-
upload_file
- Upload a new file to Dropbox
- Inputs:
path
(string): Path where to save the file
file
(object): File content in base64 format
autorename
(optional boolean): Auto rename if conflict exists
mute
(optional boolean): Suppress user notifications
strict_conflict
(optional boolean): Strict conflict checking
-
create_folder
- Create a new empty folder in Dropbox
- Inputs:
path
(string): Path for the new folder
autorename
(optional boolean): Auto rename if conflict exists
-
delete_folder
- Delete a folder and all its contents
- Inputs:
path
(string): Path of the folder to delete
-
list_folder
- List contents of a folder
- Inputs:
path
(string): Folder path to list
recursive
(optional boolean): List contents recursively
limit
(optional number): Maximum number of results
-
move_folder
- Move a folder to a new location
- Inputs:
from_path
(string): Current folder path
to_path
(string): New folder path
autorename
(optional boolean): Auto rename if conflict exists
allow_ownership_transfer
(optional boolean): Allow transfer of ownership
-
search
- Search for files and folders
- Inputs:
query
(string): Search query
path
(optional string): Path to search in
max_results
(optional number): Maximum results to return
order_by
(optional string): Sort order
file_status
(optional string): Filter by file status
filename_only
(optional boolean): Search in filenames only
file_extensions
(optional string): Filter by file extensions
file_categories
(optional string): Filter by file categories
account_id
(optional string): Filter by account ID
-
get_file_link
- Get a temporary link to access a file
- Inputs:
path
(string): Path of the file
Environment Variables
The following environment variables are required:
DROPBOX_ACCESS_TOKEN
: OAuth2 access token for Dropbox API authentication
License
This project is licensed under the MIT License - see the LICENSE file for details.