Dropbox Automation via Rube MCP
Automate Dropbox operations including file upload/download, search, folder management, sharing links, batch operations, and metadata retrieval through Composio's Dropbox toolkit.
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active Dropbox connection via
RUBE_MANAGE_CONNECTIONS with toolkit dropbox
- Always call
RUBE_SEARCH_TOOLS first to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLS responds
- Call
RUBE_MANAGE_CONNECTIONS with toolkit dropbox
- If connection is not ACTIVE, follow the returned auth link to complete Dropbox OAuth
- Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. Search for Files and Folders
When to use: User wants to find files or folders by name, content, or type
Tool sequence:
DROPBOX_SEARCH_FILE_OR_FOLDER - Search by query string with optional path scope and filters [Required]
DROPBOX_SEARCH_CONTINUE - Paginate through additional results using cursor [Required if has_more]
DROPBOX_GET_METADATA - Validate and get canonical path for a search result [Optional]
DROPBOX_READ_FILE - Read file content to verify it is the intended document [Optional]
Key parameters:
query: Search string (case-insensitive, 1+ non-whitespace characters)
options.path: Scope search to a folder (e.g., "/Documents"); empty string for root
options.file_categories: Filter by type ("image", "document", "pdf", "folder", etc.)
options.file_extensions: Filter by extension (e.g., ["jpg", "png"])
options.filename_only: Set true to match filenames only (not content)
options.max_results: Results per page (default 100, max 1000)
Pitfalls:
- Search returns
has_more: true with a cursor when more results exist; MUST continue to avoid silently missing matches
- Maximum 10,000 matches total across all pages of search + search_continue
DROPBOX_GET_METADATA returned path_display may differ in casing from user input; always use the returned canonical path
- File content from
DROPBOX_READ_FILE may be returned as base64-encoded file_content_bytes; decode before parsing
2. Upload and Download Files
When to use: User wants to upload files to Dropbox or download files from it
Tool sequence:
DROPBOX_UPLOAD_FILE - Upload a file to a specified path [Required for upload]
DROPBOX_READ_FILE - Download/read a file from Dropbox [Required for download]
DROPBOX_DOWNLOAD_ZIP - Download an entire folder as a zip file [Optional]
DROPBOX_SAVE_URL - Save a file from a public URL directly to Dropbox [Optional]
DROPBOX_GET_SHARED_LINK_FILE - Download a file from a shared link URL [Optional]
DROPBOX_EXPORT_FILE - Export non-downloadable files like Dropbox Paper to markdown/HTML [Optional]
Key parameters:
path: Dropbox path (must start with /, e.g., "/Documents/report.pdf")
mode: "add" (default, fail on conflict) or "overwrite" for uploads
autorename: true to auto-rename on conflict instead of failing
content: FileUploadable object with s3key, mimetype, and name for uploads
url: Public URL for DROPBOX_SAVE_URL
export_format: "markdown", "html", or "plain_text" for Paper docs
Pitfalls:
DROPBOX_SAVE_URL is asynchronous and may take up to 15 minutes for large files
DROPBOX_DOWNLOAD_ZIP folder must be under 20 GB with no single file over 4 GB and fewer than 10,000 entries
DROPBOX_READ_FILE content may be base64-encoded; check response format
- Shared link downloads via
DROPBOX_GET_SHARED_LINK_FILE may require link_password for protected links
3. Share Files and Manage Links
When to use: User wants to create sharing links or manage existing shared links
Tool sequence:
DROPBOX_GET_METADATA - Confirm file/folder exists and get canonical path [Prerequisite]
DROPBOX_LIST_SHARED_LINKS - Check for existing shared links to avoid duplicates [Prerequisite]
DROPBOX_CREATE_SHARED_LINK - Create a new shared link [Required]
DROPBOX_GET_SHARED_LINK_METADATA - Resolve a shared link URL to metadata [Optional]
DROPBOX_LIST_SHARED_FOLDERS - List all shared folders the user has access to [Optional]
Key parameters:
path: File or folder path for link creation
settings.audience: "public", "team", or "no_one"
settings.access: "viewer" or "editor"
settings.expires: ISO 8601 expiration date (e.g., "2026-12-31T23:59:59Z")
settings.require_password / settings.link_password: Password protection
settings.allow_download: Boolean for download permission
direct_only: For LIST_SHARED_LINKS, set true to only return direct links (not parent folder links)
Pitfalls:
1---2name: dropbox-automation3description: Automate Dropbox file management, sharing, search, uploads, downloads, and folder operations via Rube MCP (Composio). Always search tools first for current schemas.4---567# Dropbox Automation via Rube MCP89Automate Dropbox operations including file upload/download, search, folder management, sharing links, batch operations, and metadata retrieval through Composio's Dropbox toolkit.1011## Prerequisites1213- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)14- Active Dropbox connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `dropbox`15- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas1617## Setup1819**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.20211. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds222. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `dropbox`233. If connection is not ACTIVE, follow the returned auth link to complete Dropbox OAuth244. Confirm connection status shows ACTIVE before running any workflows2526## Core Workflows2728### 1. Search for Files and Folders2930**When to use**: User wants to find files or folders by name, content, or type3132**Tool sequence**:331. `DROPBOX_SEARCH_FILE_OR_FOLDER` - Search by query string with optional path scope and filters [Required]342. `DROPBOX_SEARCH_CONTINUE` - Paginate through additional results using cursor [Required if has_more]353. `DROPBOX_GET_METADATA` - Validate and get canonical path for a search result [Optional]364. `DROPBOX_READ_FILE` - Read file content to verify it is the intended document [Optional]3738**Key parameters**:39- `query`: Search string (case-insensitive, 1+ non-whitespace characters)40- `options.path`: Scope search to a folder (e.g., `"/Documents"`); empty string for root41- `options.file_categories`: Filter by type (`"image"`, `"document"`, `"pdf"`, `"folder"`, etc.)42- `options.file_extensions`: Filter by extension (e.g., `["jpg", "png"]`)43- `options.filename_only`: Set `true` to match filenames only (not content)44- `options.max_results`: Results per page (default 100, max 1000)4546**Pitfalls**:47- Search returns `has_more: true` with a `cursor` when more results exist; MUST continue to avoid silently missing matches48- Maximum 10,000 matches total across all pages of search + search_continue49- `DROPBOX_GET_METADATA` returned `path_display` may differ in casing from user input; always use the returned canonical path50- File content from `DROPBOX_READ_FILE` may be returned as base64-encoded `file_content_bytes`; decode before parsing5152### 2. Upload and Download Files5354**When to use**: User wants to upload files to Dropbox or download files from it5556**Tool sequence**:571. `DROPBOX_UPLOAD_FILE` - Upload a file to a specified path [Required for upload]582. `DROPBOX_READ_FILE` - Download/read a file from Dropbox [Required for download]593. `DROPBOX_DOWNLOAD_ZIP` - Download an entire folder as a zip file [Optional]604. `DROPBOX_SAVE_URL` - Save a file from a public URL directly to Dropbox [Optional]615. `DROPBOX_GET_SHARED_LINK_FILE` - Download a file from a shared link URL [Optional]626. `DROPBOX_EXPORT_FILE` - Export non-downloadable files like Dropbox Paper to markdown/HTML [Optional]6364**Key parameters**:65- `path`: Dropbox path (must start with `/`, e.g., `"/Documents/report.pdf"`)66- `mode`: `"add"` (default, fail on conflict) or `"overwrite"` for uploads67- `autorename`: `true` to auto-rename on conflict instead of failing68- `content`: FileUploadable object with `s3key`, `mimetype`, and `name` for uploads69- `url`: Public URL for `DROPBOX_SAVE_URL`70- `export_format`: `"markdown"`, `"html"`, or `"plain_text"` for Paper docs7172**Pitfalls**:73- `DROPBOX_SAVE_URL` is asynchronous and may take up to 15 minutes for large files74- `DROPBOX_DOWNLOAD_ZIP` folder must be under 20 GB with no single file over 4 GB and fewer than 10,000 entries75- `DROPBOX_READ_FILE` content may be base64-encoded; check response format76- Shared link downloads via `DROPBOX_GET_SHARED_LINK_FILE` may require `link_password` for protected links7778### 3. Share Files and Manage Links7980**When to use**: User wants to create sharing links or manage existing shared links8182**Tool sequence**:831. `DROPBOX_GET_METADATA` - Confirm file/folder exists and get canonical path [Prerequisite]842. `DROPBOX_LIST_SHARED_LINKS` - Check for existing shared links to avoid duplicates [Prerequisite]853. `DROPBOX_CREATE_SHARED_LINK` - Create a new shared link [Required]864. `DROPBOX_GET_SHARED_LINK_METADATA` - Resolve a shared link URL to metadata [Optional]875. `DROPBOX_LIST_SHARED_FOLDERS` - List all shared folders the user has access to [Optional]8889**Key parameters**:90- `path`: File or folder path for link creation91- `settings.audience`: `"public"`, `"team"`, or `"no_one"`92- `settings.access`: `"viewer"` or `"editor"`93- `settings.expires`: ISO 8601 expiration date (e.g., `"2026-12-31T23:59:59Z"`)94- `settings.require_password` / `settings.link_password`: Password protection95- `settings.allow_download`: Boolean for download permission96- `direct_only`: For `LIST_SHARED_LINKS`, set `true` to only return direct links (not parent folder links)9798**Pitfalls**:99- `DR